wok-4.x rev 5748

busybox: ensure mod is 4755
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 02 12:30:41 2010 +0200 (2010-07-02)
parents 12a4bb727c8a
children 4420ba71beb4
files busybox-pam/receipt busybox/receipt postgresql/receipt
line diff
     1.1 --- a/busybox-pam/receipt	Fri Jul 02 04:59:35 2010 +0000
     1.2 +++ b/busybox-pam/receipt	Fri Jul 02 12:30:41 2010 +0200
     1.3 @@ -49,6 +49,7 @@
     1.4  genpkg_rules()
     1.5  {
     1.6      cp -a $src/_install/* $fs
     1.7 +    chmod 4755 $fs/bin/busybox
     1.8      rm -f $fs/sbin/depmod $fs/usr/bin/ar
     1.9      cp -a stuff/etc $fs
    1.10      mkdir -p $fs/etc/init.d
     2.1 --- a/busybox/receipt	Fri Jul 02 04:59:35 2010 +0000
     2.2 +++ b/busybox/receipt	Fri Jul 02 12:30:41 2010 +0200
     2.3 @@ -51,6 +51,7 @@
     2.4  genpkg_rules()
     2.5  {
     2.6      cp -a $src/_install/* $fs
     2.7 +    chmod 4755 $fs/bin/busybox
     2.8      rm -f $fs/sbin/depmod $fs/usr/bin/ar
     2.9      mkdir -p $fs/etc/init.d
    2.10      # Busybox config files.
     3.1 --- a/postgresql/receipt	Fri Jul 02 04:59:35 2010 +0000
     3.2 +++ b/postgresql/receipt	Fri Jul 02 12:30:41 2010 +0200
     3.3 @@ -58,6 +58,7 @@
     3.4  	if ! grep -q postgres $1/etc/passwd; then
     3.5  		echo -n "Adding user postgres..."
     3.6  		chroot $1/ adduser postgres -D -H -h /var/lib/pgsql
     3.7 +		rm -f /var/lib/pgsql/.* /var/lib/pgsql/*
     3.8  		# ensure not to overload tux user
     3.9  		i=1100
    3.10  		while grep -q ":$i:" $1/etc/passwd ; do i=$(( $i + 1 )); done