busybox: drop unused mount.busybox and umount.busybox wrappers
PATCH 1/3 busybox: drop unused mount.busybox and umount.busybox wrappers
Signed-off-by Andre McCurdy <[email protected]>
--- meta/recipes-core/busybox/busybox_1.31.0.bb | 2 -- meta/recipes-core/busybox/files/mount.busybox | 3 --- meta/recipes-core/busybox/files/umount.busybox | 3 --- 3 files changed, 8 deletions(-) delete mode 100755 meta/recipes-core/busybox/files/mount.busybox delete mode 100755 meta/recipes-core/busybox/files/umount.busybox
meta/recipes-core/busybox/busybox_1.31.0.bb +0 -2
@@ -9,7 +9,6 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://default.script \ file://simple.script \ file://hwclock.sh \ - file://mount.busybox \ file://syslog \ file://syslog-startup.conf \ file://syslog.conf \
@@ -17,7 +16,6 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://mdev \ file://mdev.conf \ file://mdev-mount.sh \ - file://umount.busybox \ file://defconfig \ file://busybox-syslog.service.in \ file://busybox-klogd.service.in \
meta/recipes-core/busybox/files/mount.busybox deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -exec /bin/busybox mount $@
meta/recipes-core/busybox/files/umount.busybox deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -exec /bin/busybox umount $@
Signature · 1 line
2.23.0
PATCH 2/3 busybox: drop inittab from SRC_URI ( now moved to busybox-inittab )
The reference to inittab should have been removed from busybox SRC_URI when the file was moved into the busybox-inittab recipe:
http://git.openembedded.org/openembedded-core/commit/?id=afb09abd2f0f7555ba156260a87fd3867f591310
Signed-off-by Andre McCurdy <[email protected]>
--- meta/recipes-core/busybox/busybox_1.31.0.bb | 1 - 1 file changed, 1 deletion(-)
meta/recipes-core/busybox/busybox_1.31.0.bb +0 -1
@@ -36,7 +36,6 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ ${@["", "file://mdev.cfg"][(d.getVar('VIRTUAL-RUNTIME_dev_manager') == 'busybox-mdev')]} \ file://syslog.cfg \ file://unicode.cfg \ - file://inittab \ file://rcS \ file://rcK \ file://makefile-libbb-race.patch \
Signature · 1 line
2.23.0
PATCH 3/3 busybox-inittab: minor formatting tweaks
In reply to Andre McCurdyAdd an empty line to inittab before the line(s) which start getty.
Also cleanup indent in recipe do_install().
Signed-off-by Andre McCurdy <[email protected]>
--- .../busybox/busybox-inittab_1.31.0.bb | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)
meta/recipes-core/busybox/busybox-inittab_1.31.0.bb +10 -9
@@ -13,15 +13,16 @@ do_compile() { } do_install() { - install -d ${D}${sysconfdir} - install -D -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab - tmp="${SERIAL_CONSOLES}" - 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 + 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.
Signature · 1 line
2.23.0
Re: [PATCH 3/3] busybox-inittab: minor formatting tweaks
Quoted 5 lines · Andre McCurdy
Add an empty line to inittab before the line(s) which start getty.
Also cleanup indent in recipe
do_install().Signed-off-by Andre McCurdy <[email protected]>
Reviewed-by Denys Dmytriyenko <[email protected]>
Quoted 42 lines
--- .../busybox/busybox-inittab_1.31.0.bb | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)meta/recipes-core/busybox/busybox-inittab_1.31.0.bb +10
-9@@ -13,15 +13,16 @@ do_compile() { } do_install() { - install -d ${D}${sysconfdir} - install -D -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab - tmp="${SERIAL_CONSOLES}" - 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 + 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.Signature · 7 lines
2.23.0 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core