Actually I could overcome the problem adding --remove-destination to cp:

Index: libraries/remaster-live-cd.sh
===================================================================
--- libraries/remaster-live-cd.sh       (revisão 463)
+++ libraries/remaster-live-cd.sh       (cópia de trabalho)
@@ -356,7 +356,7 @@
 
        if [ ! -e "$REMASTER_DIR/etc/resolv.conf" ] ; then
                echo "Copying resolv.conf..."
-               cp -f /etc/resolv.conf "$REMASTER_DIR/etc/resolv.conf" ||
+               cp -f --remove-destination /etc/resolv.conf 
"$REMASTER_DIR/etc/resolv.conf" ||
                        failure "Failed to copy resolv.conf, error=$?"
        fi

Not sure, thought, if this hack is useful for everyone else.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/946480

Title:
  Remastering Precise fails on resolv.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/uck/+bug/946480/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to