Marking loop-aes-utils related hack as squeeze only.
This commit is contained in:
parent
18c8ece239
commit
8618786d5f
|
@ -104,11 +104,15 @@ case "${LB_INITRAMFS_COMPRESSION}" in
|
|||
;;
|
||||
esac
|
||||
|
||||
# Ensure readable permissions on initramfs. loop-aes-utils sets umask to
|
||||
# protect GPG keys, which live-build 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 -r -0 chmod go+r
|
||||
case "${LB_PARENT_DISTRIBUTION}" in
|
||||
squeeze)
|
||||
# Ensure readable permissions on initramfs. loop-aes-utils sets umask to
|
||||
# protect GPG keys, which live-build 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 -r -0 chmod go+r
|
||||
;;
|
||||
esac
|
||||
|
||||
# Remove cruft
|
||||
rm -f chroot/boot/initrd*bak*
|
||||
|
|
Loading…
Reference in New Issue