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.sulli...@intel.com>
---
Note: depends on Saul's "rmc: Add bootloader entries for the
Broxton-M/Joule platform" patch.

 common/recipes-bsp/rmc/boards/broxton-m/INSTALLER.CONFIG | 3 +++
 common/recipes-bsp/rmc/boards/broxton-m/POSTINSTALL.sh   | 2 ++
 2 files changed, 5 insertions(+)
 create mode 100644 common/recipes-bsp/rmc/boards/broxton-m/INSTALLER.CONFIG
 create mode 100644 common/recipes-bsp/rmc/boards/broxton-m/POSTINSTALL.sh

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 0000000..ecd2060
--- /dev/null
+++ b/common/recipes-bsp/rmc/boards/broxton-m/INSTALLER.CONFIG
@@ -0,0 +1,3 @@
+# Keep rmc Joule boot.conf instead of meta-intel default
+efi_entry_dir:root:disk:770:/boot/loader/entries/
+boot.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 0000000..30bbd28
--- /dev/null
+++ b/common/recipes-bsp/rmc/boards/broxton-m/POSTINSTALL.sh
@@ -0,0 +1,2 @@
+# Joule uses only S2 for serial, so remove S0
+sed -i '/start_getty.\+ttyS0/d' /tgt_root/etc/inittab
-- 
2.5.5

-- 
_______________________________________________
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to