Package: live-helper
Version: 1.0~a37-2
I'm trying to build a live USB stick that uses resolvconf whereas I
don't use it on the host system. So chroot/etc/resolv.conf is a
symlink to the (nonexistent) /etc/resolvconf/run/resolv.conf (this is
how resolvconf functions). The lh_chroot_resolv stage produces the
following error:
P: Configuring file /etc/resolv.conf
cp: cannot create regular file `chroot/etc/resolv.conf': No such file or
directory
and lh_chroot aborts. I suggest doing something like the attached
patch.
--
David A. Madore
([EMAIL PROTECTED],
http://www.madore.org/~david/ )
--- lh_chroot_resolv.orig 2007-11-19 17:58:35.000000000 +0100
+++ lh_chroot_resolv 2007-12-23 20:36:14.000000000 +0100
@@ -49,7 +49,7 @@
# Creating lock file
Create_lockfile .lock
- if [ -f chroot/etc/resolv.conf ]
+ if [ -f chroot/etc/resolv.conf ] || [ -L chroot/etc/resolv.conf ]
then
# Save resolv file
mv chroot/etc/resolv.conf chroot/etc/resolv.conf.orig
_______________________________________________
debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel