diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-11-04 13:19:41 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-11-04 13:22:15 +0000 |
commit | 2e1e2d686ca8f819c202d2ed4e8a5c5758451f26 (patch) | |
tree | 0a5f045e02357e027f06668028d3d0572b92f983 | |
parent | cce6569c63209685368ccc220d6a0c48d6b0900a (diff) | |
download | febootstrap-2e1e2d686ca8f819c202d2ed4e8a5c5758451f26.tar.gz febootstrap-2e1e2d686ca8f819c202d2ed4e8a5c5758451f26.tar.xz febootstrap-2e1e2d686ca8f819c202d2ed4e8a5c5758451f26.zip |
Add TODO file.
-rw-r--r-- | TODO | 54 |
1 files changed, 54 insertions, 0 deletions
@@ -0,0 +1,54 @@ +Ideas for a future version of febootstrap. + + +The name +-------- + +The name 'febootstrap' confuses everyone. I'd like to rename the +program to 'supermin' and rename 'febootstrap-supermin-helper' to +'supermin-reconstruct'. + + +hostfiles +--------- + +'hostfiles' causes lots of trouble, because it bakes path dependencies +into the supermin appliance. + +We propose to replace this with a list of root packages. Lines in +hostfiles beginning with a "+" sign are a root package, eg: + + +bash + +coreutils + +We then query RPM or dpkg to get a list of hostfiles at appliance boot +time. eg. For rpm we'd do the rpmlib equivalents of: + + rpm -ql bash # list of files in bash + rpm -qR bash # what bash requires + rpm -q --whatprovides <depN> # recursively look up each requires + +(If this is too slow, aggressively cache the results) + +Some files still need to be stored at build time, basically %config +files. + +Unclear what to do about kernels if we make this change. + +'hostfiles' may still be needed for a handful of files that we really +want to copy in. Notable ones: /etc/localtime and /etc/resolv.conf. + + +Store %post scripts +------------------- + +Can we get the %post scripts and store them in a directory in the +appliance? + + +Directories +----------- + +Reconstruction is tied to having directories being created before they +are used. We should try to remove this limitation as it's really +quite unnecessary. |