summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-16 23:51:01 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:02 +0200
commitc02300e297dd01301832ad3ba7f464b2b2c257ce (patch)
treeacd11bcfc366bf1b46c1376d3a2a1158efbf33a0 /scripts
parentcf1de1682b60712a4de7cb262df8767b35648868 (diff)
downloadvyos-live-build-c02300e297dd01301832ad3ba7f464b2b2c257ce.tar.gz
vyos-live-build-c02300e297dd01301832ad3ba7f464b2b2c257ce.zip
Removing loop-aes-utils related hack for squeeze.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/chroot_hacks6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/build/chroot_hacks b/scripts/build/chroot_hacks
index 1e7bce918..a440ed195 100755
--- a/scripts/build/chroot_hacks
+++ b/scripts/build/chroot_hacks
@@ -104,12 +104,6 @@ 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
-
# Remove cruft
rm -f chroot/boot/initrd*bak*
rm -f chroot/etc/apt/trusted.gpg~