Return-Path: Received: from va3outboundpool.messaging.microsoft.com (va3ehsobe002.messaging.microsoft.com [216.32.180.12]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 44737E006CC for ; Sun, 19 May 2013 20:21:20 -0700 (PDT) Received: from mail175-va3-R.bigfish.com (10.7.14.241) by VA3EHSOBE004.bigfish.com (10.7.40.24) with Microsoft SMTP Server id 14.1.225.23; Mon, 20 May 2013 03:21:19 +0000 Received: from mail175-va3 (localhost [127.0.0.1]) by mail175-va3-R.bigfish.com (Postfix) with ESMTP id 178EFA03CC for ; Mon, 20 May 2013 03:21:19 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 3 X-BigFish: VS3(z37d5kzzz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz8275bhz2dh2a8h668h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h1354h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1d0ch1d2eh1d3fh1155h) Received: from mail175-va3 (localhost.localdomain [127.0.0.1]) by mail175-va3 (MessageSwitch) id 1369020076582405_28023; Mon, 20 May 2013 03:21:16 +0000 (UTC) Received: from VA3EHSMHS022.bigfish.com (unknown [10.7.14.250]) by mail175-va3.bigfish.com (Postfix) with ESMTP id 86B102A0061 for ; Mon, 20 May 2013 03:21:16 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by VA3EHSMHS022.bigfish.com (10.7.99.32) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 20 May 2013 03:21:14 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-004.039d.mgd.msft.net (10.84.1.14) with Microsoft SMTP Server (TLS) id 14.2.328.11; Mon, 20 May 2013 03:21:49 +0000 Received: from localhost.localdomain (rhuath.am.freescale.net [10.82.176.1]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r4K3LDCZ000813; Sun, 19 May 2013 20:21:13 -0700 From: To: Date: Sun, 19 May 2013 22:21:12 -0500 Message-ID: <1369020072-7356-1-git-send-email-b40527@freescale.com> X-Mailer: git-send-email 1.6.2.5 MIME-Version: 1.0 X-OriginatorOrg: freescale.com Cc: Zongchun Yu Subject: [PATCH] [meta-fsl-ppc, master]base-files:fix the command line wrap around issue X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 03:21:21 -0000 Content-Type: text/plain From: Zongchun Yu 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 --- 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