> Il mercoledì 20 agosto 2008 13:28:03 Peter Holik ha scritto: > >> With lenny i got a warning for >> mount -o move /cow "${rootmnt}/live/cow" >> mount: you must specify the filesystem type > >> but with >> mount --move /cow "${rootmnt}/live/cow" >> i got no warning > >> This is because chroot/usr/share/initramfs-tools/scripts/live exports PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin: >>/bin:/sbin" > > Thanks for the report, but I would like to know which could be the right way > to fix that, maybe removing the wrong exported path from the script and see what could break, since this could fix also the other reported bug you reported in another mail.
i would suggest to remove the PATH and also echo "/root/lib" >> /etc/ld.so.conf echo "/root/usr/lib" >> /etc/ld.so.conf because this does not work (see my mail about touch). and make all chroot commands in /usr/share/initramfs-tools/scripts/live-* with absolute path. instead chroot /root wget "${HOOK}" do chroot /root /usr/bin/wget "${HOOK}" cu Peter _______________________________________________ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel