> Hi Michael, > > Everything is on lenny, host and target. I've attached the logs from > fai-mirror and make-fai-nfsroot. > > Looking at the messages more closely, it might be more of a documentation > wishlist bug than a functionality bug. > > This sequence of commands works: > > 1. Point FAI_DEBOOTSTRAP, FAI_DEBMIRROR and /etc/fai/apt/sources.list at full > remote Debian mirror. > > 2. Run make-fai-nfsroot. > > 3. Run fai-mirror. > > 4. Point FAI_DEBOOTSTRAP, FAI_DEBMIRROR and /etc/fai/apt/sources.list at > newly-created partial local mirror. > > 5. Re-run make-fai-nfsroot. > > That works. The following sequence of commands doesn't work, and you can see > the log output results in the attached text files: > > 1. Point FAI_DEBOOTSTRAP, FAI_DEBMIRROR and /etc/fai/apt/sources.list at full > remote Debian mirror. > > 2. Run fai-mirror. > > 3. Point FAI_DEBOOTSTRAP, FAI_DEBMIRROR and /etc/fai/apt/sources.list at > newly-created partial local mirror. > > 4. Run make-fai-nfsroot. > > This may be the intended behaviour; I'm not familiar enough with the package > to know for sure. If it is the intended behaviour, perhaps it warrants a > note in the manpage and/or the FAI guide, something to the effect of, > "make-fai-nfsroot must be run using a full mirror *before* using fai-mirror, > and fai-mirror must have access to the nfsroot directory created by > make-fai-nfsmirror, else the partial mirror created by fai-mirror will be > incomplete and will not work." >
[...] I don't think fai-mirror was ever intended to serve as a mirror while running make-fai-nfsroot. Looking at fai-mirror, however, it does in fact add all the packages from /etc/fai/NFSROOT by default. There's a tiny little problem with live-initramfs: That one is not listed in /etc/fai/NFSROOT but is a dependency of the fai-nfsroot package. Therefore your workaround of added another class to your configspace is perfectly fine. Probably this should be considered a documentation problem. Best, Michael
pgpGST2nnUGN1.pgp
Description: PGP signature