wok rev 5125

openvas-scanner pango slitaz-base-files ttf-bitstream-vera xfree86-base-fonts xorg-base-fonts: force path in chroot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 21 12:10:25 2010 +0100 (2010-03-21)
parents db63cccdb8d4
children 9cc2b61f2bfe
files openvas-scanner/receipt pango/receipt slitaz-base-files/receipt ttf-bitstream-vera/receipt xfree86-base-fonts/receipt xorg-base-fonts/receipt
line diff
     1.1 --- a/openvas-scanner/receipt	Sun Mar 21 11:50:42 2010 +0100
     1.2 +++ b/openvas-scanner/receipt	Sun Mar 21 12:10:25 2010 +0100
     1.3 @@ -36,7 +36,8 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	[ -s $1/var/lib/openvas/CA/cacert.pem ] || chroot $1/ openvas-mkcert <<EOT
     1.8 +	[ -s $1/var/lib/openvas/CA/cacert.pem ] || 
     1.9 +	chroot $1/ /usr/sbin/openvas-mkcert <<EOT
    1.10  
    1.11  
    1.12  $(. /etc/locale.conf ; echo ${LANG#*_})
     2.1 --- a/pango/receipt	Sun Mar 21 11:50:42 2010 +0100
     2.2 +++ b/pango/receipt	Sun Mar 21 12:10:25 2010 +0100
     2.3 @@ -43,5 +43,5 @@
     2.4  {
     2.5      echo "Processing post-install commands..."
     2.6      # Rebuils pango.modules when installed.
     2.7 -    chroot $1/ pango-querymodules > $1/etc/pango/pango.modules
     2.8 +    chroot $1/ /usr/bin/pango-querymodules > $1/etc/pango/pango.modules
     2.9  }
     3.1 --- a/slitaz-base-files/receipt	Sun Mar 21 11:50:42 2010 +0100
     3.2 +++ b/slitaz-base-files/receipt	Sun Mar 21 12:10:25 2010 +0100
     3.3 @@ -98,7 +98,7 @@
     3.4  	chmod 640 $root/etc/gshadow
     3.5  
     3.6  	if ! grep -q audio $root/etc/group; then
     3.7 -		chroot $root/ addgroup -g 20 audio
     3.8 +		chroot $root/ /bin/addgroup -g 20 audio
     3.9  	fi
    3.10  
    3.11  	# daemons.conf (tftp + dnsd)
     4.1 --- a/ttf-bitstream-vera/receipt	Sun Mar 21 11:50:42 2010 +0100
     4.2 +++ b/ttf-bitstream-vera/receipt	Sun Mar 21 12:10:25 2010 +0100
     4.3 @@ -25,5 +25,5 @@
     4.4    local root
     4.5    root=$1
     4.6    echo "Processing post-install commands..."
     4.7 -  chroot $root/ fc-cache
     4.8 +  chroot $root/ /usr/bin/fc-cache
     4.9  }
     5.1 --- a/xfree86-base-fonts/receipt	Sun Mar 21 11:50:42 2010 +0100
     5.2 +++ b/xfree86-base-fonts/receipt	Sun Mar 21 12:10:25 2010 +0100
     5.3 @@ -21,5 +21,5 @@
     5.4  {
     5.5  	local root
     5.6  	root=$1
     5.7 -	chroot $root/ fc-cache
     5.8 +	chroot $root/ /usr/bin/fc-cache
     5.9  }
     6.1 --- a/xorg-base-fonts/receipt	Sun Mar 21 11:50:42 2010 +0100
     6.2 +++ b/xorg-base-fonts/receipt	Sun Mar 21 12:10:25 2010 +0100
     6.3 @@ -21,5 +21,5 @@
     6.4  {
     6.5  	local root
     6.6  	root=$1
     6.7 -	chroot $root/ fc-cache
     6.8 +	chroot $root/ /usr/bin/fc-cache
     6.9  }