[PATCH 2/9] Use wildcard in bind bbappend name


Armin Kuster
 

bind: Use wildcard to minimize the need to keep in-sync
with poky.

Signed-off-by: Armin Kuster <akuster808@...>
---
recipes-connectivity/bind/bind_9.%.bbappend | 13 +++++++++++++
recipes-connectivity/bind/bind_9.8.1.bbappend | 13 -------------
2 files changed, 13 insertions(+), 13 deletions(-)
create mode 100644 recipes-connectivity/bind/bind_9.%.bbappend
delete mode 100644 recipes-connectivity/bind/bind_9.8.1.bbappend

diff --git a/recipes-connectivity/bind/bind_9.%.bbappend b/recipes-connectivity/bind/bind_9.%.bbappend
new file mode 100644
index 0000000..3500b9a
--- /dev/null
+++ b/recipes-connectivity/bind/bind_9.%.bbappend
@@ -0,0 +1,13 @@
+PR .= ".1"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+SRC_URI += "file://volatiles.04_bind"
+
+do_install_append() {
+ install -d ${D}${sysconfdir}/default/volatiles
+ install -m 0644 ${WORKDIR}/volatiles.04_bind ${D}${sysconfdir}/default/volatiles/volatiles.04_bind
+
+ sed -i '/^\s*\/usr\/sbin\/rndc-confgen/a\
+ [ -x /sbin/restorecon ] && /sbin/restorecon -F /etc/bind/rndc.key' ${D}${sysconfdir}/init.d/bind
+}
diff --git a/recipes-connectivity/bind/bind_9.8.1.bbappend b/recipes-connectivity/bind/bind_9.8.1.bbappend
deleted file mode 100644
index a15e045..0000000
--- a/recipes-connectivity/bind/bind_9.8.1.bbappend
+++ /dev/null
@@ -1,13 +0,0 @@
-PR .= ".3"
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-
-SRC_URI += "file://volatiles.04_bind"
-
-do_install_append() {
- install -d ${D}${sysconfdir}/default/volatiles
- install -m 0644 ${WORKDIR}/volatiles.04_bind ${D}${sysconfdir}/default/volatiles/volatiles.04_bind
-
- sed -i '/^\s*\/usr\/sbin\/rndc-confgen/a\
- [ -x /sbin/restorecon ] && /sbin/restorecon -F /etc/bind/rndc.key' ${D}${sysconfdir}/init.d/bind
-}
--
1.9.1

Join yocto@lists.yoctoproject.org to automatically receive all group messages.