wok-current rev 9691
module-init-tools: clean up
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 07 05:50:34 2011 +0000 (2011-05-07) |
parents | 41f62d3fdbec |
children | 0ee75cad7429 |
files | depmod/receipt module-init-tools/receipt |
line diff
1.1 --- a/depmod/receipt Fri May 06 22:06:01 2011 +0000 1.2 +++ b/depmod/receipt Sat May 07 05:50:34 2011 +0000 1.3 @@ -24,5 +24,5 @@ 1.4 1.5 post_remove() 1.6 { 1.7 - ln -s /bin/busybox /sbin/depmod 1.8 + ln -s /bin/busybox $1/sbin/depmod 1.9 }
2.1 --- a/module-init-tools/receipt Fri May 06 22:06:01 2011 +0000 2.2 +++ b/module-init-tools/receipt Sat May 07 05:50:34 2011 +0000 2.3 @@ -21,19 +21,17 @@ 2.4 continue 2.5 fi 2.6 echo "Apply $patch_file.u" 2.7 - patch -p1 < ../stuff/$patch_file.u || return 1 2.8 + patch -p1 < $stuff/$patch_file.u || return 1 2.9 touch done.$patch_file 2.10 done 2.11 2.12 # Don't generate manpages to avoid failure. 2.13 echo '.so man5/modprobe.conf.5' > modprobe.d.5 2.14 2.15 - ./configure --enable-zlib --prefix=/usr \ 2.16 - --sbindir=/sbin --bindir=/bin --sysconfdir=/etc \ 2.17 - --infodir=/usr/share/info --mandir=/usr/share/man \ 2.18 - $CONFIGURE_ARGS && 2.19 + ./configure --enable-zlib \ 2.20 + --sbindir=/sbin --bindir=/bin --sysconfdir=/etc && 2.21 make && 2.22 - make DESTDIR=$PWD/_pkg install 2.23 + make install 2.24 } 2.25 2.26 # Rules to gen a SliTaz package suitable for Tazpkg. 2.27 @@ -63,10 +61,10 @@ 2.28 2.29 post_remove() 2.30 { 2.31 - ln -s /bin/busybox /sbin/insmod 2.32 - ln -s /bin/busybox /sbin/modinfo 2.33 - ln -s /bin/busybox /sbin/modprobe 2.34 - ln -s /bin/busybox /sbin/rmmod 2.35 + ln -s /bin/busybox $1/sbin/insmod 2.36 + ln -s /bin/busybox $1/sbin/modinfo 2.37 + ln -s /bin/busybox $1/sbin/modprobe 2.38 + ln -s /bin/busybox $1/sbin/rmmod 2.39 # BusyBox puts lsmod in /sbin, not /bin 2.40 - ln -s /bin/busybox /sbin/lsmod 2.41 + ln -s /bin/busybox $1/sbin/lsmod 2.42 }