summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-10-31 08:52:11 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-03 17:40:41 +0000
commited7b305146ccc446fc036e33d38556f93e1d80d5 (patch)
tree1e88959f68938e2d6552b5f8414638cbdc0f8c37
parent6e74dd3eee18d166cbdc07d0565b0c8db5f2ba46 (diff)
downloadpoky-ed7b305146ccc446fc036e33d38556f93e1d80d5.tar.gz
busybox: Omit trailing whitespaces
(From OE-Core rev: e76e1cb7d1c109455ad6cf64244549966b93008e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/busybox/busybox.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index c203f2f8f1..22972baaae 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -451,7 +451,7 @@ pkg_postinst:${PN}:prepend () {
451 # Need path to saved utils, but they may have be removed on upgrade of busybox 451 # Need path to saved utils, but they may have be removed on upgrade of busybox
452 # Only use shell to get paths. Also capture if busybox was saved. 452 # Only use shell to get paths. Also capture if busybox was saved.
453 BUSYBOX="" 453 BUSYBOX=""
454 if [ "x$D" = "x" ] ; then 454 if [ "x$D" = "x" ] ; then
455 for busybox_rmdir in /tmp/busyboxrm-*; do 455 for busybox_rmdir in /tmp/busyboxrm-*; do
456 if [ "$busybox_rmdir" != '/tmp/busyboxrm-*' ] ; then 456 if [ "$busybox_rmdir" != '/tmp/busyboxrm-*' ] ; then
457 export PATH=$busybox_rmdir:$PATH 457 export PATH=$busybox_rmdir:$PATH
@@ -471,7 +471,7 @@ pkg_postinst:${PN}:append () {
471 rm -f $BUSYBOX 471 rm -f $BUSYBOX
472 fi 472 fi
473 fi 473 fi
474} 474}
475 475
476pkg_prerm:${PN} () { 476pkg_prerm:${PN} () {
477 # This is so you can make busybox commit suicide - removing busybox with no other packages 477 # This is so you can make busybox commit suicide - removing busybox with no other packages
@@ -499,7 +499,7 @@ pkg_prerm:${PN} () {
499 if [ -n "$(readlink -f /bin/sh | grep busybox)" ] ; then 499 if [ -n "$(readlink -f /bin/sh | grep busybox)" ] ; then
500 BUSYBOX=$(readlink -f /bin/sh) 500 BUSYBOX=$(readlink -f /bin/sh)
501 cp $BUSYBOX $tmpdir/$(basename $BUSYBOX) 501 cp $BUSYBOX $tmpdir/$(basename $BUSYBOX)
502 update-alternatives --install /bin/sh sh $tmpdir/$(basename $BUSYBOX) 1 502 update-alternatives --install /bin/sh sh $tmpdir/$(basename $BUSYBOX) 1
503 fi 503 fi
504} 504}
505 505