summaryrefslogtreecommitdiffstats
path: root/encap
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-10-04 11:50:44 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-10-04 11:50:44 +0000
commit22985371e8f7956e9cf6ca80a40baa5da5950f85 (patch)
tree5b6254c6be81ec04acda70cebf1bb078c39c823f /encap
parent744b6ea932fdf7a9a321abbdc8d9bc71e9d8f3e5 (diff)
downloadbcfg2-22985371e8f7956e9cf6ca80a40baa5da5950f85.tar.gz
bcfg2-22985371e8f7956e9cf6ca80a40baa5da5950f85.tar.bz2
bcfg2-22985371e8f7956e9cf6ca80a40baa5da5950f85.zip
EncapPackages: Added detection of some additional GNU/Linux platforms
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2382 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap')
-rw-r--r--encap/src/encap-profiles/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/encap/src/encap-profiles/Makefile b/encap/src/encap-profiles/Makefile
index af17d4d59..9e0edde9e 100644
--- a/encap/src/encap-profiles/Makefile
+++ b/encap/src/encap-profiles/Makefile
@@ -48,7 +48,7 @@ UNAME := $(shell uname)
ifeq ($(UNAME),Linux)
sources_ep += $(BCFG2_GLIB) $(BCFG2_GAMIN)
-DISTRO := $(shell cat /etc/issue | head -1)
+DISTRO := $(shell cat /etc/issue | grep ^[a-zA-Z] | head -1)
endif
ifeq ($(DISTRO),Debian GNU/Linux 3.1 \n \l)
@@ -66,6 +66,22 @@ BCFG2_PYTHON_APT = bcfg2-python-apt-0.6.16.2ubuntu8
OS ?= linux_ubuntu_dapper
endif
+ifeq ($(DISTRO),Red Hat Linux release 6.0 (Hedwig))
+OS ?= linux_redhat_60
+endif
+
+ifeq ($(DISTRO),Red Hat Linux release 7.2 (Enigma))
+OS ?= linux_redhat_72
+endif
+
+ifeq ($(DISTRO),Welcome to SuSE SLES 8 (powered by UnitedLinux 1.0) (i586))
+OS ?= linux_suse_sles8
+endif
+
+ifeq ($(DISTRO),Welcome to SUSE Linux Enterprise Server 10 (i586) - Kernel \r (\l).)
+OS ?= linux_suse_sles10
+endif
+
ifdef BCFG2_PYTHON_APT
sources_ep += $(BCFG2_PYTHON_APT)
endif