# HG changeset patch # User Christopher Rogers # Date 1304747434 0 # Node ID 9624c47bd4ee30fdc1a332204c22f66828e29ba4 # Parent 41f62d3fdbeccc50ea4863b52dd516dd3d362f6c module-init-tools: clean up diff -r 41f62d3fdbec -r 9624c47bd4ee depmod/receipt --- a/depmod/receipt Fri May 06 22:06:01 2011 +0000 +++ b/depmod/receipt Sat May 07 05:50:34 2011 +0000 @@ -24,5 +24,5 @@ post_remove() { - ln -s /bin/busybox /sbin/depmod + ln -s /bin/busybox $1/sbin/depmod } diff -r 41f62d3fdbec -r 9624c47bd4ee module-init-tools/receipt --- a/module-init-tools/receipt Fri May 06 22:06:01 2011 +0000 +++ b/module-init-tools/receipt Sat May 07 05:50:34 2011 +0000 @@ -21,19 +21,17 @@ continue fi echo "Apply $patch_file.u" - patch -p1 < ../stuff/$patch_file.u || return 1 + patch -p1 < $stuff/$patch_file.u || return 1 touch done.$patch_file done # Don't generate manpages to avoid failure. echo '.so man5/modprobe.conf.5' > modprobe.d.5 - ./configure --enable-zlib --prefix=/usr \ - --sbindir=/sbin --bindir=/bin --sysconfdir=/etc \ - --infodir=/usr/share/info --mandir=/usr/share/man \ - $CONFIGURE_ARGS && + ./configure --enable-zlib \ + --sbindir=/sbin --bindir=/bin --sysconfdir=/etc && make && - make DESTDIR=$PWD/_pkg install + make install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -63,10 +61,10 @@ post_remove() { - ln -s /bin/busybox /sbin/insmod - ln -s /bin/busybox /sbin/modinfo - ln -s /bin/busybox /sbin/modprobe - ln -s /bin/busybox /sbin/rmmod + ln -s /bin/busybox $1/sbin/insmod + ln -s /bin/busybox $1/sbin/modinfo + ln -s /bin/busybox $1/sbin/modprobe + ln -s /bin/busybox $1/sbin/rmmod # BusyBox puts lsmod in /sbin, not /bin - ln -s /bin/busybox /sbin/lsmod + ln -s /bin/busybox $1/sbin/lsmod }