# HG changeset patch # User Aleksej Bobylev # Date 1497817653 -10800 # Node ID a0a11452517acac6928c1b00d0df4bdb8903f373 # Parent e4202f708ddb17f5f8d3e98e1c16124495009645 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). diff -r e4202f708ddb -r a0a11452517a cook --- a/cook Sun Jun 18 22:33:58 2017 +0300 +++ b/cook Sun Jun 18 23:27:33 2017 +0300 @@ -648,6 +648,9 @@ [ -n "$BUILD_DEPENDS" ] && _ 'Checking build dependencies...' [ -n "$root" ] && _ 'Using packages DB: %s' "$root$DB" + # Get the list of installed packages + cd $root$INSTALLED; ls > $CACHE/installed.list + for action in check install; do for dep in $BUILD_DEPENDS; do implicit="${dep%-dev}"; [ "$implicit" == "$dep" ] && implicit='' @@ -675,9 +678,6 @@ done done - # Get the list of installed packages - cd $root$INSTALLED; ls > $CACHE/installed.list - # # Have we a missing build dep to cook? # if [ -s "$CACHE/missing.dep" ] && [ -n "$AUTO_COOK" ]; then # _ 'Auto cook config is set: %s' "$AUTO_COOK"