11.1SjwiseWork Plan: NetBSD System Packages 21.1Sjwise================================= 31.1Sjwise 41.1SjwiseThis document is intended as a work plan for modification of the NetBSD 51.1Sjwiseinstall process to use `system packages' and `package sets' to install 61.1Sjwisethe base system instead of the current set tarballs. 71.1Sjwise 81.1SjwiseThe steps toward this goal are as follows. Step a.) has already occurred, 91.1Sjwiseand the remaining steps will begin this week, with changes influenced by 101.1Sjwisediscussion on these lists. 111.1Sjwise 121.1Sjwise a.) update {make,check}flist, etc. to ignore all but the first 131.1Sjwise (whitespace separated) field of each line of each set file 141.1Sjwise 151.1Sjwise b.) add at least additional fields to each line of each set list 161.1Sjwise containing the name of the pkg the file is to be associated 171.1Sjwise with 181.1Sjwise 191.1Sjwise c.) add DESCR's, COMMENTs, etc. in a tree under src/distrib/pkg, 201.1Sjwise this tree will be hierarchical, with an organization 211.1Sjwise similar to pkgsrc. 221.1Sjwise 231.1Sjwise d.) add a script to churn through the set files and syspkg/ 241.1Sjwise and register the existing system, removing anything in 251.1Sjwise the obsolete lists in the process. This is working but 261.1Sjwise needs a complete rewrite. 271.1Sjwise 281.1SjwiseAt this point, make build can register packages as if a packaged install 291.1Sjwisehad been done. pkgs will be removable, and pkg versions will be usable 301.1Sjwisein a DEPENDS=. This will _greatly_ ease the process of upgrading from 311.1Sjwisea NetBSD system installed at this point to a later packaged distribution. 321.1SjwiseNow comes the fun part: 331.1Sjwise 341.1Sjwise e.) modify the distribution building makefiles to build 351.1Sjwise binary packages from the packages registered in DESTDIR 361.1Sjwise 371.1Sjwise f.) modify pkg_* to understand pkgsets which are tarballs of 381.1Sjwise pkgs with a contents file of some sort. These will be 391.1Sjwise used by sysinst to 1.) minimize the number of files to 401.1Sjwise be downloaded and 2.) present the current selection 411.1Sjwise granularity by default. 421.1Sjwise 431.1Sjwise g.) modify the make distrib tools to build these pkgsets from 441.1Sjwise the binary packages. 451.1Sjwise 461.1Sjwise h.) modify sysinst's set installation to use these pkgsets 471.1Sjwise instead of the current (tarball) sets. 481.1Sjwise 491.1Sjwise i.) modify sysinst to allow `zooming in' on a set and picking 501.1Sjwise what to install at pkg granularity, with dependencies 511.1Sjwise enforced and so on. 521.1Sjwise 531.1Sjwise------------------------------------------------------------------------ 541.1Sjwise$Id: WORKPLAN,v 1.1.1.1 2002/01/07 22:46:17 jwise Exp $ 55