From 8afe60c0bfb878578fd0619c1abf87452275912a Mon Sep 17 00:00:00 2001 From: Jianxun Zhang Date: Wed, 3 Aug 2016 11:04:20 -0700 Subject: rmc: Add NUC Gen 6 post-installation hook and update documentation This change shows how we can get rid of an error message caused by board-specific design at runtime, and still keep the rest in system generic. The new added hook removes line(s) in inittab which triggers the error. README of rmc is also updated accordingly. Fixes [YOCTO #5351]. Signed-off-by: Jianxun Zhang Reviewed-by: Saul Wold Signed-off-by: Tom Zanussi --- common/recipes-bsp/rmc/boards/nucgen6/POSTINSTALL.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 common/recipes-bsp/rmc/boards/nucgen6/POSTINSTALL.sh (limited to 'common/recipes-bsp/rmc/boards/nucgen6/POSTINSTALL.sh') diff --git a/common/recipes-bsp/rmc/boards/nucgen6/POSTINSTALL.sh b/common/recipes-bsp/rmc/boards/nucgen6/POSTINSTALL.sh new file mode 100644 index 00000000..bec3be42 --- /dev/null +++ b/common/recipes-bsp/rmc/boards/nucgen6/POSTINSTALL.sh @@ -0,0 +1,7 @@ +# NUC Gen 6 specific retouch after RMC deployment + +# The generated inittab from OE build causes error messages: +# "auth.err getty[615]: tcgetattr: Input/output error" +# in /var/log/messages because NUC Gen 6 doesn't have any +# serial tty. We delete line(s) here on target. +sed -i '/start_getty.\+ttyS.*/d' /tgt_root/etc/inittab -- cgit v1.2.3-54-g00ecf