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
|
for i in $(find /lib/modules -name "*.ko"); do
|
||||||
if [ "$(file "$i"|grep ELF)" != "" ]; then
|
if [ "$(file "$i"|grep ELF)" != "" ]; then
|
||||||
>&2 echo "> $i ..."
|
>&2 echo "> $i ..."
|
||||||
xz -9 $i
|
xz -9 "$i"
|
||||||
mv $i.xz $i
|
mv "$i.xz" "$i"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
/usr/sbin/update-initramfs $*
|
/usr/sbin/update-initramfs $*
|
||||||
|
Loading…
Reference in New Issue
Block a user