wok diff linux/stuff/gztazmod.sh @ rev 7010

Up: xorg-xcmiscproto to 1.2.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 31 13:30:51 2010 +0000 (2010-10-31)
parents a8d7e0cbe748
children 873a0ed5aab7
line diff
     1.1 --- a/linux/stuff/gztazmod.sh	Sun Jun 15 12:47:00 2008 +0000
     1.2 +++ b/linux/stuff/gztazmod.sh	Sun Oct 31 13:30:51 2010 +0000
     1.3 @@ -40,12 +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 \;
     1.8 +find . -name "*.ko" -exec lzma e '{}' '{}'.gz \; 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/.ko.gz/g' modules.dep > tmp.dep
    1.15 +sed 's/\.ko.gz/.ko/g' modules.dep > tmp.dep
    1.16 +sed -i 's/\.ko.gz/.ko/g' tmp.dep
    1.17 +sed -i 's/\.ko/.ko.gz/g' tmp.dep
    1.18  status
    1.19  
    1.20  # Destroy original modules.dep