Skip to contentSkip to conversation

debianutils: create package for run-parts

PATCH New Joe Slater 1 participant 1 message Sep 2, 2015

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 debianutils: create package for run-parts

Also add an RDEPENDS to dpkg so it will still
pull in run-parts.

---
 .../debianutils/debianutils_4.5.1.bb               |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
meta/recipes-support/debianutils/debianutils_4.5.1.bb +10 -1
index 9e5dd70..6b665fb 100644
@@ -26,8 +26,17 @@ do_install_append() {
     fi
 }
 
+# Note that we package the update-alternatives name.
+#
+PACKAGES =+ "${PN}-run-parts"
+FILES_${PN}-run-parts = "${base_bindir}/run-parts.debianutils"
+
+RDEPENDS_${PN} += "${PN}-run-parts"
+
+
 ALTERNATIVE_PRIORITY="100"
-ALTERNATIVE_${PN} = "add-shell installkernel remove-shell run-parts savelog tempfile which"
+ALTERNATIVE_${PN} = "add-shell installkernel remove-shell savelog tempfile which"
+ALTERNATIVE_${PN}-run-parts = "run-parts"
 
 ALTERNATIVE_LINK_NAME[add-shell]="${sbindir}/add-shell"
 ALTERNATIVE_LINK_NAME[installkernel]="${sbindir}/installkernel"
Signature · 1 line
1.7.9.5