diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-20 14:10:06 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-20 14:10:06 +1200 |
| commit | c7e499357fac8bfdf3bd11550a6ed3187d46efc6 (patch) | |
| tree | cedaef9237d69c649b25c9d5f93bcd2819acf25e /meta-yerba/recipes-core/runit/runit-tty0-getty.bb | |
| parent | 00ac78984c30beb67e3fe1a1f7ab524f4752f7c0 (diff) | |
| download | yerbalinux-c7e499357fac8bfdf3bd11550a6ed3187d46efc6.tar.xz yerbalinux-c7e499357fac8bfdf3bd11550a6ed3187d46efc6.zip | |
tty0 getty
Diffstat (limited to 'meta-yerba/recipes-core/runit/runit-tty0-getty.bb')
| -rw-r--r-- | meta-yerba/recipes-core/runit/runit-tty0-getty.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-yerba/recipes-core/runit/runit-tty0-getty.bb b/meta-yerba/recipes-core/runit/runit-tty0-getty.bb new file mode 100644 index 0000000..a9d31e4 --- /dev/null +++ b/meta-yerba/recipes-core/runit/runit-tty0-getty.bb @@ -0,0 +1,16 @@ +SUMMARY = "tty0 getty service for runit" +DESCRIPTION = "Provides a getty service on the tty0 virtual console 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/tty0-getty ${D}/etc/service/ + install -m 0755 ${WORKDIR}/run ${D}/etc/runit/sv/tty0-getty/run + ln -sf /etc/runit/sv/tty0-getty ${D}/etc/service/tty0-getty +} + +FILES:${PN} = "/etc/service/tty0-getty /etc/runit/sv/tty0-getty" |
