Drop old linker trickery to strip local symbols.
[dragonfly.git] / nrelease / README.pkgsrc
blob7692a1593a273cd963679a764f807e1ee099fb25
1 $DragonFly: src/nrelease/README.pkgsrc,v 1.2 2008/07/27 23:48:40 swildner Exp $
3                     Generating bootstrap and nrelease packages
5     This README file describes how to create the bootstrap package kit and
6     binary packages needed by the nrelease build.
8     Creating the kit requires a test box or virtual kernel whos pkgsrc
9     infrastructure (/usr/pkg and /var/db/pkg) have been completely wiped,
10     because the bootstrap won't build otherwise.  I'm sure there's a way
11     to do it with environment variables too but I don't now how.
13     Wiping the installed packages means removing /usr/pkg and /var/db/pkg.
14     It is also a good idea to clean out cached binary packages in
15     /usr/pkgsrc/packages/
17     rm -rf /usr/obj/bootstrap-kit-20080211
18     ./bootstrap --workdir /usr/obj/bootstrap-kit-20080211 \
19                 --binary-kit /usr/pkgsrc/packages/All/bootstrap-kit-20080211.tar
21     (rehash if running on csh)
23     cd /usr/pkgsrc/sysutils/cdrtools-ossdvd
24     bmake package
26     cd /usr/pkgsrc/packages/All
27     gzip -9 < bootstrap-kit-20080211.tar > bootstrap-kit-20080211.tgz
29     The binary packages needed for the build will then be in
30     /usr/pkgsrc/packages.
32     The packages are then placed in a location that the nrelease build
33     can fetch them from, you can use the PKGSRC_BOOTSTRAP_URL make variable
34     to specify the URL.