diff options
author | Jianxun Zhang <jianxun.zhang@linux.intel.com> | 2016-08-03 11:04:20 -0700 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@linux.intel.com> | 2016-08-03 17:43:18 -0500 |
commit | 8afe60c0bfb878578fd0619c1abf87452275912a (patch) | |
tree | 0d8ad08e8922c8bbba6b3f34255c4a306c9e16ed /common/recipes-bsp | |
parent | 7c3a3fe5ab6bf428f0ba42d77181d1951480f3d1 (diff) | |
download | meta-intel-8afe60c0bfb878578fd0619c1abf87452275912a.tar.gz |
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 <jianxun.zhang@linux.intel.com>
Reviewed-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Diffstat (limited to 'common/recipes-bsp')
-rw-r--r-- | common/recipes-bsp/rmc/boards/nucgen6/POSTINSTALL.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ | |||
1 | # NUC Gen 6 specific retouch after RMC deployment | ||
2 | |||
3 | # The generated inittab from OE build causes error messages: | ||
4 | # "auth.err getty[615]: tcgetattr: Input/output error" | ||
5 | # in /var/log/messages because NUC Gen 6 doesn't have any | ||
6 | # serial tty. We delete line(s) here on target. | ||
7 | sed -i '/start_getty.\+ttyS.*/d' /tgt_root/etc/inittab | ||