cookutils diff cooker @ rev 1146
cook: allow built in aufs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 28 07:28:04 2020 +0000 (2020-07-28) |
parents | a8676623b936 |
children | e58a083722aa |
line diff
1.1 --- a/cooker Fri Jan 18 01:06:00 2019 +0200 1.2 +++ b/cooker Tue Jul 28 07:28:04 2020 +0000 1.3 @@ -294,7 +294,7 @@ 1.4 fi 1.5 unset HOST_ARCH 1.6 else 1.7 - # HOST_ARCH not set --> package is suitable for current ARCH (equivalent to "any") 1.8 + # HOST_ARCH not set --> package is suitable for current ARCH 1.9 count=$(($count + 1)) 1.10 echo "Adding: $pkg" 1.11 touch $pkg/arch.$ARCH 1.12 @@ -663,7 +663,7 @@ 1.13 # clean DB as well as log file. 1.14 cd $wok 1.15 for pkg in *; do 1.16 - if [ ! -d "$wok-hg/$pkg" ]; then 1.17 + if [ ! -d "$wok-hg/$pkg" -o -e "$wok-hg/$pkg/.hidden" ]; then 1.18 echo "Removing package: $pkg" | log_commits 1.19 if [ -s $wok/$pkg/receipt ]; then 1.20 . $wok/$pkg/receipt