summaryrefslogtreecommitdiff
path: root/distrib/miniroot/list2sh.awk
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-05-05 05:46:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-05-05 05:46:32 +0000
commitb68b13f2ba5b34a4d242bab1145b15a48f099f82 (patch)
tree062974d9835049eb25edeab8be0cff35dcb5db13 /distrib/miniroot/list2sh.awk
parentff0d029fb42b040b58da120903b4077ecb7310bf (diff)
Add a mechanism to build a false hierarchy of the zoneinfo on
the ramdisk
Diffstat (limited to 'distrib/miniroot/list2sh.awk')
-rw-r--r--distrib/miniroot/list2sh.awk7
1 files changed, 6 insertions, 1 deletions
diff --git a/distrib/miniroot/list2sh.awk b/distrib/miniroot/list2sh.awk
index 17d7de5cb84..5d897d7c61a 100644
--- a/distrib/miniroot/list2sh.awk
+++ b/distrib/miniroot/list2sh.awk
@@ -1,4 +1,4 @@
-# $OpenBSD: list2sh.awk,v 1.13 2009/04/17 03:50:53 deraadt Exp $
+# $OpenBSD: list2sh.awk,v 1.14 2009/05/05 05:46:31 deraadt Exp $
# $NetBSD: list2sh.awk,v 1.2 1996/05/04 15:45:31 pk Exp $
BEGIN {
@@ -64,6 +64,11 @@ $1 == "HASH" {
printf("(cd ${TARGDIR}; sh $UTILS/makehash.sh var/hash $REV $RELEASEDIR)\n");
next;
}
+$1 == "TZ" {
+ printf("echo '%s'\n", $0);
+ printf("(cd ${TARGDIR}; sh $UTILS/maketz.sh $DESTDIR)\n");
+ next;
+}
$1 == "COPYDIR" {
printf("echo '%s'\n", $0);
printf("(cd ${TARGDIR}/%s && find . ! -name . | xargs /bin/rm -rf)\n",