Bug#696988: live-build 3.x: --chroot-filesystem plain/none ?
Package: live-build
Version: 3.0~a51-1
Severity: normal
I have been using live-build to generate a NFS-root system
to be booted via PXE:
lb config
--architecture i386 \
--linux-flavours 686 \
--distribution wheezy \
--chroot-filesystem plain
--binary-images net \
--net-root-path '/nfsroot/live' --net-root-server '$nfsroot_srv' \
...
On sqeeze, everything works o.k (with minor adjustments).
After moving to a wheezy system, generating the system fails:
No matter what I do, live-build won't install a kernel in the
chroot area. Because various scripts rely on it to be installed
in chroot/boot (first error in "lb_binary_linux-image", trying
to copy chroot/boot/vmlinuz-*) the build is aborted.
In the generated "binary image" (binary/live/filesystem.dir/boot/),
kernel and initrd are correctly installed.
Eventually, I discovered, that the man page for "lb_config" now
among the possible values for "--chroot-filesystem" does not mention
"plain" anymore. Instead, it now mentions a "none", which sounds
like it should replace the pvrevious "plain".
Unfortunatly, "--chroot-filesystem none" did not get me any further:
Now the build is aborted in lb_binary_manifest, which tries to copy
"chroot.packages.live" to "binary/${INITFS}/filesystem.${SUFFIX}",
i.e. the non-existant directory binary/live.
After looking closer, I am not even sure anymore, whether it
really was intended to replace "--chroot-filesystem plain" with
"--chroot-filesystem plain": At least in "lb_binary_rootfs" there
are branches for both, "plain" and "none", but with different
actions.
In any case, it looks like for generating nfs-root systems, the
different scripts just don't fit together anymore ...
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages live-build depends on:
ii debootstrap 1.0.44
Versions of packages live-build recommends:
ii cpio 2.11-8
ii gnu-fdisk 1.2.4-3.1
ii live-boot-doc 3.0~a35-1
ii live-config-doc 3.0~a43-1
ii live-manual 1:2.0.2-1
ii live-manual-epub [live-manual] 1:3.0~a13-1
ii live-manual-html [live-manual] 1:3.0~a13-1
ii live-manual-odf [live-manual] 1:3.0~a13-1
ii live-manual-pdf [live-manual] 1:3.0~a13-1
ii live-manual-txt [live-manual] 1:3.0~a13-1
Versions of packages live-build suggests:
ii dosfstools 3.0.13-1
ii fakeroot 1.18.4-2
ii genisoimage 9:1.1.11-2
ii grub-legacy [grub] 0.97-66
ii memtest86 4.0s-1
ii mtools 4.0.17-1
pn parted <none>
pn squashfs-tools | mtd-tools <none>
ii sudo 1.8.5p2-1
ii syslinux 2:4.05+dfsg-6+deb7u1
pn uuid-runtime <none>
pn win32-loader <none>
Reply to: