AR-1048: rpi: *kernel* upgrades fix; fs label uppercase fix (#3492)
- does NOT touch DTB hack; DTBs simply won't upgrade. - maybe this is not reverted again without reason, thanks.
This commit is contained in:
parent
cfa4188d4e
commit
cdf2579fe9
@ -1,7 +1,7 @@
|
||||
enable_extension "flash-kernel"
|
||||
export LINUXFAMILY=bcm2711
|
||||
export ARCH=arm64
|
||||
export UEFI_FS_LABEL="rpicfg" # Windows/Mac users will see this if they mount the SD card. Configurable
|
||||
export UEFI_FS_LABEL="RPICFG" # Windows/Mac users will see this if they mount the SD card. Configurable, but should be uppercase always
|
||||
export SKIP_BOOTSPLASH="yes" # video is init-ed before us
|
||||
export KERNELDIR='linux-rpi' # Avoid sharing a source tree with others, until we know it's safe.
|
||||
export FK__PUBLISHED_KERNEL_VERSION="raspi" # flash kernel (FK) configuration
|
||||
@ -50,9 +50,9 @@ pre_flash_kernel__symlink_dtb_and_kernel() {
|
||||
display_alert "Preparing DTBs and Kernel..." "bcm2711" "info"
|
||||
mkdir -p "${MOUNT}"/etc/flash-kernel/dtbs
|
||||
|
||||
cat <<-EOD >>"${MOUNT}"/etc/flash-kernel/db
|
||||
# Armbian kernels have a different flavour than expected.
|
||||
Machine: ${FK__MACHINE_MODEL}
|
||||
cat <<- EOD >> "${MOUNT}"/etc/flash-kernel/db
|
||||
# Armbian kernels don't have a 'flavour'. Ignore flavors for all rpi revisions.
|
||||
Machine: Raspberry Pi *
|
||||
Kernel-Flavors: any
|
||||
EOD
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user