Fix for hardened/selinux systems to have extened attributes, per r2d2's request
authorEric Edgar <rocket@gentoo.org>
Tue, 12 Jul 2005 18:53:02 +0000 (18:53 +0000)
committerEric Edgar <rocket@gentoo.org>
Tue, 12 Jul 2005 18:53:02 +0000 (18:53 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@253 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_compile.sh

index d2b9f953fee8a2af914346288e72d39fa6cf40f8..9b51053f7d935b6ad9a190c1ca44144bb18ed855 100644 (file)
@@ -269,6 +269,11 @@ compile_unionfs_modules() {
                cd "${UNIONFS_DIR}"
                print_info 1 'unionfs modules: >> Compiling...'
                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' ]
                then
                        # Setup the kernel sources to compile modules