Skip to contentSkip to conversation

rpm: modify the rpm bbappend file to suitable for rpm4

PATCH Superseded Dengke Du 1 participant 2 messages May 9, 2017

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Dengke Du

author
#0 lore raw

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.

---
 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
deleted file mode 100644
index 2a41a28..0000000
@@ -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
new file mode 100644
index 0000000..9f3ec90
@@ -0,0 +1,4 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+inherit with-selinux
+PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"
Signature · 1 line
2.8.1
author
#1 lore raw

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.

---
  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
deleted file mode 100644
index 2a41a28..0000000
@@ -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
new file mode 100644
index 0000000..9f3ec90
@@ -0,0 +1,4 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+inherit with-selinux
+PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"