diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2011-03-04 12:01:50 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2011-03-04 12:01:50 +0100 |
commit | 31ad8ce7130bb732ee7e0b7cd1f8f0b47d93e8ed (patch) | |
tree | 021bc5af67527faf538a0a7ddeb2fe6f12ead373 /auto/build | |
parent | abd81c507273d1820d00d545c0ac9099998d4510 (diff) | |
parent | 4b0deb206a6497ab090190fbbdb0086645301b4f (diff) | |
download | kanotix-31ad8ce7130bb732ee7e0b7cd1f8f0b47d93e8ed.zip kanotix-31ad8ce7130bb732ee7e0b7cd1f8f0b47d93e8ed.tar.gz |
Merge branch 'master' of ssh://home.acritox.de/data/git/kanotix
Diffstat (limited to 'auto/build')
-rwxr-xr-x | auto/build | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -30,11 +30,17 @@ prebuild() # make current build configuration available for hooks inside chroot mkdir -p config/chroot_local-includes/root cat config/* 2>/dev/null | grep ^LB_ > config/chroot_local-includes/root/build.conf + + if [ -d cache/stages_bootstrap ]; then + bsbit=$(file cache/stages_bootstrap/bin/true | grep -q "ELF 64-bit" && echo 64 || echo 32) + mv cache/stages_bootstrap cache/stages_bootstrap$bsbit + fi + [ -d cache/stages_bootstrap$bit ] && mv cache/stages_bootstrap$bit cache/stages_bootstrap } postbuild() { - : + [ -d cache/stages_bootstrap ] && mv cache/stages_bootstrap cache/stages_bootstrap$bit } if [ "$LB_KANOTIX_TMPFS" = "true" ]; then |