wok diff linux/stuff/gztazmod.sh @ rev 15690
dpkg,debootstrap: Fix missing mkdir command
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 08:14:41 2013 +0100 (2013-12-21) |
parents | bae9fa77b9be |
children | db5b03f42dd9 |
line diff
1.1 --- a/linux/stuff/gztazmod.sh Sun Dec 21 13:26:39 2008 +0000 1.2 +++ b/linux/stuff/gztazmod.sh Sat Dec 21 08:14:41 2013 +0100 1.3 @@ -40,15 +40,15 @@ 1.4 1.5 # Find all modules. 1.6 echo -n "Searching all modules to compress them... " 1.7 -find . -name "*.ko" -exec lzma e '{}' '{}'.gz \; 2> /dev/null 1.8 +find . -name "*.ko" -exec xz '{}' \; 2> /dev/null 1.9 status 1.10 find . -name "*.ko" -exec rm '{}' \; 1.11 1.12 # Build a new temporary modules.dep. 1.13 echo -n "Building tmp.dep... " 1.14 -sed 's/\.ko.gz/.ko/g' modules.dep > tmp.dep 1.15 -sed -i 's/\.ko.gz/.ko/g' tmp.dep 1.16 -sed -i 's/\.ko/.ko.gz/g' tmp.dep 1.17 +sed 's/\.ko.[xg]z/.ko/g' modules.dep > tmp.dep 1.18 +sed -i 's/\.ko.[xg]z/.ko/g' tmp.dep 1.19 +sed -i 's/\.ko/.ko.xz/g' tmp.dep 1.20 status 1.21 1.22 # Destroy original modules.dep