[OE-core] [PATCH 1/1] busybox: enable 'resize' in defconfig

Chen Qi Qi.Chen at windriver.com
Fri Nov 21 10:22:02 UTC 2014


Previously, if we have 'bash' installed in our image, we would have the
problem of long command rewriting on the same line which is really annoying.
For example, we might get the following output.

g commandx86:~# echo this is a very very very very long long long long lon

In fact, we are just trying to execute:
root at qemux86:~# echo this is a very very very very long long long long long command

/etc/profile would execute '/usr/bin/resize' if it's available. We need
this command so that we wouldn't get obscure output.

The 'resize' command can be provided by 'xterm' (in meta-oe) or busybox.
So we enable 'resize' in defconfig of busybox to make things work.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 meta/recipes-core/busybox/busybox/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/busybox/busybox/defconfig b/meta/recipes-core/busybox/busybox/defconfig
index 8394067..0ebe83d 100644
--- a/meta/recipes-core/busybox/busybox/defconfig
+++ b/meta/recipes-core/busybox/busybox/defconfig
@@ -327,7 +327,7 @@ CONFIG_LOADFONT=y
 CONFIG_LOADKMAP=y
 CONFIG_OPENVT=y
 CONFIG_RESET=y
-# CONFIG_RESIZE is not set
+CONFIG_RESIZE=y
 # CONFIG_FEATURE_RESIZE_PRINT is not set
 CONFIG_SETCONSOLE=y
 # CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set
-- 
1.9.1




More information about the Openembedded-core mailing list