From 1cc2e56f56711e546fa939e00bf08f505761e05a Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Sun, 23 May 2010 19:29:11 +0000 Subject: Do not adjust dates of activities --- diff --git a/modules/base/preimage.90.core.sh b/modules/base/preimage.90.core.sh index 7f4baf0..e4af35c 100644 --- a/modules/base/preimage.90.core.sh +++ b/modules/base/preimage.90.core.sh @@ -93,7 +93,7 @@ find $fsmount/usr/share -xdev -name "*.py[oc]" -delete # normalize mtimes of all files echo "Normalize file times..." -find $fsmount -xdev -print0 | xargs -0 touch -c -d "$OLPC_EPOCH" || : +find $fsmount -xdev -path $fsmount/home/olpc/Activities -prune -o -print0 | xargs -0 touch -c -d "$OLPC_EPOCH" || : # now regenerate the .pyc files # (add -OO to generate .pyo files instead when we tackle dlo trac #8431) @@ -127,7 +127,7 @@ fi # now normalize mtimes again echo "Normalize file times..." -find $fsmount -xdev -print0 | xargs -0 touch -c -d "$OLPC_EPOCH" || : +find $fsmount -xdev -path $fsmount/home/olpc/Activities -prune -o -print0 | xargs -0 touch -c -d "$OLPC_EPOCH" || : # now that we've generated the .contents file, its important that nobody # makes any more changes to the files. let's try and be sure of that -- cgit v0.9.1