diff options
author | John Klug <john.klug@multitech.com> | 2020-11-11 18:48:27 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-11-11 18:48:27 -0600 |
commit | b00be59bbc49535097c450b6b8c5fc10c1efd6dd (patch) | |
tree | 25cf0e14f66c5fca1cfe41b31bf862d60a36cf12 /recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend | |
parent | db088915be6dca3f09dedbcdaa7264d9271b1c74 (diff) | |
download | meta-mlinux-b00be59bbc49535097c450b6b8c5fc10c1efd6dd.tar.gz meta-mlinux-b00be59bbc49535097c450b6b8c5fc10c1efd6dd.tar.bz2 meta-mlinux-b00be59bbc49535097c450b6b8c5fc10c1efd6dd.zip |
Merge multiarch project to: added missing index file 2020 June 11GitosisMultiarch
Diffstat (limited to 'recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend')
-rw-r--r-- | recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend index be33f10..9b7e787 100644 --- a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend +++ b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend @@ -4,9 +4,11 @@ SUMMARY_${PN}-start = "Production console" SERIAL_CONSOLES_append_mtcdt = " 115200;ttyGS0" PACKAGES =+ "${PN}-start ${PN}-start-open" FILESEXTRAPATHS_prepend := "${THISDIR}/files:" -SRC_URI += "file://start_getty_open" +SRC_URI += "file://start_getty_open \ + file://bootlogd \ + " -FILES_${PN} = "${sysconfdir}/inittab" +FILES_${PN} = "${sysconfdir}/inittab ${sysconfdir}/default/bootlogd" FILES_${PN}-start = "${base_bindir}/start_getty" FILES_${PN}-start-open = "${base_bindir}/start_getty_open" RCONFLICTS_${PN}-start = "${PN}-start-open" @@ -15,6 +17,8 @@ RDEPENDS_${PN}-start-open = "${PN}" do_install_append() { install -m 0755 ${WORKDIR}/start_getty_open ${D}${base_bindir}/start_getty_open + install -d ${D}{sysconfdir}/default + install -m 0644 ${WORKDIR}/bootlogd ${D}{sysconfdir}/default/ } pkg_postinst_${PN}-start-open() { sed -i 's?^S0:.*?S0:12345:respawn:/bin/start_getty_open 115200 ttyS0?' $D/etc/inittab |