diff options
author | Joe MacDonald <joe_macdonald@mentor.com> | 2017-04-10 09:03:11 -0400 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-04-27 14:57:27 -0400 |
commit | 60ec38e8fa76b7954a84e0498aea483f0c458ffd (patch) | |
tree | 2ef69c317931bee49b2acd1025b4318bd9844c75 | |
parent | 3b5e6bd92ef9638ba06002dc785a30d0893d9966 (diff) | |
download | meta-selinux-60ec38e8fa76b7954a84e0498aea483f0c458ffd.tar.gz |
minimum build changes
Not intended as a final patch, this is just a quick hack for master-next
to enable building meta-selinux on current yocto base images.
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | recipes-devtools/rpm/rpm/rpm-fix-build-bug.patch | 22 | ||||
-rw-r--r-- | recipes-devtools/rpm/rpm_%.bbappend (renamed from recipes-devtools/rpm/rpm_5.4.16.bbappend) | 2 | ||||
-rw-r--r-- | recipes-extended/findutils/findutils_4.2.31.bbappend | 7 |
3 files changed, 0 insertions, 31 deletions
diff --git a/recipes-devtools/rpm/rpm/rpm-fix-build-bug.patch b/recipes-devtools/rpm/rpm/rpm-fix-build-bug.patch deleted file mode 100644 index 2ae406b..0000000 --- a/recipes-devtools/rpm/rpm/rpm-fix-build-bug.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | From: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
2 | Date: Mon, 25 Jun 2012 15:08:03 +0800 | ||
3 | Subject: [PATCH] rpm: fix build bug. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | --- | ||
7 | rpmio/macro.c | 2 +- | ||
8 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
9 | |||
10 | Index: rpm-5.4.15/rpmio/macro.c | ||
11 | =================================================================== | ||
12 | --- rpm-5.4.15.orig/rpmio/macro.c | ||
13 | +++ rpm-5.4.15/rpmio/macro.c | ||
14 | @@ -111,7 +111,7 @@ const char * rpmMacrofiles = MACROFILES; | ||
15 | #endif | ||
16 | |||
17 | /*@unchecked@*/ | ||
18 | -#if defined(WITH_AUGEAS) || defined(WITH_FICL) || defined(WITH_MOZJS) || defined(WITH_NIX) || defined(WITH_PERLEMBED) || defined(WITH_PYTHONEMBED) || defined(WITH_RUBYEMBED) || defined(WITH_SQLITE) || defined(WITH_SQUIRREL) || defined(WITH_TCL) | ||
19 | +#if defined(WITH_AUGEAS) || defined(WITH_FICL) || defined(WITH_GPSEE) || defined(WITH_NIX) || defined(WITH_PERLEMBED) || defined(WITH_PYTHONEMBED) || defined(WITH_RUBYEMBED) || defined(WITH_SQLITE) || defined(WITH_SQUIRREL) || defined(WITH_TCL) || defined(WITH_SELINUX) | ||
20 | static int _globalI = 0x80000000; | ||
21 | #endif | ||
22 | |||
diff --git a/recipes-devtools/rpm/rpm_5.4.16.bbappend b/recipes-devtools/rpm/rpm_%.bbappend index 2a41a28..199a7e4 100644 --- a/recipes-devtools/rpm/rpm_5.4.16.bbappend +++ b/recipes-devtools/rpm/rpm_%.bbappend | |||
@@ -1,7 +1,5 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
2 | 2 | ||
3 | SRC_URI += "file://rpm-fix-build-bug.patch \ | ||
4 | " | ||
5 | FILES_${PN} += "${libdir}/rpm/bin/spooktool \ | 3 | FILES_${PN} += "${libdir}/rpm/bin/spooktool \ |
6 | ${libdir}/rpm/bin/semodule \ | 4 | ${libdir}/rpm/bin/semodule \ |
7 | " | 5 | " |
diff --git a/recipes-extended/findutils/findutils_4.2.31.bbappend b/recipes-extended/findutils/findutils_4.2.31.bbappend deleted file mode 100644 index 4c9495e..0000000 --- a/recipes-extended/findutils/findutils_4.2.31.bbappend +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | PR .= ".2" | ||
2 | |||
3 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" | ||
4 | |||
5 | SRC_URI += "file://findutils-selinux.patch" | ||
6 | |||
7 | inherit with-selinux | ||