wok-6.x rev 8879
udhcpc6-fake, util-linux-ng-blkid, xz: restore busybox links in port_remove()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 27 01:43:15 2011 +0100 (2011-02-27) |
parents | 2ad34d8fdfe7 |
children | a63c2567749b |
files | udhcpc6-fake/receipt util-linux-ng-blkid/receipt xz/receipt |
line diff
1.1 --- a/udhcpc6-fake/receipt Sun Feb 27 01:38:28 2011 +0100 1.2 +++ b/udhcpc6-fake/receipt Sun Feb 27 01:43:15 2011 +0100 1.3 @@ -15,3 +15,13 @@ 1.4 chmod +x $fs/sbin/udhcpc $fs/etc/dhclient-script 1.5 } 1.6 1.7 +# Overlap busybox 1.8 +pre_install() 1.9 +{ 1.10 + rm -f $1/sbin/udhcpc 1.11 +} 1.12 + 1.13 +post_remove() 1.14 +{ 1.15 + ln -s /bin/busybox /sbin/udhcpc 1.16 +}
2.1 --- a/util-linux-ng-blkid/receipt Sun Feb 27 01:38:28 2011 +0100 2.2 +++ b/util-linux-ng-blkid/receipt Sun Feb 27 01:43:15 2011 +0100 2.3 @@ -18,3 +18,14 @@ 2.4 cp -a $_pkg/lib/libblkid.so* $fs/lib 2.5 cp -a $_pkg/usr/lib/libblkid.so* $fs/usr/lib 2.6 } 2.7 + 2.8 +# Overlap busybox 2.9 +pre_install() 2.10 +{ 2.11 + rm -f $1/sbin/blkid 2.12 +} 2.13 + 2.14 +post_remove() 2.15 +{ 2.16 + ln -s /bin/busybox /sbin/blkid 2.17 +}
3.1 --- a/xz/receipt Sun Feb 27 01:38:28 2011 +0100 3.2 +++ b/xz/receipt Sun Feb 27 01:43:15 2011 +0100 3.3 @@ -44,10 +44,12 @@ 3.4 echo "Processing pre-install commands..." 3.5 echo -n "Removing all Busybox replaced utils... " 3.6 rm -f $root/usr/bin/unlzma 3.7 + rm -f $root/usr/bin/lzcat 3.8 status 3.9 } 3.10 3.11 post_remove() 3.12 { 3.13 ln -s /bin/busybox $1/usr/bin/unlzma 3.14 + ln -s /bin/busybox $1/usr/bin/lzcat 3.15 }