[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#500740: Some variables don't default correctly



Package: live-helper
Version: 1.0.1-1

Hi,

I'm currently attempting  to build a Debian Live-CD  and leave most of
the  configuration variables  undefined.  Unfortunately,  this doesn't
work -- some of the variables are not defaulted correctly.

When LH_UNION_FILESYSTEM and LH_LINUX_PACKAGES are left undefined, the
build process breaks with

  D: Executing: xargs --arg-file=/root/chroot_packages apt-get --yes install
  Reading package lists... Done
  Building dependency tree... Done
  E: Regex compilation error - Invalid preceding regular expression

The chroot/root/chroot_packages files starts with the following:

  linux-image-2.6-486
  ${LH_UNION_FILESYSTEM}-modules-2.6-486
  squashfs-modules-2.6-486
  linux-image-2.6-686
  ${LH_UNION_FILESYSTEM}-modules-2.6-686
  squashfs-modules-2.6-686
  auto

This was fixed by explicitly saying

  LH_UNION_FILESYSTEM="aufs"
  LH_LINUX_PACKAGES="linux-image-2.6 ${LH_UNION_FILESYSTEM}-modules-2.6 squashfs-modules-2.6"

At that point, Apt complainded about being unable to find the package
``auto'', which was fixed by saying

  LH_INITRAMFS="auto"

I'm not kidding.

                                        Juliusz


Attachment: pgpmtCESG3CKi.pgp
Description: PGP signature


Reply to: