Fix for hardened/selinux systems to have extened attributes, per r2d2's request

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@253 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Eric Edgar 20 years ago
parent 7b4a6eb417
commit 4b15b4b187

@ -269,6 +269,11 @@ compile_unionfs_modules() {
cd "${UNIONFS_DIR}" cd "${UNIONFS_DIR}"
print_info 1 'unionfs modules: >> Compiling...' print_info 1 'unionfs modules: >> Compiling...'
sed -i Makefile -e "s|LINUXSRC =.*|LINUXSRC =${KERNEL_DIR}|g" sed -i Makefile -e "s|LINUXSRC =.*|LINUXSRC =${KERNEL_DIR}|g"
#Fix for hardened/selinux systems to have extened attributes
#per r2d2's request
sed -i Makefile -e "s|# \(EXTRACFLAGS=-DUNIONFS_XATTR -DFIST_SETXATTR_CONSTVOID\)|\1|g"
if [ "${PAT}" -ge '6' ] if [ "${PAT}" -ge '6' ]
then then
# Setup the kernel sources to compile modules # Setup the kernel sources to compile modules

Loading…
Cancel
Save