Makes the chroot mtime a useful indicator of last usage.
---
 makechrootpkg.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/makechrootpkg.in b/makechrootpkg.in
index d03b703..6f63f58 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -158,6 +158,9 @@ create_chroot() {
                # Drop the read lock again
                exec 8>&-
        fi
+
+       # Update mtime
+       touch "$copydir"
 }
 
 clean_temporary() {
-- 
1.9.2

Reply via email to