cookutils diff cook @ rev 683

cook: install package outside the aufs jail
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 12 08:24:44 2014 +0000 (2014-05-12)
parents 386a41f07fa9
children e843fa34b0d7
line diff
     1.1 --- a/cook	Sun May 11 14:00:23 2014 +0200
     1.2 +++ b/cook	Mon May 12 08:24:44 2014 +0000
     1.3 @@ -940,8 +940,8 @@
     1.4  	rm -rf ${base}rw
     1.5  	umount ${base}root
     1.6  	rmdir $base*
     1.7 -	# Dont install pkg twice... it's done after
     1.8 -	#install_package
     1.9 +	# Install package outside the aufs jail
    1.10 +	install_package
    1.11  	exit $status
    1.12  }
    1.13  
    1.14 @@ -1594,7 +1594,8 @@
    1.15  		summary | tee -a $LOGS/$pkg.log
    1.16  		newline
    1.17  
    1.18 -		# We may want to install/update.
    1.19 +		# We may want to install/update (outside aufs jail !).
    1.20 +		[ -s /aufs-umount.sh ] ||
    1.21  		install_package
    1.22  
    1.23  		# Finally we DON'T WANT to build the *-dev or packages with WANTED="$pkg"