wok diff kbd/receipt @ rev 9713

glibc: make it built with cookutils
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 23:21:20 2011 +0200 (2011-05-08)
parents 9b7526485ebb
children eef7c8c8ad4e
line diff
     1.1 --- a/kbd/receipt	Thu Jan 27 00:20:50 2011 +0100
     1.2 +++ b/kbd/receipt	Sun May 08 23:21:20 2011 +0200
     1.3 @@ -36,3 +36,21 @@
     1.4  	cp -a $_pkg/usr/bin $fs/usr
     1.5  }
     1.6  
     1.7 +# Overlap busybox
     1.8 +pre_install()
     1.9 +{
    1.10 +	rm -f $1/usr/bin/deallocvt
    1.11 +	rm -f $1/usr/bin/chvt
    1.12 +	rm -f $1/usr/bin/setkeycodes
    1.13 +	rm -f $1/usr/bin/openvt
    1.14 +	rm -f $1/usr/bin/kbd_mode
    1.15 +}
    1.16 +
    1.17 +post_remove()
    1.18 +{
    1.19 +	ln -s /bin/busybox /usr/bin/deallocvt
    1.20 +	ln -s /bin/busybox /usr/bin/chvt
    1.21 +	ln -s /bin/busybox /usr/bin/setkeycodes
    1.22 +	ln -s /bin/busybox /usr/bin/openvt
    1.23 +	ln -s /bin/busybox /usr/bin/kbd_mode
    1.24 +}