wok diff util-linux-blkid/receipt @ rev 12556
linux/embedded loader: needs 256 bytes alignements, not 64k
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 28 13:23:21 2012 +0200 (2012-04-28) |
parents | d35ad056f90e |
children | 64e7fff3f73c |
line diff
1.1 --- a/util-linux-blkid/receipt Mon Apr 23 16:19:05 2012 +0200 1.2 +++ b/util-linux-blkid/receipt Sat Apr 28 13:23:21 2012 +0200 1.3 @@ -19,9 +19,19 @@ 1.4 cp -a $install/usr/lib/libblkid.so* $fs/usr/lib 1.5 } 1.6 1.7 +# Remove old package 1.8 +post_install() 1.9 +{ 1.10 + if [ -d "/var/lib/tazpkg/installed/util-linux-ng-blkid" ]; then 1.11 + echo "Removing old: util-linux-ng-blkid" 1.12 + yes | tazpkg -r util-linux-ng-blkid 1.13 + fi 1.14 +} 1.15 + 1.16 # Overlap busybox 1.17 pre_install() 1.18 { 1.19 + [ -d "$INSTALLED/util-linux-ng-blkid" ] && yes | tazpkg -r util-linux-ng-blkid 1.20 rm -f $1/sbin/blkid 1.21 } 1.22