From a7321eb6608a6592da4292260e290b43da6838a7 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Thu, 18 Jun 2026 12:59:37 +1200 Subject: Fix up the serialgetty recipe to use proper file structure, and add a dhcpcd recipe --- meta-yerba/recipes-core/runit/runit-dhcpcd.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-yerba/recipes-core/runit/runit-dhcpcd.bb (limited to 'meta-yerba/recipes-core/runit/runit-dhcpcd.bb') 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 +} -- cgit v1.2.3