Adjust selinux stuff in gen_compile.sh to actually do what we intended, not the opposite.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@473 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 18 years ago
parent 3a3822f3bb
commit 2056384a90

@ -2,6 +2,10 @@
# Copyright 2006-2006 Gentoo Foundation; Distributed under the GPL v2 # Copyright 2006-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
14 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> gen_compile.sh:
Adjust selinux stuff in gen_compile.sh to actually do what we intended, not
the opposite.
14 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> gen_compile.sh: 14 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> gen_compile.sh:
Since device-mapper tries to build with selinux by default, we've removed Since device-mapper tries to build with selinux by default, we've removed
it, then commented out the selinux support. The ebuild will need to it, then commented out the selinux support. The ebuild will need to

@ -739,10 +739,9 @@ compile_device_mapper() {
[ ! -d "${DEVICE_MAPPER_DIR}" ] && [ ! -d "${DEVICE_MAPPER_DIR}" ] &&
gen_die "device-mapper directory ${DEVICE_MAPPER_DIR} invalid" gen_die "device-mapper directory ${DEVICE_MAPPER_DIR} invalid"
cd "${DEVICE_MAPPER_DIR}" cd "${DEVICE_MAPPER_DIR}"
mymapperconf="--enable-static_link" ./configure --prefix=${TEMP}/device-mapper --enable-static_link \
###mymapperconf="--disable-selinux ${mymapperconf}" --disable-selinux >> ${DEBUGFILE} 2>&1 ||
./configure --prefix=${TEMP}/device-mapper ${mymapperconf} \ gen_die 'Configuring device-mapper failed!'
>> ${DEBUGFILE} 2>&1 || gen_die 'Configuring device-mapper failed!'
print_info 1 'device-mapper: >> Compiling...' print_info 1 'device-mapper: >> Compiling...'
compile_generic '' utils compile_generic '' utils
compile_generic 'install' utils compile_generic 'install' utils

Loading…
Cancel
Save