summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Loibl <aloibl@dasajuma.(none)>2010-09-02 14:55:03 +0200
committerAndreas Loibl <aloibl@dasajuma.(none)>2010-09-02 14:55:03 +0200
commitd9fd9f9b3935f61d6bc1cd8057d827fd55573853 (patch)
tree11228def939711bf74c65ec217d4ab3421b7688d
parent54fdeef9a550267f86324bb31ff421c33772b5ae (diff)
downloadkanotix-d9fd9f9b3935f61d6bc1cd8057d827fd55573853.zip
kanotix-d9fd9f9b3935f61d6bc1cd8057d827fd55573853.tar.gz
updated kanotix-version auto-update
-rwxr-xr-xauto/build8
-rw-r--r--config/chroot_local-includes/etc/kanotix-version2
2 files changed, 7 insertions, 3 deletions
diff --git a/auto/build b/auto/build
index 75f0931..e55b879 100755
--- a/auto/build
+++ b/auto/build
@@ -1,6 +1,10 @@
#!/bin/bash
-# Update kanotix-version timestamp
-perl -pi -e "s|[0-9]+-[0-9]+:[0-9]+|$(date +%Y%m%d-%H:%M)|" config/chroot_local-includes/etc/kanotix-version
+. config/bootstrap
+bit=32
+[ "$LH_ARCHITECTURE" = "amd64" ] && bit=64
+
+# Update kanotix-version (32/64-bit and timestamp)
+perl -pi -e "s%(Kanotix|Excalibur|Hellfire)(32|64)%\${1}$bit%i; s%(32|64)(bit)%$bit\${2}%i; s|[0-9]+-[0-9]+:[0-9]+|$(date +%Y%m%d-%H:%M)|" config/chroot_local-includes/etc/kanotix-version
lh build noauto ${@} 2>&1 | tee binary.log
diff --git a/config/chroot_local-includes/etc/kanotix-version b/config/chroot_local-includes/etc/kanotix-version
index d9e9c23..887f2bb 100644
--- a/config/chroot_local-includes/etc/kanotix-version
+++ b/config/chroot_local-includes/etc/kanotix-version
@@ -1 +1 @@
-Kanotix Hellfire 20100902-10:32
+Kanotix Hellfire 64bit 20100902-14:54