[SCM] Debian Live build scripts branch, master, updated. 1.0.2-4-24-gfda3d29

Cyril Brulebois cyril.brulebois at kerlabs.com
Fri Jan 23 21:35:30 UTC 2009


The following commit has been merged in the master branch:
commit fda3d29f701c3ca2b42f38608b850db059c85188
Author: Cyril Brulebois <cyril.brulebois at kerlabs.com>
Date:   Fri Jan 23 22:21:18 2009 +0100

    Actually fix initrd-related breakage in chroot hacks.
    
    To actually handle the case where there are no initrds, one has to tell
    xargs not to run the chmod command if there are no parameters.

diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index c635909..2c97111 100755
--- a/helpers/lh_chroot_hacks
+++ b/helpers/lh_chroot_hacks
@@ -78,7 +78,7 @@ fi
 # protect GPG keys, which live-helper does not support.
 # Note: Use find rather than chmod on the wildcard, one never knows what
 # people might do in local hooks, and there might be no initrds at all.
-find chroot/boot -name 'initrd*' -print0 | xargs -0 chmod go+r
+find chroot/boot -name 'initrd*' -print0 | xargs -r -0 chmod go+r
 
 # Remove build systems clock drift
 echo "0.0 0 0.0" > chroot/etc/adjtime

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list