prevent armbian-install from running on aml-s9xx-box (#6247)
* aml-s9xx-box uses the u-boot shipped with the TV Box instead of installing a new u-boot. Because of this, armbian-install will make the box unbootable if it is run to install to emmc. This change prevents running armbian-install on aml-s9xx-box boards Changes to be committed: modified: packages/bsp/common/usr/sbin/armbian-install * prevent armbian-install from running on aml-s9xx-box take 2 Per suggestion of @viraniac remove armbian-install from the board bsp via the board config file Changes to be committed: modified: config/boards/aml-s9xx-box.tvb modified: packages/bsp/common/usr/sbin/armbian-install
This commit is contained in:
parent
ccf4206700
commit
a18625a505
@ -13,11 +13,16 @@ BOOT_LOGO="desktop"
|
||||
SRC_CMDLINE='rootflags=data=writeback console=ttyAML0,115200n8 console=tty0'
|
||||
|
||||
|
||||
function post_family_tweaks__config_aml-s9xx-box_bsp() {
|
||||
function post_family_tweaks_bsp__config_aml-s9xx-box_bsp() {
|
||||
|
||||
display_alert "$BOARD" "Installing bsp files" "info"
|
||||
|
||||
cp -r $SRC/packages/bsp/aml-s9xx-box/boot $SDCARD
|
||||
install -m 755 $SRC/packages/bsp/aml-s9xx-box/root/install-aml.sh $SDCARD/root
|
||||
install -m 644 $SRC/packages/bsp/aml-s9xx-box/root/fstab.template $SDCARD/root
|
||||
cp -r "${SRC}"/packages/bsp/aml-s9xx-box/boot "${destination}"
|
||||
install -D -m 744 "${SRC}"/packages/bsp/aml-s9xx-box/root/install-aml.sh "${destination}"/root/install-aml.sh
|
||||
install -m 644 "${SRC}"/packages/bsp/aml-s9xx-box/root/fstab.template "${destination}"/root/fstab.template
|
||||
|
||||
display_alert "${BOARD}" "Removing armbian-install" "info"
|
||||
|
||||
rm "${destination}"/usr/sbin/armbian-install
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user