[meta-freescale] [PATCH] [meta-fsl-ppc, master]base-files:fix the command line wrap around issue

b40527 at freescale.com b40527 at freescale.com
Sun May 19 20:21:12 PDT 2013


From: Zongchun Yu <b40527 at freescale.com>

when the character number of cmdline is more than 80. the following character should
go to a new line. rather than cover the prompt and the inputting character before.

Signed-off-by: Zongchun Yu <b40527 at freescale.com>
---
 recipes-core/base-files/base-files_3.0.14.bbappend |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
 create mode 100644 recipes-core/base-files/base-files_3.0.14.bbappend

diff --git a/recipes-core/base-files/base-files_3.0.14.bbappend b/recipes-core/base-files/base-files_3.0.14.bbappend
new file mode 100644
index 0000000..5401e99
--- /dev/null
+++ b/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -0,0 +1,8 @@
+do_install_append () {
+   echo "export COLUMNS=80" >> ${D}${sysconfdir}/profile
+   install -d ${D}/home/root
+   echo "export COLUMNS=2000" >> ${D}/home/root/.profile
+   echo "if [ -f /usr/bin/resize ]; then /usr/bin/resize > /dev/null; fi" >> ${D}/home/root/.profile
+}
+
+FILES_${PN} += "/home/root/.profile"
-- 
1.6.2.5





More information about the meta-freescale mailing list