Skip to content

Commit 103fef8

Browse files
committed
Handle symlink correctly on DTB source directory
On Debian trixie-backports, linux-image-6.18.9+deb13-arm64 (via linux-image-arm64) ships /usr/lib/linux-image-6.18.9+deb13-arm64 as a symlink to modules/6.18.9+deb13-arm64/dtb. This causes: cp -RT /usr/lib/linux-image-6.18.9+deb13-arm64 /boot/efi/dtb to fail with: cp: cannot create symbolic link '/boot/efi/dtb': Operation not permitted We can use -L to deference the symlink correctly. Signed-off-by: Robie Basak <robie.basak@oss.qualcomm.com>
1 parent 632200c commit 103fef8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

debos-recipes/qualcomm-linux-debian-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ actions:
9393
latest_kernel="$(
9494
linux-version list | linux-version sort --reverse | head -1)"
9595
dtb_path="/usr/lib/linux-image-${latest_kernel}"
96-
cp -RT "$dtb_path" "/boot/efi/dtb"
96+
cp -RTL "$dtb_path" "/boot/efi/dtb"
9797
9898
- action: run
9999
description: Create task to grow root filesystem on first boot

0 commit comments

Comments
 (0)