rpm: modify the rpm bbappend file to suitable for rpm4
PATCH 1/1 rpm: modify the rpm bbappend file to suitable for rpm4
1. change the rpm_5.4.16.bbappend to rpm_git.bbappend, this is because the rpm in oe-core has become rpm4 from rpm5.
2. drop the patch for rpm5.
3. delete the does not exist files when run task do_package.
Signed-off-by Dengke Du <[email protected]>
--- recipes-devtools/rpm/rpm_5.4.16.bbappend | 10 ---------- recipes-devtools/rpm/rpm_git.bbappend | 4 ++++ 2 files changed, 4 insertions(+), 10 deletions(-) delete mode 100644 recipes-devtools/rpm/rpm_5.4.16.bbappend create mode 100644 recipes-devtools/rpm/rpm_git.bbappend
recipes-devtools/rpm/rpm_5.4.16.bbappend deleted +0 -10
@@ -1,10 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI += "file://rpm-fix-build-bug.patch \ - " -FILES_${PN} += "${libdir}/rpm/bin/spooktool \ - ${libdir}/rpm/bin/semodule \ - " - -inherit with-selinux -PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"
recipes-devtools/rpm/rpm_git.bbappend new file +4 -0
@@ -0,0 +1,4 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +inherit with-selinux +PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"
Signature · 1 line
2.8.1
Please ignore this, thanks.
Quoted 41 lines · Dengke Du
1. change the rpm_5.4.16.bbappend to rpm_git.bbappend, this is because the rpm in oe-core has become rpm4 from rpm5.
2. drop the patch for rpm5.
3. delete the does not exist files when run task
do_package.Signed-off-by Dengke Du <[email protected]>--- recipes-devtools/rpm/rpm_5.4.16.bbappend | 10 ---------- recipes-devtools/rpm/rpm_git.bbappend | 4 ++++ 2 files changed, 4 insertions(+), 10 deletions(-)delete mode 100644 recipes-devtools/rpm/rpm_5.4.16.bbappend create mode 100644 recipes-devtools/rpm/rpm_git.bbappend
recipes-devtools/rpm/rpm_5.4.16.bbappend deleted +0
-10@@ -1,10 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI += "file://rpm-fix-build-bug.patch \ - " -FILES_${PN} += "${libdir}/rpm/bin/spooktool \ - ${libdir}/rpm/bin/semodule \ - " - -inherit with-selinux -PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"recipes-devtools/rpm/rpm_git.bbappend new file +4
-0@@ -0,0 +1,4 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +inherit with-selinux +PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"