]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
busybox: enable 'resize' in defconfig ChenQi/busybox-resize
authorChen Qi <Qi.Chen@windriver.com>
Fri, 21 Nov 2014 09:43:58 +0000 (04:43 -0500)
committerChen Qi <Qi.Chen@windriver.com>
Fri, 21 Nov 2014 10:18:57 +0000 (18:18 +0800)
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@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@windriver.com>
meta/recipes-core/busybox/busybox/defconfig

index 8394067bedfb6b1510c40721dec4a9c9403d6031..0ebe83d93d05a6b5988bc58b09c039d2c924481d 100644 (file)
@@ -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