cookutils rev 935

Fix previous commit.
But we can - not remove packages at all - while we working inside aufs chroot.
Only several packages builds not using aufs (and that builds almost always are buggy).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 18 23:27:33 2017 +0300 (2017-06-18)
parents e4202f708ddb
children 49ff02f8d304
files cook
line diff
     1.1 --- a/cook	Sun Jun 18 22:33:58 2017 +0300
     1.2 +++ b/cook	Sun Jun 18 23:27:33 2017 +0300
     1.3 @@ -648,6 +648,9 @@
     1.4  	[ -n "$BUILD_DEPENDS" ] && _ 'Checking build dependencies...'
     1.5  	[ -n "$root" ] && _ 'Using packages DB: %s' "$root$DB"
     1.6  
     1.7 +	# Get the list of installed packages
     1.8 +	cd $root$INSTALLED; ls > $CACHE/installed.list
     1.9 +
    1.10  	for action in check install; do
    1.11  		for dep in $BUILD_DEPENDS; do
    1.12  			implicit="${dep%-dev}"; [ "$implicit" == "$dep" ] && implicit=''
    1.13 @@ -675,9 +678,6 @@
    1.14  		done
    1.15  	done
    1.16  
    1.17 -	# Get the list of installed packages
    1.18 -	cd $root$INSTALLED; ls > $CACHE/installed.list
    1.19 -
    1.20  #	# Have we a missing build dep to cook?
    1.21  #	if [ -s "$CACHE/missing.dep" ] && [ -n "$AUTO_COOK" ]; then
    1.22  #		_ 'Auto cook config is set: %s' "$AUTO_COOK"