wok diff busybox/receipt @ rev 11017

ssfs-busybox: wanted busybox
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 13 16:56:20 2011 +0200 (2011-10-13)
parents 46c3a889a648
children a6b781a0cffb
line diff
     1.1 --- a/busybox/receipt	Fri Jul 15 11:34:28 2011 +0200
     1.2 +++ b/busybox/receipt	Thu Oct 13 16:56:20 2011 +0200
     1.3 @@ -53,12 +53,27 @@
     1.4      make &&
     1.5      make install
     1.6      } || return 1
     1.7 +
     1.8 +    # prepare busybox-pam package
     1.9      sed -i 's/# CONFIG_PAM is not set/CONFIG_PAM=y/' .config
    1.10      make oldconfig && make || return 1
    1.11      mv busybox busybox-pam
    1.12 +
    1.13 +    # prepare busybox-static package
    1.14      cp $stuff/$PACKAGE-${VERSION%.*}.config-static .config
    1.15      make oldconfig && make || return 1
    1.16      mv busybox busybox-static
    1.17 +
    1.18 +    # prepare ssfs-busybox package
    1.19 +    rootfs=$src/ssfs-busybox/usr/share/ssfs/rootfs
    1.20 +    mkdir -p $rootfs/etc
    1.21 +    cp $stuff/$PACKAGE-${VERSION%.*}.config-ssfs .config
    1.22 +    make oldconfig && make busybox &&
    1.23 +    make CONFIG_PREFIX=$rootfs install || return 1
    1.24 +    cp $stuff/busybox.conf-ssfs $rootfs/etc/busybox.conf
    1.25 +    chown -R 0.0 $rootfs/etc
    1.26 +    chmod 0600 $rootfs/etc/busybox.conf
    1.27 +    chmod 4755 $rootfs/bin/busybox
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.