WORKPLAN revision 1.1 1 1.1 jwise Work Plan: NetBSD System Packages
2 1.1 jwise =================================
3 1.1 jwise
4 1.1 jwise This document is intended as a work plan for modification of the NetBSD
5 1.1 jwise install process to use `system packages' and `package sets' to install
6 1.1 jwise the base system instead of the current set tarballs.
7 1.1 jwise
8 1.1 jwise The steps toward this goal are as follows. Step a.) has already occurred,
9 1.1 jwise and the remaining steps will begin this week, with changes influenced by
10 1.1 jwise discussion on these lists.
11 1.1 jwise
12 1.1 jwise a.) update {make,check}flist, etc. to ignore all but the first
13 1.1 jwise (whitespace separated) field of each line of each set file
14 1.1 jwise
15 1.1 jwise b.) add at least additional fields to each line of each set list
16 1.1 jwise containing the name of the pkg the file is to be associated
17 1.1 jwise with
18 1.1 jwise
19 1.1 jwise c.) add DESCR's, COMMENTs, etc. in a tree under src/distrib/pkg,
20 1.1 jwise this tree will be hierarchical, with an organization
21 1.1 jwise similar to pkgsrc.
22 1.1 jwise
23 1.1 jwise d.) add a script to churn through the set files and syspkg/
24 1.1 jwise and register the existing system, removing anything in
25 1.1 jwise the obsolete lists in the process. This is working but
26 1.1 jwise needs a complete rewrite.
27 1.1 jwise
28 1.1 jwise At this point, make build can register packages as if a packaged install
29 1.1 jwise had been done. pkgs will be removable, and pkg versions will be usable
30 1.1 jwise in a DEPENDS=. This will _greatly_ ease the process of upgrading from
31 1.1 jwise a NetBSD system installed at this point to a later packaged distribution.
32 1.1 jwise Now comes the fun part:
33 1.1 jwise
34 1.1 jwise e.) modify the distribution building makefiles to build
35 1.1 jwise binary packages from the packages registered in DESTDIR
36 1.1 jwise
37 1.1 jwise f.) modify pkg_* to understand pkgsets which are tarballs of
38 1.1 jwise pkgs with a contents file of some sort. These will be
39 1.1 jwise used by sysinst to 1.) minimize the number of files to
40 1.1 jwise be downloaded and 2.) present the current selection
41 1.1 jwise granularity by default.
42 1.1 jwise
43 1.1 jwise g.) modify the make distrib tools to build these pkgsets from
44 1.1 jwise the binary packages.
45 1.1 jwise
46 1.1 jwise h.) modify sysinst's set installation to use these pkgsets
47 1.1 jwise instead of the current (tarball) sets.
48 1.1 jwise
49 1.1 jwise i.) modify sysinst to allow `zooming in' on a set and picking
50 1.1 jwise what to install at pkg granularity, with dependencies
51 1.1 jwise enforced and so on.
52 1.1 jwise
53 1.1 jwise ------------------------------------------------------------------------
54 1.1 jwise $Id: WORKPLAN,v 1.1 2002/01/07 22:46:17 jwise Exp $
55