sysvinit-inittab: Fix getting tty device name from SERIAL_CONSOLES entries
PATCH 1/1 sysvinit-inittab: Fix getting tty device name from SERIAL_CONSOLES entries
From: Muhammad Shakeel <[email protected]>
Currently the part after "tty" in the device name go into label along with everything after that part. For example if SERIAL_CONSOLES="115200;vt100;ttyS0" than label=S0 but if SERIAL_CONSOLES="115200;ttyS0;vt100" than label=S0;vt100. If SERIAL_CONSOLES="..;ttyX;..", part after 'X' should also be trimmed.
--- .../sysvinit/sysvinit-inittab_2.88dsf.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb +1 -1
@@ -22,7 +22,7 @@ do_install() { for i in $tmp do j=`echo ${i} | sed s/\;/\ /g` - label=`echo ${i} | sed -e 's/^.*;tty//'` + label=`echo ${i} | sed -e 's/^.*;tty//' -e 's/;.*//'` echo "$label:12345:respawn:${base_sbindir}/getty ${j}" >> ${D}${sysconfdir}/inittab done
Signature · 1 line
1.7.9.5
Hello,
Kindly merge this patch we need it for Yocto 1.5.
Noor
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Shakeel, Muhammad
Sent: Monday, October 07, 2013 8:05 PM
To: [email protected]
Subject: [OE-core] [PATCH] sysvinit-inittab: Fix getting tty device name from SERIAL_CONSOLES entries
From: Muhammad Shakeel <[email protected]>
Currently the part after "tty" in the device name go into label along with everything after that part. For example if SERIAL_CONSOLES="115200;vt100;ttyS0" than label=S0 but if SERIAL_CONSOLES="115200;ttyS0;vt100" than label=S0;vt100.
If SERIAL_CONSOLES="..;ttyX;..", part after 'X' should also be trimmed.
--- .../sysvinit/sysvinit-inittab_2.88dsf.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb +1 -1
@@ -22,7 +22,7 @@ do_install() { for i in $tmp do j=`echo ${i} | sed s/\;/\ /g` - label=`echo ${i} | sed -e 's/^.*;tty//'` + label=`echo ${i} | sed -e 's/^.*;tty//' -e 's/;.*//'` echo "$label:12345:respawn:${base_sbindir}/getty ${j}" >> ${D}${sysconfdir}/inittab done
--
1.7.9.5
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Hello Saul,
I there any issue with this patch? We need this patch for our release.
Noor
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ahsan, Noor
Sent: Monday, October 21, 2013 5:46 PM
To: Shakeel, Muhammad; [email protected]
Subject: Re: [OE-core] [PATCH] sysvinit-inittab: Fix getting tty device name from SERIAL_CONSOLES entries
Hello,
Kindly merge this patch we need it for Yocto 1.5.
Noor
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Shakeel, Muhammad
Sent: Monday, October 07, 2013 8:05 PM
To: [email protected]
Subject: [OE-core] [PATCH] sysvinit-inittab: Fix getting tty device name from SERIAL_CONSOLES entries
From: Muhammad Shakeel <[email protected]>
Currently the part after "tty" in the device name go into label along with everything after that part. For example if SERIAL_CONSOLES="115200;vt100;ttyS0" than label=S0 but if SERIAL_CONSOLES="115200;ttyS0;vt100" than label=S0;vt100.
If SERIAL_CONSOLES="..;ttyX;..", part after 'X' should also be trimmed.
--- .../sysvinit/sysvinit-inittab_2.88dsf.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb +1 -1
@@ -22,7 +22,7 @@ do_install() { for i in $tmp do j=`echo ${i} | sed s/\;/\ /g` - label=`echo ${i} | sed -e 's/^.*;tty//'` + label=`echo ${i} | sed -e 's/^.*;tty//' -e 's/;.*//'` echo "$label:12345:respawn:${base_sbindir}/getty ${j}" >> ${D}${sysconfdir}/inittab done
--
1.7.9.5
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Hi Noor,
This patch was merged to master a couple of weeks ago:
http://cgit.openembedded.org/openembedded-core/commit/?id=b00b9ae5693e04cacd0843c12a529e7f3dc501ed
Cheers,
Paul
Quoted 70 lines · Noor
Hello Saul,
I there any issue with this patch? We need this patch for our release.
Noor
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ahsan, Noor Sent: Monday, October 21, 2013 5:46 PM
To: Shakeel, Muhammad; [email protected]
Subject: Re: [OE-core] [PATCH] sysvinit-inittab: Fix getting tty device name fromSERIAL_CONSOLESentriesHello,
Kindly merge this patch we need it for Yocto 1.5.
Noor
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Shakeel, Muhammad Sent: Monday, October 07, 2013 8:05 PM
To: [email protected]
Subject: [OE-core] [PATCH] sysvinit-inittab: Fix getting tty device name fromSERIAL_CONSOLESentriesFrom: Muhammad Shakeel <[email protected]>
Currently the part after "tty" in the device name go into label along with everything after that part. For example if SERIAL_CONSOLES="115200;vt100;ttyS0" than label=S0 but if SERIAL_CONSOLES="115200;ttyS0;vt100" than label=S0;vt100. If SERIAL_CONSOLES="..;ttyX;..", part after 'X' should also be trimmed.
Signed-off-by Muhammad Shakeel <[email protected]>--- .../sysvinit/sysvinit-inittab_2.88dsf.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb index 23c284d..05ba410 100644
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb +1
-1@@ -22,7 +22,7 @@ do_install() { for i in $tmp do j=`echo ${i} | sed s/\;/\ /g` - label=`echo ${i} | sed -e 's/^.*;tty//'` + label=`echo ${i} | sed -e 's/^.*;tty//' -e 's/;.*//'` echo "$label:12345:respawn:${base_sbindir}/getty ${j}" >>${D}${sysconfdir}/inittab done
--
1.7.9.5_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre