Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Vim script Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
$DragonFly: src/nrelease/README.pkgsrc,v 1.2 2008/07/27 23:48:40 swildner Exp $ Generating bootstrap and nrelease packages This README file describes how to create the bootstrap package kit and binary packages needed by the nrelease build. Creating the kit requires a test box or virtual kernel whos pkgsrc infrastructure (/usr/pkg and /var/db/pkg) have been completely wiped, because the bootstrap won't build otherwise. I'm sure there's a way to do it with environment variables too but I don't now how. Wiping the installed packages means removing /usr/pkg and /var/db/pkg. It is also a good idea to clean out cached binary packages in /usr/pkgsrc/packages/ rm -rf /usr/obj/bootstrap-kit-20080211 ./bootstrap --workdir /usr/obj/bootstrap-kit-20080211 \ --binary-kit /usr/pkgsrc/packages/All/bootstrap-kit-20080211.tar (rehash if running on csh) cd /usr/pkgsrc/sysutils/cdrtools-ossdvd bmake package cd /usr/pkgsrc/packages/All gzip -9 < bootstrap-kit-20080211.tar > bootstrap-kit-20080211.tgz The binary packages needed for the build will then be in /usr/pkgsrc/packages. The packages are then placed in a location that the nrelease build can fetch them from, you can use the PKGSRC_BOOTSTRAP_URL make variable to specify the URL.