summaryrefslogtreecommitdiff
path: root/auto/build
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-03-04 16:04:17 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2011-03-04 16:04:17 +0100
commit7cf0807c369e63faf122a7cca15f6835efd1d988 (patch)
tree7507eb3e5e334e6e09bc74925add1ab9ea0786fb /auto/build
parent0cde2f4001082b913b0e607165290abb41e347b6 (diff)
downloadkanotix-7cf0807c369e63faf122a7cca15f6835efd1d988.zip
kanotix-7cf0807c369e63faf122a7cca15f6835efd1d988.tar.gz
32/64bit labels
Diffstat (limited to 'auto/build')
-rwxr-xr-xauto/build6
1 files changed, 5 insertions, 1 deletions
diff --git a/auto/build b/auto/build
index 733e76c..4a3745c 100755
--- a/auto/build
+++ b/auto/build
@@ -4,7 +4,8 @@
. config/common
. config/kanotix
bit=32
-[ "$LB_ARCHITECTURE" = "amd64" ] && bit=64
+LABEL=Kanotix
+[ "$LB_ARCHITECTURE" = "amd64" ] && bit=64 && LABEL=${LABEL}64
# Update kanotix-version (32/64-bit and timestamp)
[ ! -f config/chroot_local-includes/etc/kanotix-version ] && echo "Kanotix Hellfire 0000-00:00" > config/chroot_local-includes/etc/kanotix-version
@@ -36,11 +37,14 @@ prebuild()
mv cache/stages_bootstrap cache/stages_bootstrap$bsbit
fi
[ -d cache/stages_bootstrap$bit ] && mv cache/stages_bootstrap$bit cache/stages_bootstrap
+ rm -f kanotix$bit.iso
+ echo "LB_SYSLINUX_MENU_LIVE_ENTRY=\"$LABEL\"" >> config/binary
}
postbuild()
{
[ -d cache/stages_bootstrap ] && mv cache/stages_bootstrap cache/stages_bootstrap$bit
+ [ -f binary-hybrid.iso ] && mv -f binary-hybrid.iso kanotix$bit.iso
}
if [ "$LB_KANOTIX_TMPFS" = "true" ]; then