Skip to content

Commit

Permalink
sys-kernel/asahi-kernel: revbump asahi-kernel-6.9.9_p5
Browse files Browse the repository at this point in the history
Fix dtbs symlinks in /usr/src/linux-$KV_FULL.

Signed-off-by: Janne Grunau <[email protected]>
  • Loading branch information
jannau authored and chadmed committed Jul 28, 2024
1 parent c489989 commit 314b4c4
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,9 @@ src_install() {
kernel-build_src_install

# symlink installed *.dtbs back into kernel "source" directory
local kernel_dir=/usr/src/linux-${KV_FULL}
local relfile=${ED}${kernel_dir}/include/config/kernel.release
local module_ver
module_ver=$(<"${relfile}") || die

for dtb in ${ED}/boot/dtbs/${module_ver}/apple/*.dtb; do
dosym ${dtb} /${kernel_dir}/arch/arm64/boot/dts/apple/$(basename ${dtb})
for dtb in ${ED}/boot/dtbs/${KV_FULL}/apple/*.dtb; do
local basedtb=$(basename ${dtb})
dosym -r ${EROOT}/boot/dtbs/${KV_FULL}/apple/${basedtb} ${EROOT}/usr/src/linux-${KV_FULL}/arch/arm64/boot/dts/apple/${basedtb}
done
}

Expand Down

0 comments on commit 314b4c4

Please sign in to comment.