No consistancy in Make variable names
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.
Signature · 10 lines
------------------------------------------------------
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.Quoted 7 lines · Dale Amon
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.
Signature · 10 lines
------------------------------------------------------
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.Quoted 7 lines · Dale Amon
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
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.