* The keystone parse-ip initscript displays the IP address on the EVM's LCD by echoing a magic string over uart, and the BMC intercepts this magic string, and prints the following two lines to the LCD. * systemd will suppress all stdout from legacy initscripts * Therefore force writing to /dev/ttyS0 so that the message is not suppressed.
Signed-off-by: Jacob Stiffler <[email protected]> --- meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb | 2 +- meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb index 047e7df..69a8cf7 100644 --- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb +++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb @@ -7,7 +7,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" SRC_URI = "file://init" -PR = "r5" +PR = "r6" S = "${WORKDIR}" diff --git a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init index a693156..7d42d43 100644 --- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init +++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init @@ -36,12 +36,11 @@ case "$1" in echo ' ' >> ipaddr echo '#>>>>> LCD 12' >> ipaddr echo 'IP Address:' >> ipaddr - cat ipaddr wait sleep 1 - echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{print $1}'` > ipaddr - cat ipaddr + echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{print $1}'` >> ipaddr + cat ipaddr > /dev/ttyS0 wait sleep 1 ;; -- 2.7.4 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
