summaryrefslogtreecommitdiffstats
path: root/remote/includes
diff options
context:
space:
mode:
authorJonathan Bauer2014-07-17 15:27:13 +0200
committerJonathan Bauer2014-07-17 15:27:13 +0200
commite57c4f6109c698431a6bd1fa39e3e293570f6cd4 (patch)
tree91f1f61e80bcc5f31cbf176561fe5044c6e5c7fb /remote/includes
parent[rfs-s32] remove jfs stuff from configs as we dont use it (diff)
downloadtm-scripts-e57c4f6109c698431a6bd1fa39e3e293570f6cd4.tar.gz
tm-scripts-e57c4f6109c698431a6bd1fa39e3e293570f6cd4.tar.xz
tm-scripts-e57c4f6109c698431a6bd1fa39e3e293570f6cd4.zip
new 'stage32-headless' target. Started centos support. WIP
Use stage32-headless to build on CentOS. Stage32-bwlp won't work yet.
Diffstat (limited to 'remote/includes')
-rw-r--r--remote/includes/distribution.inc2
-rw-r--r--remote/includes/system.inc6
2 files changed, 4 insertions, 4 deletions
diff --git a/remote/includes/distribution.inc b/remote/includes/distribution.inc
index 137da7ef..485d1224 100644
--- a/remote/includes/distribution.inc
+++ b/remote/includes/distribution.inc
@@ -18,7 +18,7 @@ detect_distribution () {
PACKET_MANAGER="zypper"
PACKET_HANDLER="rpm"
;;
- scientific|fedora)
+ centos|scientific|fedora)
PACKET_MANAGER="yum"
PACKET_HANDLER="rpm"
;;
diff --git a/remote/includes/system.inc b/remote/includes/system.inc
index 17a80761..03c455e4 100644
--- a/remote/includes/system.inc
+++ b/remote/includes/system.inc
@@ -19,9 +19,8 @@ export MAKEFLAGS="-j$CPU_CORES"
if [ "$(uname -m)x" = "x86_64x" ]; then
# Setting LIB64, as openSuse differentiates but Ubuntu does not:
case $SYS_DISTRIBUTION in
- ubuntu | debian) LIB64="lib" ;;
- opensuse) LIB64="lib64" ;;
- fedora) LIB64="lib64" ;;
+ ubuntu | debian) LIB64="lib" ;;
+ opensuse | fedora | centos) LIB64="lib64" ;;
*) perror "Cannot set LIB64, SYS_DISTRIBUTION: $SYS_DISTRIBUTION unknown!" ;;
esac
AMD64_I386=amd64
@@ -36,3 +35,4 @@ else
ARCHREGEX="(i[3456]86|x86[_-]32)"
fi
+pinfo "LIB64 is: $LIB64"