Fixed up linking for dmraid for bug #157538.
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 13 Dec 2006 17:55:36 +0000 (17:55 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 13 Dec 2006 17:55:36 +0000 (17:55 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@468 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
gen_compile.sh

index dbc928ede445b8545bf709bf10213c7d56049065..40e724a7a6da3cb789bf380efe729f9eb350e531 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 2006-2006 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> gen_compile.sh:
+  Fixed up linking for dmraid for bug #157538.
+
   13 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> alpha/busy-config,
   ia64/busy-config, parisc/busy-config, parisc64/busy-config,
   ppc/busy-config, ppc64/busy-config, sparc/busy-config,
index 8f476421ef5f047ac31fded6ba02d0c9d0038a9a..8be3556779c7fa3b9abb690ad7d13b872edf0370 100644 (file)
@@ -514,7 +514,8 @@ compile_dmraid() {
                                gen_die 'Configure of dmraid failed!'
                                
                        #We dont necessarily have selinux installed yet .. look into selinux global support in the future.
-                       sed -i tools/Makefile -e "s|DMRAIDLIBS += -lselinux||g"
+                       # sed -i tools/Makefile -e "s|DMRAIDLIBS += -lselinux||g"
+                       echo "DMRAIDLIBS += -lselinux -lsepol" >> tools/Makefile
                mkdir -p "${TEMP}/dmraid"
                print_info 1 'dmraid: >> Compiling...'
                        compile_generic '' utils