From 47e48dba2b7f6d2d5843babe696e7405b74ab211 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Tue, 8 Nov 2022 21:31:38 +0100 Subject: [PATCH] Make module compressor a little nicer --- mods/legacy-initramfs/data/usr/local/bin/update-initramfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/legacy-initramfs/data/usr/local/bin/update-initramfs b/mods/legacy-initramfs/data/usr/local/bin/update-initramfs index 527b2ca..e24c792 100755 --- a/mods/legacy-initramfs/data/usr/local/bin/update-initramfs +++ b/mods/legacy-initramfs/data/usr/local/bin/update-initramfs @@ -4,8 +4,8 @@ set -e for i in $(find /lib/modules -name "*.ko"); do if [ "$(file "$i"|grep ELF)" != "" ]; then >&2 echo "> $i ..." - xz -9 $i - mv $i.xz $i + xz -9 "$i" + mv "$i.xz" "$i" fi done /usr/sbin/update-initramfs $*