All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Explicitly set CHECKPOLICY path to native sysroot.
@ 2013-10-04 16:39 Philip Tricca
  2013-10-04 17:23 ` Philip Tricca
  0 siblings, 1 reply; 6+ messages in thread
From: Philip Tricca @ 2013-10-04 16:39 UTC (permalink / raw)
  To: meta-virtualization

This prevents the Xen 'configure' script from using the
checkpolicy binary from the host system if it's installed.
---
 recipes-extended/xen/xen_4.3.0.bb |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-extended/xen/xen_4.3.0.bb b/recipes-extended/xen/xen_4.3.0.bb
index 2e1a29f..5d26000 100644
--- a/recipes-extended/xen/xen_4.3.0.bb
+++ b/recipes-extended/xen/xen_4.3.0.bb
@@ -557,6 +557,9 @@ export CROSS_COMPILE="${TARGET_PREFIX}"
 # overide LDFLAGS to allow xen to build without: "x86_64-oe-linux-ld: unrecognized option '-Wl,-O1'"
 export LDFLAGS=""
 
+# use checkpolicy from  sysroot
+export CHECKPOLICY="${STAGING_DIR_NATIVE}${bindir}/checkpolicy"
+
 do_configure() {
     # fixup qemu-xen-traditional pciutils check hardcoded to test ${includedir}/pci
     sed -i 's/\/usr\/include\/pci/$(STAGING_INCDIR)\/pci/g' ${S}/tools/qemu-xen-traditional/xen-hooks.mak
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-10-11 18:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-04 16:39 [PATCH] Explicitly set CHECKPOLICY path to native sysroot Philip Tricca
2013-10-04 17:23 ` Philip Tricca
2013-10-09  9:14   ` David Nyström
2013-10-11  3:21     ` Bruce Ashfield
2013-10-11  8:09       ` David Nyström
2013-10-11 18:36       ` Philip Tricca

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.