diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-18 12:59:37 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-18 12:59:37 +1200 |
| commit | a7321eb6608a6592da4292260e290b43da6838a7 (patch) | |
| tree | af2e61ce3de1c2efd7657555b83692eba41c69d4 /meta-yerba/recipes-core/runit/runit-dhcpcd.bb | |
| parent | 029944432c9a49f645a54c073a24580b8b89a1a6 (diff) | |
| download | yerbalinux-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.bb | 13 |
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 +} |
