Skip to content

Commit

Permalink
linux-milkv-duo[-dev]: replace WORKDIR with UNPACKDIR in do_deploy
Browse files Browse the repository at this point in the history
Trying to bitbake milkv-duo machine triggers the following error:

| cp: cannot stat 'riscv-yocto/build/tmp/work/milkv_duo-poky-linux/
linux-milkv-duo-dev/1.0/multi.its': No such file or directory

| cp: cannot stat 'riscv-yocto/build/tmp/work/milkv_duo-poky-linux/
linux-milkv-duo/6.8++gitAUTOINC+b95f2066a9/multi.its': No such file or
directory

This is caused by multi.its file being in UNPACKDIR instead of
WORKDIR, following the recent upstream changes in OE.

Signed-off-by: Hiago De Franco <hiagofranco@gmail.com>
  • Loading branch information
hiagofranco committed Jul 14, 2024
1 parent 509d4c3 commit d443476
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipes-kernel/linux/linux-milkv-duo-dev.bb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ do_deploy[depends] = "milkv-duo-fsbl:do_deploy"

do_deploy:append() {
cp ${SDIR}/Image.gz ${B}
cp ${WORKDIR}/multi.its ${B}
cp ${UNPACKDIR}/multi.its ${B}
mkimage -f ${B}/multi.its ${B}/uImage.fit
install -m 744 ${B}/uImage.fit ${DEPLOYDIR}
install -m 744 ${SDIR}/dts/${KERNEL_DEVICETREE} ${DEPLOYDIR}/default.dtb
Expand Down
2 changes: 1 addition & 1 deletion recipes-kernel/linux/linux-milkv-duo.bb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ do_deploy[depends] = "milkv-duo-fsbl:do_deploy"

do_deploy:append:milkv-duo() {
cp ${B}/arch/riscv/boot/Image.gz ${B}
cp ${WORKDIR}/multi.its ${B}
cp ${UNPACKDIR}/multi.its ${B}
mkimage -f ${B}/multi.its ${B}/uImage.fit
install -m 744 ${B}/uImage.fit ${DEPLOYDIR}
install -m 744 ${B}/arch/riscv/boot/dts/${KERNEL_DEVICETREE} ${DEPLOYDIR}/default.dtb
Expand Down

0 comments on commit d443476

Please sign in to comment.