I'm trying to modify the Makefile's for building
to a target build directory and/or an install time
selected destination, ie /usr vs /usr/local.
The biggest difficulty I'm having is a lack of consistancy in labeling. DESTDIR means one thing in one of the makefiles and something entirely different in another.
It really would be a good idea to clean up this nomenclature.
I was going to use DESTDIR for the target root and BASEDIR for the location of selinux; I've just run into other uses of DESTDIR that will force me to start over with a less standard labelling.
util is the biggest hassle to modify needless to say.
--
Nuke bin Laden: Dale Amon, CEO/MD
improve the global Islandone Society
gene pool. www.islandone.org
------------------------------------------------------
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
On Sun, Dec 16, 2001 at 03:24:08AM +0000, Dale Amon wrote:
> I was going to use DESTDIR for the target root
> and BASEDIR for the location of selinux; I've just
> run into other uses of DESTDIR that will force me
> to start over with a less standard labelling.
>
> util is the biggest hassle to modify needless to
> say.
I might add that I'm getting close. I've a patch that sets all of the makefiles to allow use of
BUILDDIR
and/or
SBASEDIR
which default to
BUILDDIR= SBASEDIR=$(BUILDDIR)/usr/local
I'll have to run down loads of probs yet I'm sure, but I'm close to getting everything installed relative to a buildroot rather than /.
I just know there will be a few compiled in paths to sort out and I'm already suspicious of the USRSBINDIR setting in MCONFIG but haven't checked what it is doing yet.
--
------------------------------------------------------
Nuke bin Laden: Dale Amon, CEO/MD
improve the global Islandone Society
gene pool. www.islandone.org
------------------------------------------------------
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
From: Stephen Smalley <sds_at_tislabs.com>
On Sun, 16 Dec 2001, Dale Amon wrote:
> The biggest difficulty I'm having is a lack of
> consistancy in labeling. DESTDIR means one thing
> in one of the makefiles and something entirely
> different in another.
>
> It really would be a good idea to clean up this
> nomenclature.
This isn't a priority for us, but we'll gratefully accept patches to make the Makefiles consistent. While you can freely modify the Makefiles that are completely "new" in SELinux, you should seek to minimize changes to the Makefiles for the modified daemons and utilities, since we would like to keep the patches against these packages small and to the point.
-- Stephen D. Smalley, NAI Labs ssmalley@nai.com -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.
This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:54 EDT