mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-11 19:31:18 +00:00
riscv: copy device trees to the ESP
Commit f9c5020200ce ("riscv: directly copy device trees to /boot/dtbs") incorrectly copied devicetrees into /boot/dtbs/$kvers instead of /boot/efi/dtbs, inside the ESP and where U-boot expects them. This commit fixes this path. Fixes: f9c5020200ce ("riscv: directly copy device trees to /boot/dtbs") Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
This commit is contained in:
parent
2adb738584
commit
365435ad2d
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
livecd-rootfs (25.04.10) plucky; urgency=medium
|
||||
|
||||
* riscv: copy device trees to the ESP. Fixes (LP: #2095415)
|
||||
|
||||
-- Adriano Cordova <adriano.cordova@canonical.com> Tue, 21 Jan 2025 10:38:54 -0300
|
||||
|
||||
livecd-rootfs (25.04.9) plucky; urgency=medium
|
||||
|
||||
* Move reference wsl-setup script to /usr/lib/wsl/
|
||||
|
@ -365,7 +365,7 @@ EOF
|
||||
"mountpoint/usr/lib/linux-image-$kver"
|
||||
"mountpoint/lib/firmware/$kver/device-tree"
|
||||
)
|
||||
dtb_tgt_dir="mountpoint/boot/dtbs/$kver/"
|
||||
dtb_tgt_dir="mountpoint/boot/efi/dtbs/"
|
||||
mkdir -p "$dtb_tgt_dir"
|
||||
for src_dir in "${dtb_src_dirs[@]}"; do
|
||||
[ -d "$src_dir" ] && cp -r -v "$src_dir"/* "$dtb_tgt_dir" || echo "Skipping missing: $src_dir"
|
||||
|
Loading…
x
Reference in New Issue
Block a user