mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Odin2 Use Custom ABL, boot from TF Card (#6517)
* Update sm8250: kernel add legacy and edge branch * Update Odin2:Using a new boot method,boot from sd
This commit is contained in:
@@ -5,6 +5,10 @@ function add_host_dependencies__abl_host_deps() {
|
||||
function post_build_image__900_convert_to_abl_img() {
|
||||
[[ -z $version ]] && exit_with_error "version is not set"
|
||||
|
||||
if [ ! -z "$BOOTFS_TYPE" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
display_alert "Converting image $version to rootfs" "${EXTENSION}" "info"
|
||||
declare -g ROOTFS_IMAGE_FILE="${DESTIMG}/${version}.rootfs.img"
|
||||
rootfs_start_sector=$(gdisk -l ${DESTIMG}/${version}.img | grep rootfs | awk '{print $2}')
|
||||
|
||||
Reference in New Issue
Block a user