# HG changeset patch # User Pascal Bellard # Date 1298766360 -3600 # Node ID 21b80c68de86fc681e8875e18b734b153cd2b392 # Parent b90843fa3804d9fac270dd4c83999fdc281c7e25 dosfstools, e2fsprogs, gmime: restore busybox links in port_remove() diff -r b90843fa3804 -r 21b80c68de86 dosfstools/receipt --- a/dosfstools/receipt Sun Feb 27 01:21:13 2011 +0100 +++ b/dosfstools/receipt Sun Feb 27 01:26:00 2011 +0100 @@ -25,3 +25,14 @@ cp -a $src/dosfslabel $fs/sbin strip -s $fs/sbin/* } + +# Overlap busybox +pre_install() +{ + rm -f $1/sbin/mkdosfs +} + +post_remove() +{ + ln -s /bin/busybox /sbin/mkdosfs +} diff -r b90843fa3804 -r 21b80c68de86 e2fsprogs/receipt --- a/e2fsprogs/receipt Sun Feb 27 01:21:13 2011 +0100 +++ b/e2fsprogs/receipt Sun Feb 27 01:26:00 2011 +0100 @@ -48,3 +48,16 @@ rm $fs/usr/sbin/uuidd $fs/usr/bin/uuidgen rm $fs/lib/libuuid* $fs/usr/lib/libuuid* } + +# Overlap busybox +pre_install() +{ + rm -f $1/sbin/findfs + rm -f $1/sbin/tune2fs +} + +post_remove() +{ + ln -s /bin/busybox /sbin/findfs + ln -s /bin/busybox /sbin/tune2fs +} diff -r b90843fa3804 -r 21b80c68de86 gmime/receipt --- a/gmime/receipt Sun Feb 27 01:21:13 2011 +0100 +++ b/gmime/receipt Sun Feb 27 01:26:00 2011 +0100 @@ -32,3 +32,15 @@ cp -a $_pkg/usr/lib/*.so* $fs/usr/lib } +# Overlap busybox +pre_install() +{ + rm -f $1/usr/bin/uuencode + rm -f $1/usr/bin/uudecode +} + +post_remove() +{ + ln -s /bin/busybox /usr/bin/uuencode + ln -s /bin/busybox /usr/bin/uudecode +}