Make module compressor a little nicer
This commit is contained in:
parent
10d0549c69
commit
47e48dba2b
@ -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 $*
|
||||
|
Loading…
Reference in New Issue
Block a user