Skip to contentSkip to conversation

busybox: enable 'resize' in defconfig

PATCH New Chen Qi 1 participant 2 messages Nov 21, 2014

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover busybox: enable 'resize' in defconfig

The following changes since commit 4a888b2ab61662c7f749b5d1e64af92ed613d8eb:

gtk+: drop part of patch adding useless file (2014-11-20 14:08:57 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib ChenQi/busybox-resize
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/busybox-resize

Chen Qi (1):
busybox: enable 'resize' in defconfig

 meta/recipes-core/busybox/busybox/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 busybox: enable 'resize' in defconfig

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.

---
 meta/recipes-core/busybox/busybox/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/busybox/busybox/defconfig +1 -1
index 8394067..0ebe83d 100644
@@ -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
Signature · 1 line
1.9.1