Hi,
> On Mon, 26 Feb 2007 10:04:03 +0100
>
> Frank Weißer <[EMAIL PROTECTED]> wrote:
> > Hi Andrei!
> >
> > Andrei Popescu schrieb:
> > > Hello,
> > >
> > > I am trying to build a custom CD for my firewall machine, but the
> > > LIVE_INCLUDE_ROOT option in make-live.conf is ignored. Or is there a
> > > way to rebuild the .iso after making a few changes in the chroot dir
> > > (like adding a few files and changing a few others)?
> > >
> > > Here is the relevant part of my make-live.conf:
> > >
> > > # Chroot includes (Default: empty)
> > > LIVE_INCLUDE_CHROOT="/home/amp77/omnibook/include_chroot/"
> >
> > ^^^^^^
> > Didn't you mean root?
>
> Hhhm, looks like a bug, because this is copy-pasted. I have
> live-package 0.99.23-1
>
> Regards,
> Andrei
Sorry about the previous empty post, I just clicked 'send' by mistake :)
I had the same pr really oblem here, which also seems to be due to the fact
that LIVE_INCLUDE_CHROOT is not exported. The attached patch corrects this
and checks that the directory exists.
By the way, I don't understand why you changed the way helpers scripts are
used. Sourcing all of them in main was fine and you didn't have to export
everything like now. Did you have a good reason for this? (maybe I missed
something as I didn't follow the debian-live development for a few months
now)
--
Cédric Lucantis
Index: src/scripts/02defaults.sh
===================================================================
--- src/scripts/02defaults.sh (r�vision 320)
+++ src/scripts/02defaults.sh (copie de travail)
@@ -249,6 +249,17 @@
export LIVE_PACKAGES
fi
+ # Check for include chroot directory
+ if [ -n "${LIVE_INCLUDE_CHROOT}" ]
+ then
+ if [ ! -d "${LIVE_INCLUDE_CHROOT}" ]
+ then
+ echo "E: LIVE_INCLUDE_CHROOT does not exist or is not a directory (${LIVE_INCLUDE_CHROOT})"
+ fi
+ fi
+
+ export LIVE_INCLUDE_CHROOT
+
# Set FTP proxy
if [ -z "${LIVE_PROXY_FTP}" ] && [ -n "${ftp_proxy}" ]
then
_______________________________________________
Debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel