Adjust nrelease to a new package set.
[dragonfly.git] / nrelease / README.pkgsrc
CommitLineData
356095db
MD
1$DragonFly: src/nrelease/README.pkgsrc,v 1.1 2008/02/12 02:06:12 dillon Exp $
2
3 Generating bootstrap and nrelease packages
4
5 This README file describes how to create the bootstrap package kit and
6 binary packages needed by the nrelease build.
7
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.
12
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/
16
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
20
21 (rehash if running on csh)
22
23 cd /usr/pkgsrc/sysutils/dfuibe_installer
24 bmake clean-depends
25 cd /usr/pkgsrc/devel/gettext-lib
26 bmake package
27 cd /usr/pkgsrc/devel/gettext-tools/
28 bmake package
29 cd /usr/pkgsrc/devel/libaura/
30 bmake package
31 cd /usr/pkgsrc/devel/libdfui/
32 bmake package
33 cd /usr/pkgsrc/devel/libinstaller/
34 bmake package
35 cd /usr/pkgsrc/sysutils/dfuibe_installer
36 bmake package
37 cd /usr/pkgsrc/sysutils/cdrtools-ossdvd
38 bmake package
39
40 cd /usr/pkgsrc/packages/All
41 gzip -9 < bootstrap-kit-20080211.tar > bootstrap-kit-20080211.tgz
42
43 The binary packages needed for the build will then be in
44 /usr/pkgsrc/packages.
45
46 The packages are then placed in a location that the nrelease build
47 can fetch them from, you can use the PKGSRC_BOOTSTRAP_URL make variable
48 to specify the URL.
49