Update mtime of chroot when building

Makes the chroot mtime a useful indicator of last usage.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
Jan Alexander Steffens (heftig) 2014-05-04 05:07:46 +02:00 committed by Pierre Schmitz
parent fdd079f3d5
commit 0b2ae245f1
1 changed files with 3 additions and 0 deletions

View File

@ -157,6 +157,9 @@ create_chroot() {
# Drop the read lock again
exec 8>&-
fi
# Update mtime
touch "$copydir"
}
clean_temporary() {