Skip to content

Commit

Permalink
qemux86: rauc-qemu-grubconf: Switch away from S = WORKDIR
Browse files Browse the repository at this point in the history
This reflects the recent changes in oe-core to enforce unpacking to a
subdirectory of WORKDIR.

As done in oe-core commit d9328e3b ("recipes: Switch away from S =
WORKDIR"), use explicit 'sources/' subdirectory as UNPACKDIR (and S).

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
  • Loading branch information
ejoerns committed May 27, 2024
1 parent cf28972 commit aceeb14
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions meta-rauc-qemux86/recipes-bsp/grub/rauc-qemu-grubconf.bb
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@ SRC_URI += " \
file://grubenv \
"

S = "${WORKDIR}"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"

inherit deploy

do_install() {
install -d ${D}${EFI_FILES_PATH}
install -m 644 ${WORKDIR}/grub.cfg ${D}${EFI_FILES_PATH}/grub.cfg
install -m 644 ${S}/grub.cfg ${D}${EFI_FILES_PATH}/grub.cfg
}

FILES:${PN} += "${EFI_FILES_PATH}"

do_deploy() {
install -m 644 ${WORKDIR}/grub.cfg ${DEPLOYDIR}
install -m 644 ${WORKDIR}/grubenv ${DEPLOYDIR}
install -m 644 ${S}/grub.cfg ${DEPLOYDIR}
install -m 644 ${S}/grubenv ${DEPLOYDIR}
}

addtask deploy after do_install before do_build

0 comments on commit aceeb14

Please sign in to comment.