wok-next rev 14006

get-wifi-firmware, phpvirtualbox: fix chroot in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 17 18:16:25 2013 +0100 (2013-02-17)
parents bc7e7bf309a8
children 6d82665228b2
files get-wifi-firmware/receipt phpvirtualbox/receipt
line diff
     1.1 --- a/get-wifi-firmware/receipt	Sat Feb 16 21:14:52 2013 +0000
     1.2 +++ b/get-wifi-firmware/receipt	Sun Feb 17 18:16:25 2013 +0100
     1.3 @@ -21,6 +21,6 @@
     1.4  	[ -s /etc/resolv.conf -a ! -s $1/etc/resolv.conf ] && install_resolver=true
     1.5  	$install_resolver && cp /etc/resolv.conf $1/etc/resolv.conf
     1.6  	# directly support some freely distributable firmware drivers 
     1.7 -	chroot $1 /usr/bin/get-wifi-firmware --get-free-firmware
     1.8 +	chroot $1/ /usr/bin/get-wifi-firmware --get-free-firmware
     1.9  	$install_resolver && rm -f $1/etc/resolv.conf
    1.10  }
     2.1 --- a/phpvirtualbox/receipt	Sat Feb 16 21:14:52 2013 +0000
     2.2 +++ b/phpvirtualbox/receipt	Sun Feb 17 18:16:25 2013 +0100
     2.3 @@ -25,7 +25,7 @@
     2.4  {
     2.5  	# Virtualbox OSE needs to disable authenication for vboxwebsrv
     2.6  	[ -d $1/var/lib/tazpkg/installed/virtualbox ] ||
     2.7 -	chroot $1 VBoxManage setproperty websrvauthlibrary null 
     2.8 +	chroot $1/ VBoxManage setproperty websrvauthlibrary null 
     2.9  
    2.10  	# Configure lighttpd server
    2.11  	if [ -f $1/etc/lighttpd/lighttpd.conf ]; then