X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=febootstrap-to-supermin.sh;h=b6a2fd9daffc02ee05edaf797429116739a01e42;hb=541798d3e07fc50c41b2893b8938e6872d956867;hp=086ee02fe9fceaac6ee956b41ad15a961d2ae4ad;hpb=dc8ddc36b3f23348ed4990b8b6a81bf0c763bc7e;p=febootstrap.git diff --git a/febootstrap-to-supermin.sh b/febootstrap-to-supermin.sh index 086ee02..b6a2fd9 100755 --- a/febootstrap-to-supermin.sh +++ b/febootstrap-to-supermin.sh @@ -98,11 +98,15 @@ while read path <&7; do if [ "$path" = "./fakeroot.log" ]; then : - # All we're going to keep are the special files /init, the daemon, + # All we're going to keep are the special files /init, # configuration files (/etc), devices and modifiable stuff (/var). elif [ "$path" = "./init" ]; then echo "$path" >&5 + # Get timezone configuration from local system. + elif [ "$path" = "./etc/localtime" ]; then + echo "$path" >&6 + elif [[ "$path" =~ $p_etc || "$path" =~ $p_dev || "$path" =~ $p_var ]] then echo "$path" >&5