Bug#696988: live-build 3.x: --chroot-filesystem plain/none ?

2012-12-30 Thread gator_ml
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  cpio2.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  fakeroot1.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  sudo1.8.5p2-1
ii  syslinux2:4.05+dfsg-6+deb7u1
pn  uuid-runtimenone
pn  win32-loadernone


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#696988: live-build 3.x: --chroot-filesystem plain/none ?

2012-12-30 Thread Daniel Baumann
tag 696988 pending
thanks

On 12/30/2012 12:12 PM, gator...@yahoo.de wrote:
 Package: live-build
 Version: 3.0~a51-1

first, generally, always use the newest live-* from a certain branch
(for 3.x, that would be whatever currently is in sid). anything else,
and specifically testing, is not supported anyway.

second, to your specific problem, i've fixed it in git. thanks for
reporting.

-- 
Address:Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:  daniel.baum...@progress-technologies.net
Internet:   http://people.progress-technologies.net/~daniel.baumann/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org