Add TODO file.
[febootstrap.git] / TODO
1 Ideas for a future version of febootstrap.
2
3
4 The name
5 --------
6
7 The name 'febootstrap' confuses everyone.  I'd like to rename the
8 program to 'supermin' and rename 'febootstrap-supermin-helper' to
9 'supermin-reconstruct'.
10
11
12 hostfiles
13 ---------
14
15 'hostfiles' causes lots of trouble, because it bakes path dependencies
16 into the supermin appliance.
17
18 We propose to replace this with a list of root packages.  Lines in
19 hostfiles beginning with a "+" sign are a root package, eg:
20
21   +bash
22   +coreutils
23
24 We then query RPM or dpkg to get a list of hostfiles at appliance boot
25 time.  eg. For rpm we'd do the rpmlib equivalents of:
26
27   rpm -ql bash    # list of files in bash
28   rpm -qR bash    # what bash requires
29   rpm -q --whatprovides <depN>    # recursively look up each requires
30
31 (If this is too slow, aggressively cache the results)
32
33 Some files still need to be stored at build time, basically %config
34 files.
35
36 Unclear what to do about kernels if we make this change.
37
38 'hostfiles' may still be needed for a handful of files that we really
39 want to copy in.  Notable ones: /etc/localtime and /etc/resolv.conf.
40
41
42 Store %post scripts
43 -------------------
44
45 Can we get the %post scripts and store them in a directory in the
46 appliance?
47
48
49 Directories
50 -----------
51
52 Reconstruction is tied to having directories being created before they
53 are used.  We should try to remove this limitation as it's really
54 quite unnecessary.