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'
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} |
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
+
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
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