[OE-core] [PATCH 11/11] busybox: enable resize applet

Andre McCurdy armccurdy at gmail.com
Fri Nov 6 08:47:11 UTC 2015


The /etc/profile script contains a call to resize, which improves
the usability of shells run on the serial console.

  http://git.openembedded.org/openembedded-core/commit/?id=cc6360f4c4d97e0000f9d3545f381224ee99ce7d

Unfortunately the resize applet is not currently enabled in busybox
defconfig, so resize is never called. Fix that.

Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
 meta/recipes-core/busybox/busybox/resize.cfg | 2 ++
 meta/recipes-core/busybox/busybox_1.24.1.bb  | 1 +
 meta/recipes-core/busybox/busybox_git.bb     | 1 +
 3 files changed, 4 insertions(+)
 create mode 100644 meta/recipes-core/busybox/busybox/resize.cfg

diff --git a/meta/recipes-core/busybox/busybox/resize.cfg b/meta/recipes-core/busybox/busybox/resize.cfg
new file mode 100644
index 0000000..a1d9c95
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/resize.cfg
@@ -0,0 +1,2 @@
+CONFIG_RESIZE=y
+CONFIG_FEATURE_RESIZE_PRINT=y
diff --git a/meta/recipes-core/busybox/busybox_1.24.1.bb b/meta/recipes-core/busybox/busybox_1.24.1.bb
index 92bbee1..7d2a7b2 100644
--- a/meta/recipes-core/busybox/busybox_1.24.1.bb
+++ b/meta/recipes-core/busybox/busybox_1.24.1.bb
@@ -36,6 +36,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
            file://sha1sum.cfg \
            file://sha256sum.cfg \
            file://getopts.cfg \
+           file://resize.cfg \
 "
 
 SRC_URI[tarball.md5sum] = "be98a40cadf84ce2d6b05fa41a275c6a"
diff --git a/meta/recipes-core/busybox/busybox_git.bb b/meta/recipes-core/busybox/busybox_git.bb
index d968fad..220977a 100644
--- a/meta/recipes-core/busybox/busybox_git.bb
+++ b/meta/recipes-core/busybox/busybox_git.bb
@@ -42,6 +42,7 @@ SRC_URI = "git://busybox.net/busybox.git \
            file://sha1sum.cfg \
            file://sha256sum.cfg \
            file://getopts.cfg \
+           file://resize.cfg \
 "
 
 DEFAULT_PREFERENCE = "-1"
-- 
1.9.1




More information about the Openembedded-core mailing list