wok-next rev 20667

qemu/qemu-light: race condition, ppp/sane-backends: set group
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 11 09:27:12 2018 +0200 (2018-05-11)
parents f46ee669e874
children 94fc545eb649
files ppp/receipt qemu-light/receipt qemu/receipt sane-backends/receipt
line diff
     1.1 --- a/ppp/receipt	Fri May 11 03:09:34 2018 +0300
     1.2 +++ b/ppp/receipt	Fri May 11 09:27:12 2018 +0200
     1.3 @@ -44,6 +44,8 @@
     1.4  			CONFIG_FILES="/etc/ppp/options /etc/ppp/*secrets"
     1.5  			mkdir -p $fs/usr $fs/var/www/tazpanel/menu.d/network/VPN
     1.6  			cp -a $install/usr/sbin $fs/usr
     1.7 +			chgrp dialout $fs/usr/sbin/pppd
     1.8 +			chmod 4750 $fs/usr/sbin/pppd
     1.9  			[ -d "$install/usr/lib" ] && cp -a $install/usr/lib $fs/usr
    1.10  			cp -a   $stuff/ppp.cgi $fs/var/www/tazpanel
    1.11  			ln -s    ../../ppp.cgi $fs/var/www/tazpanel/menu.d/network/ppp
     2.1 --- a/qemu-light/receipt	Fri May 11 03:09:34 2018 +0300
     2.2 +++ b/qemu-light/receipt	Fri May 11 09:27:12 2018 +0200
     2.3 @@ -37,7 +37,7 @@
     2.4  		--target-list="$TARGET" \
     2.5  		--cc=$BUILD_SYSTEM-gcc &&
     2.6  	make &&
     2.7 -	make DESTDIR=$DESTDIR install
     2.8 +	make -j 1 DESTDIR=$DESTDIR install
     2.9  }
    2.10  
    2.11  genpkg_rules() {
     3.1 --- a/qemu/receipt	Fri May 11 03:09:34 2018 +0300
     3.2 +++ b/qemu/receipt	Fri May 11 09:27:12 2018 +0200
     3.3 @@ -41,7 +41,7 @@
     3.4  		--target-list="$TARGET" \
     3.5  		--cc=$BUILD_SYSTEM-gcc &&
     3.6  	make &&
     3.7 -	make DESTDIR=$DESTDIR install || return 1
     3.8 +	make -j 1 DESTDIR=$DESTDIR install || return 1
     3.9  
    3.10  	ln -s qemu-system-i386   $install/usr/bin/qemu
    3.11  	ln -s qemu-system-arm    $install/usr/bin/qemu-arm
     4.1 --- a/sane-backends/receipt	Fri May 11 03:09:34 2018 +0300
     4.2 +++ b/sane-backends/receipt	Fri May 11 09:27:12 2018 +0200
     4.3 @@ -69,6 +69,8 @@
     4.4  	if ! grep -q scanner "$1/etc/group" ; then
     4.5  		chroot "$1/" addgroup -g 96 scanner
     4.6  	fi
     4.7 +	chroot "$1/" chgrp scanner /usr/bin/scanimage
     4.8 +	chmod 4750 $1/usr/bin/scanimage
     4.9  
    4.10  	echo " ADD yourself to group scanner to use sane: addgroup tux scanner"
    4.11