wok-tiny rev 122

busybox: shrink /etc/services
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 26 14:18:29 2016 +0100 (2016-12-26)
parents 564c3784dad6
children f04e6a2d1224
files busybox/receipt
line diff
     1.1 --- a/busybox/receipt	Mon Dec 26 11:11:51 2016 +0100
     1.2 +++ b/busybox/receipt	Mon Dec 26 14:18:29 2016 +0100
     1.3 @@ -117,6 +117,7 @@
     1.4      ln rootfs/bin/busybox rootfs/init
     1.5      #ln -s var/tmp rootfs/tmp
     1.6  
     1.7 +    sed -i 's/[ \t]*#.*//;s/[ \t] / /g;s/[ \t]\t/\t/g;/^$/d' rootfs/etc/services
     1.8      ( cd rootfs ; find | cpio -o -H newc ) > rootfs.cpio
     1.9      du -h rootfs.cpio
    1.10