Re: [OE-core] [PATCH 11/32] sysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be defined

2012-09-11 Thread McClintock Matthew-B29882
On Tue, Sep 11, 2012 at 6:49 AM, Phil Blundell ph...@gnu.org wrote: On Mon, 2012-08-13 at 14:14 -0700, Scott Garman wrote: +pkg_postinst_${PN} () { +# run this on the target +if [ x$D == x ]; then By the way, == is a bashism; that should just be = for portability. Or you can use '-z $D'

Re: [OE-core] [PATCH 11/32] sysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be defined

2012-09-10 Thread McClintock Matthew-B29882
On Sat, Sep 8, 2012 at 4:21 PM, Phil Blundell ph...@gnu.org wrote: On Mon, 2012-08-13 at 14:14 -0700, Scott Garman wrote: +pkg_postinst_${PN} () { +# run this on the target +if [ x$D == x ]; then + tmp=${SERIAL_CONSOLES_CHECK} + for i in $tmp + do + j=`echo ${i} |

Re: [OE-core] [PATCH 11/32] sysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be defined

2012-09-10 Thread Phil Blundell
On Mon, 2012-09-10 at 16:56 +, McClintock Matthew-B29882 wrote: On Sat, Sep 8, 2012 at 4:21 PM, Phil Blundell ph...@gnu.org wrote: On Mon, 2012-08-13 at 14:14 -0700, Scott Garman wrote: +pkg_postinst_${PN} () { +# run this on the target +if [ x$D == x ]; then +

Re: [OE-core] [PATCH 11/32] sysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be defined

2012-09-08 Thread Phil Blundell
On Mon, 2012-08-13 at 14:14 -0700, Scott Garman wrote: +pkg_postinst_${PN} () { +# run this on the target +if [ x$D == x ]; then + tmp=${SERIAL_CONSOLES_CHECK} + for i in $tmp + do + j=`echo ${i} | sed s/^.*\;//g` + if [ -z `cat /proc/consoles | grep

[OE-core] [PATCH 11/32] sysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be defined

2012-08-13 Thread Scott Garman
From: Matthew McClintock m...@freescale.com Set SERIAL_CONSOLES if you want to define multiple serial consoles, also if you need to check for the presence of the serial consoles you can also define SERIAL_CONSOLES_CHECK to determine if these are present when you boot. This will prevent error