Wrap /lib/fel-load.sh as function

This commit is contained in:
hzy
2022-10-09 01:22:26 +08:00
committed by Igor Pečovnik
parent a4a4cc385f
commit e8ab9e73d0
2 changed files with 26 additions and 24 deletions

View File

@@ -100,7 +100,7 @@ PRE_INSTALL_DISTRIBUTION_SPECIFIC
if [[ $ROOTFS_TYPE == fel ]]; then
FEL_ROOTFS=$SDCARD/
display_alert "Starting FEL boot" "$BOARD" "info"
source $SRC/lib/fel-load.sh
start_fel_boot
else
prepare_partitions
create_image