From 0b2ae245f1d18e4b0702b5ca1cec323308daef0c Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Sun, 4 May 2014 05:07:46 +0200 Subject: Update mtime of chroot when building Makes the chroot mtime a useful indicator of last usage. Signed-off-by: Pierre Schmitz --- makechrootpkg.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/makechrootpkg.in b/makechrootpkg.in index 9db0ddd..47c6ac9 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -157,6 +157,9 @@ create_chroot() { # Drop the read lock again exec 8>&- fi + + # Update mtime + touch "$copydir" } clean_temporary() { -- cgit v1.2.3-70-g09d2