diff options
author | Dustin Bain <dustin.bain@garmin.com> | 2019-02-05 09:31:44 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-06 08:29:07 +0000 |
commit | d1a67109ea52444d60ef6d7282929c9cd6012624 (patch) | |
tree | 04d34132374c28ca9a3abdeccac3d214a4dbc691 /meta/recipes-core/busybox/busybox-inittab_1.29.3.bb | |
parent | ca8d1c52c4772caf5f52ff31f315e9619104f5fc (diff) | |
download | poky-d1a67109ea52444d60ef6d7282929c9cd6012624.tar.gz |
busybox: update to 1.29.3
Updates busybox to version 1.29.3 to fix a bug related to parsing of
config files: 2993551ef ("Revert "libbb: remove unnecessary variable in
xmalloc_fgets"")
Upgrading the recipe was chosen instead of backporting the fix as a
patch because the only difference between version 1.29.2 and 1.29.3 is
this revert.
(From OE-Core rev: 11d4fd16c3d7dad5d7e3b4d44a96724075be7126)
Signed-off-by: Dustin Bain <dustin.bain@garmin.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox-inittab_1.29.3.bb')
-rw-r--r-- | meta/recipes-core/busybox/busybox-inittab_1.29.3.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-inittab_1.29.3.bb b/meta/recipes-core/busybox/busybox-inittab_1.29.3.bb new file mode 100644 index 0000000000..a83620e859 --- /dev/null +++ b/meta/recipes-core/busybox/busybox-inittab_1.29.3.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | SUMMARY = "inittab configuration for BusyBox" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | ||
4 | |||
5 | SRC_URI = "file://inittab" | ||
6 | |||
7 | S = "${WORKDIR}" | ||
8 | |||
9 | INHIBIT_DEFAULT_DEPS = "1" | ||
10 | |||
11 | do_compile() { | ||
12 | : | ||
13 | } | ||
14 | |||
15 | do_install() { | ||
16 | install -d ${D}${sysconfdir} | ||
17 | install -D -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab | ||
18 | tmp="${SERIAL_CONSOLES}" | ||
19 | for i in $tmp | ||
20 | do | ||
21 | j=`echo ${i} | sed s/\;/\ /g` | ||
22 | id=`echo ${i} | sed -e 's/^.*;//' -e 's/;.*//'` | ||
23 | echo "$id::respawn:${base_sbindir}/getty ${j}" >> ${D}${sysconfdir}/inittab | ||
24 | done | ||
25 | } | ||
26 | |||
27 | # SERIAL_CONSOLES is generally defined by the MACHINE .conf. | ||
28 | # Set PACKAGE_ARCH appropriately. | ||
29 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
30 | |||
31 | FILES_${PN} = "${sysconfdir}/inittab" | ||
32 | CONFFILES_${PN} = "${sysconfdir}/inittab" | ||