From 06affcd13ebb088368efda903e9aaa8008a59246 Mon Sep 17 00:00:00 2001 From: California Sullivan Date: Tue, 1 Nov 2016 15:03:51 -0700 Subject: 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 Signed-off-by: Saul Wold --- 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 (limited to 'common') 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 @@ +# 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 00000000..30bbd28e --- /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 -- cgit v1.2.3-54-g00ecf