wok-6.x rev 18790

busybox: remove kmod & core-util-mount links
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 06 17:56:34 2016 +0100 (2016-01-06)
parents ee7f5b80836f
children d17fa96382b5
files busybox/receipt
line diff
     1.1 --- a/busybox/receipt	Tue Jan 05 11:03:10 2016 +0100
     1.2 +++ b/busybox/receipt	Wed Jan 06 17:56:34 2016 +0100
     1.3 @@ -160,6 +160,20 @@
     1.4  	# Update copyright year
     1.5  	grep -rl 'copy; 2' $fs/var/www | xargs \
     1.6  		sed -i "s/copy; [0-9]*/copy; $(date +%Y)/"
     1.7 +
     1.8 +	# Remove kmod & core-util-mount links
     1.9 +	while read link; do
    1.10 +		rm -f $fs$link
    1.11 +	done <<EOT
    1.12 +/bin/mount
    1.13 +/bin/mountpoint
    1.14 +/bin/umount
    1.15 +/sbin/depmod
    1.16 +/sbin/insmod
    1.17 +/sbin/modinfo
    1.18 +/sbin/modprobe
    1.19 +/sbin/rmmod
    1.20 +EOT
    1.21  }
    1.22  
    1.23  # GNU utils stuff.