summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_hacks
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_hacks')
-rwxr-xr-xscripts/build/chroot_hacks3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/build/chroot_hacks b/scripts/build/chroot_hacks
index b2f51cad4..50f43cb52 100755
--- a/scripts/build/chroot_hacks
+++ b/scripts/build/chroot_hacks
@@ -94,9 +94,6 @@ case "${LB_INITRAMFS_COMPRESSION}" in
;;
lzma)
- # We probably ought to use COMPRESS= in a temporary file in
- # /etc/initramfs-tools/conf.d/ instead, but it's hard to
- # pass options that way.
for INITRAMFS in $(find chroot/boot -name 'initrd*'); do
zcat "${INITRAMFS}" | lzma -c ${LZMA_OPTIONS} > "${INITRAMFS}.new"
mv "${INITRAMFS}.new" "${INITRAMFS}"