From 22985371e8f7956e9cf6ca80a40baa5da5950f85 Mon Sep 17 00:00:00 2001 From: Daniel Joseph Barnhart Clark Date: Wed, 4 Oct 2006 11:50:44 +0000 Subject: 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 --- encap/src/encap-profiles/Makefile | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'encap') 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 -- cgit v1.2.3-1-g7c22