aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox-inittab_1.32.0.bb
diff options
context:
space:
mode:
authorAndrej Valek <andrej.valek@siemens.com>2020-07-03 10:42:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-03 20:16:20 +0100
commit2ccac58c2346b5a253dd065e5456c5bdaee2c99d (patch)
tree82ab5955cf52843dcfce7cfc425397896ded7603 /meta/recipes-core/busybox/busybox-inittab_1.32.0.bb
parente15cc7801ec611f867f5b31028741722ac718c87 (diff)
downloadopenembedded-core-contrib-2ccac58c2346b5a253dd065e5456c5bdaee2c99d.tar.gz
openembedded-core-contrib-2ccac58c2346b5a253dd065e5456c5bdaee2c99d.tar.bz2
openembedded-core-contrib-2ccac58c2346b5a253dd065e5456c5bdaee2c99d.zip
busybox: 1.31.1 -> 1.32.0
- update to last stable version 1.32.0 - remove and refresh already merged patches Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox-inittab_1.32.0.bb')
-rw-r--r--meta/recipes-core/busybox/busybox-inittab_1.32.0.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-inittab_1.32.0.bb b/meta/recipes-core/busybox/busybox-inittab_1.32.0.bb
new file mode 100644
index 0000000000..61fb8cbad1
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox-inittab_1.32.0.bb
@@ -0,0 +1,35 @@
+SUMMARY = "inittab configuration for BusyBox"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI = "file://inittab"
+
+S = "${WORKDIR}"
+
+INHIBIT_DEFAULT_DEPS = "1"
+
+do_compile() {
+ :
+}
+
+do_install() {
+ install -d ${D}${sysconfdir}
+ install -D -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab
+ tmp="${SERIAL_CONSOLES}"
+ [ -n "$tmp" ] && echo >> ${D}${sysconfdir}/inittab
+ for i in $tmp
+ do
+ j=`echo ${i} | sed s/\;/\ /g`
+ id=`echo ${i} | sed -e 's/^.*;//' -e 's/;.*//'`
+ echo "$id::respawn:${base_sbindir}/getty ${j}" >> ${D}${sysconfdir}/inittab
+ done
+}
+
+# SERIAL_CONSOLES is generally defined by the MACHINE .conf.
+# Set PACKAGE_ARCH appropriately.
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+FILES_${PN} = "${sysconfdir}/inittab"
+CONFFILES_${PN} = "${sysconfdir}/inittab"
+
+RCONFLICTS_${PN} = "sysvinit-inittab"