wok-tiny rev 161

busybox-net: typo in mdev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 06 11:03:06 2020 +0000 (2020-06-06)
parents 562a49ca00d9
children c21687abfa6a
files busybox-net/receipt busybox/receipt
line diff
     1.1 --- a/busybox-net/receipt	Sat Feb 29 15:55:26 2020 +0100
     1.2 +++ b/busybox-net/receipt	Sat Jun 06 11:03:06 2020 +0000
     1.3 @@ -75,16 +75,12 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -    mkdir $fs/bin $fs/boot
     1.8 +    mkdir $fs/boot $fs/bin $fs/sbin
     1.9 +    cp -a $WOK/base-tiny/stuff/. $fs/
    1.10      cp -a $src/_install/bin/busybox $fs/bin
    1.11 -    for i in /bin/sh /bin/login /bin/false /sbin/dev /init ; do
    1.12 +    for i in /bin/sh /bin/login /bin/false /sbin/mdev /init ; do
    1.13  	ln -f $fs/bin/busybox $fs$i
    1.14      done
    1.15 -    mkdir -p $fs/etc/init.d
    1.16 -    for i in etc/init.d/network.sh etc/network.conf etc/services etc/networks \
    1.17 -	etc/inetd.conf etc/host.conf etc/hosts ; do
    1.18 -	cp -a $WOK/base-tiny/stuff/$i $fs/$i
    1.19 -    done
    1.20      sed '/hostname/{Nd}' -i $fs/etc/init.d/network.sh
    1.21  	
    1.22      # Busybox config files.
    1.23 @@ -105,8 +101,8 @@
    1.24  	$fs/etc/init.d/*.sh
    1.25      sed -i 's/^#.*//;/^$/d' $fs/etc/*.conf $fs/etc/*tab \
    1.26  	$fs/etc/profile $fs/etc/securetty $fs/etc/shells
    1.27 -	
    1.28 -	cp $stuff/busybox-net-git.config $fs/boot/config-busybox
    1.29 +    find $fs -exec touch -r $fs {} \;
    1.30 +    cp $stuff/busybox-net-git.config $fs/boot/config-busybox
    1.31  }
    1.32  
    1.33  config_form()
     2.1 --- a/busybox/receipt	Sat Feb 29 15:55:26 2020 +0100
     2.2 +++ b/busybox/receipt	Sat Jun 06 11:03:06 2020 +0000
     2.3 @@ -72,8 +72,8 @@
     2.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.5  genpkg_rules()
     2.6  {
     2.7 -	mkdir $fs/boot $fs/bin
     2.8 -	cp -a $WOK/base-tiny/stuff/. $fs/
     2.9 +    mkdir $fs/boot $fs/bin $fs/sbin
    2.10 +    cp -a $WOK/base-tiny/stuff/. $fs/
    2.11      cp -a $src/_install/lib $fs/
    2.12      cp -a $src/_install/bin/busybox $fs/bin
    2.13      for i in /bin/sh /bin/login /bin/false /sbin/mdev /init ; do
    2.14 @@ -102,7 +102,7 @@
    2.15      sed -i 's/^#.*//;/^$/d' $fs/etc/*.conf $fs/etc/*tab \
    2.16  	$fs/etc/profile $fs/etc/securetty $fs/etc/shells
    2.17      find $fs -exec touch -r $fs {} \;
    2.18 -	cp $stuff/busybox-git.config $fs/boot/config-busybox
    2.19 +    cp $stuff/busybox-git.config $fs/boot/config-busybox
    2.20  }
    2.21  
    2.22  config_form()