* [PATCH] [meta-fsl-ppc, master]base-files:fix the command line wrap around issue
@ 2013-05-20 3:21 b40527
2013-05-20 10:15 ` Liu Ting-B28495
2013-05-20 12:25 ` Otavio Salvador
0 siblings, 2 replies; 4+ messages in thread
From: b40527 @ 2013-05-20 3:21 UTC (permalink / raw)
To: meta-freescale; +Cc: Zongchun Yu
From: Zongchun Yu <b40527@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@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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] [meta-fsl-ppc, master]base-files:fix the command line wrap around issue
2013-05-20 3:21 [PATCH] [meta-fsl-ppc, master]base-files:fix the command line wrap around issue b40527
@ 2013-05-20 10:15 ` Liu Ting-B28495
2013-05-20 12:25 ` Otavio Salvador
1 sibling, 0 replies; 4+ messages in thread
From: Liu Ting-B28495 @ 2013-05-20 10:15 UTC (permalink / raw)
To: Yu Zongchun-B40527, meta-freescale
> -----Original Message-----
> From: Yu Zongchun-B40527
> Sent: Monday, May 20, 2013 11:21 AM
> To: meta-freescale@yoctoproject.org
> Cc: Luo Zhenhua-B19537; Liu Ting-B28495; Guo Chunrong-B40290; Yu
> Zongchun-B40527
> Subject: [PATCH] [meta-fsl-ppc,master]base-files:fix the command line
> wrap around issue
>
> From: Zongchun Yu <b40527@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@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
Home directory of root can be customized in Yocto. And what about other account?
> + 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] [meta-fsl-ppc, master]base-files:fix the command line wrap around issue
2013-05-20 3:21 [PATCH] [meta-fsl-ppc, master]base-files:fix the command line wrap around issue b40527
2013-05-20 10:15 ` Liu Ting-B28495
@ 2013-05-20 12:25 ` Otavio Salvador
2013-05-20 12:45 ` Fabio Estevam
1 sibling, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2013-05-20 12:25 UTC (permalink / raw)
To: Yu Zongchun-B40527; +Cc: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
On Mon, May 20, 2013 at 12:21 AM, <b40527@freescale.com> wrote:
> From: Zongchun Yu <b40527@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@freescale.com>
>
I think this needs to be fixed in OE-Core/Yocto and it is not BSP related.
Please propose a patch for OE-Core that fixes it generically.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
[-- Attachment #2: Type: text/html, Size: 1270 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] [meta-fsl-ppc, master]base-files:fix the command line wrap around issue
2013-05-20 12:25 ` Otavio Salvador
@ 2013-05-20 12:45 ` Fabio Estevam
0 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2013-05-20 12:45 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale, Yu Zongchun-B40527
On Mon, May 20, 2013 at 9:25 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
>
>
>
> On Mon, May 20, 2013 at 12:21 AM, <b40527@freescale.com> wrote:
>>
>> From: Zongchun Yu <b40527@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@freescale.com>
>
>
> I think this needs to be fixed in OE-Core/Yocto and it is not BSP related.
> Please propose a patch for OE-Core that fixes it generically.
Yes, we also have this same issue in meta-fsl-arm and it is quite annoying.
Hopefully it can be fixed in oe-core.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-20 12:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-20 3:21 [PATCH] [meta-fsl-ppc, master]base-files:fix the command line wrap around issue b40527
2013-05-20 10:15 ` Liu Ting-B28495
2013-05-20 12:25 ` Otavio Salvador
2013-05-20 12:45 ` Fabio Estevam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.