Commit 103fef8
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments