summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalifornia Sullivan <california.l.sullivan@intel.com>2016-11-01 15:03:51 -0700
committerSaul Wold <sgw@linux.intel.com>2016-11-02 13:00:33 -0700
commit06affcd13ebb088368efda903e9aaa8008a59246 (patch)
tree6f25827a1a18001184f99b9cb5935deb08a67e7b
parentbd25743d3d43d75d7e665773eb906f772fa1b679 (diff)
downloadmeta-intel-06affcd13ebb088368efda903e9aaa8008a59246.tar.gz
rmc: Add INSTALLER.CONFIG and POSTINSTALL.sh for broxton-m boards
On install we want to keep rmc's boot.conf. Also add POSTINSTALL.sh that removes ttyS0 from inittab since it uses ttyS2 instead. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--common/recipes-bsp/rmc/boards/broxton-m/INSTALLER.CONFIG3
-rw-r--r--common/recipes-bsp/rmc/boards/broxton-m/POSTINSTALL.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/common/recipes-bsp/rmc/boards/broxton-m/INSTALLER.CONFIG b/common/recipes-bsp/rmc/boards/broxton-m/INSTALLER.CONFIG
new file mode 100644
index 00000000..ecd20609
--- /dev/null
+++ b/common/recipes-bsp/rmc/boards/broxton-m/INSTALLER.CONFIG
@@ -0,0 +1,3 @@
1# Keep rmc Joule boot.conf instead of meta-intel default
2efi_entry_dir:root:disk:770:/boot/loader/entries/
3boot.conf:root:disk:770:/boot/loader/entries/boot.conf
diff --git a/common/recipes-bsp/rmc/boards/broxton-m/POSTINSTALL.sh b/common/recipes-bsp/rmc/boards/broxton-m/POSTINSTALL.sh
new file mode 100644
index 00000000..30bbd28e
--- /dev/null
+++ b/common/recipes-bsp/rmc/boards/broxton-m/POSTINSTALL.sh
@@ -0,0 +1,2 @@
1# Joule uses only S2 for serial, so remove S0
2sed -i '/start_getty.\+ttyS0/d' /tgt_root/etc/inittab