aboutsummaryrefslogtreecommitdiff
path: root/meta-yerba/recipes-core/runit/runit-dhcpcd.bb
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-18 12:59:37 +1200
committerArslaan Pathan <[email protected]>2026-06-18 12:59:37 +1200
commita7321eb6608a6592da4292260e290b43da6838a7 (patch)
treeaf2e61ce3de1c2efd7657555b83692eba41c69d4 /meta-yerba/recipes-core/runit/runit-dhcpcd.bb
parent029944432c9a49f645a54c073a24580b8b89a1a6 (diff)
downloadyerbalinux-a7321eb6608a6592da4292260e290b43da6838a7.tar.xz
yerbalinux-a7321eb6608a6592da4292260e290b43da6838a7.zip
Fix up the serialgetty recipe to use proper file structure, and add a dhcpcd recipe
Diffstat (limited to 'meta-yerba/recipes-core/runit/runit-dhcpcd.bb')
-rw-r--r--meta-yerba/recipes-core/runit/runit-dhcpcd.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-yerba/recipes-core/runit/runit-dhcpcd.bb b/meta-yerba/recipes-core/runit/runit-dhcpcd.bb
new file mode 100644
index 0000000..d28e747
--- /dev/null
+++ b/meta-yerba/recipes-core/runit/runit-dhcpcd.bb
@@ -0,0 +1,13 @@
+SUMMARY = "dhcpcd service for runit"
+DESCRIPTION = "Provides a dhcpcd service for runit"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+SRC_URI = "file://run"
+
+RDEPENDS:${PN} = "runit"
+do_install() {
+ install -d ${D}/etc/runit/sv/dhcpcd ${D}/etc/service
+ install -m 0755 ${WORKDIR}/run ${D}/etc/runit/sv/dhcpcd/run
+ ln -sf /etc/runit/sv/dhcpcd ${D}/etc/service/dhcpcd
+}