From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [patch] Xen build - Debian vs Redhat layout patch options Date: Wed, 15 Sep 2010 18:16:19 +0200 Message-ID: <20100915161618.GA17432@aepfle.de> References: <19599.43888.826450.690087@mariner.uk.xensource.com> <19600.39408.486631.15438@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Bruce Edge Cc: "xen-devel@lists.xensource.com" , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Wed, Sep 15, Bruce Edge wrote: > Something like this: > > ifeq ($(DISTRO_TYPE),redhat) > SYSCONFIG_DIR = $(CONFIG_DIR)/sysconfig > SUBSYS_DIR = /var/run/subsys > INITD_DIR = /etc/rc.d/init.d > endif > > ifeq ($(DISTRO_TYPE),debian) > SYSCONFIG_DIR = $(CONFIG_DIR)/default > SUBSYS_DIR = /var/run > INITD_DIR = /etc/init.d > endif SuSE has /etc/sysconfig, /var/run and /etc/init.d Olaf