At the time kernel-install runs 15-update-m1n1.install "/boot/dtb" might
be a dangling symlink as /boot/dtb-${KERNEL_VERSION} has not yet been
created.
Take advantage of the proposed $DTBS directory support [1] and use
"/boot/dtb" as DTBS default location.
Add an fedora specific patch to detect the dangling symlink and use the
dtb directory from the kernel's modules directory in /usr/lib/modules.
1: https://github.com/AsahiLinux/asahi-scripts/pull/67
4 lines
141 B
Text
4 lines
141 B
Text
M1N1="/usr/lib64/m1n1/m1n1.bin"
|
|
U_BOOT="/usr/share/uboot/apple_m1/u-boot-nodtb.bin"
|
|
# limit DTBS to Mx and Mx Pro/Max/Ultra
|
|
DTBS="/boot/dtb"
|