Skip to content

Commit 764a36f

Browse files
resize-rootfs: define S and use UNPACKDIR
Since whinlatter it is expected that S is set correctly to the local source files, and that UNPACKDIR gets used instead of WORKDIR. Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
1 parent 62d8e97 commit 764a36f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

recipes-bsp/resize-rootfs/resize-rootfs_1.0.bb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ SRC_URI += "\
1010
inherit features_check systemd
1111
REQUIRED_DISTRO_FEATURES = "systemd"
1212

13+
S = "${UNPACKDIR}"
14+
1315
do_install:append:qcom() {
14-
install -Dm 0644 ${WORKDIR}/sources/growfs-root.preset \
16+
install -Dm 0644 ${UNPACKDIR}/growfs-root.preset \
1517
${D}${systemd_unitdir}/system-preset/98-growfs-root.preset
16-
install -Dm 0644 ${WORKDIR}/sources/growfs-root.conf \
18+
install -Dm 0644 ${UNPACKDIR}/growfs-root.conf \
1719
${D}${systemd_unitdir}/system/systemd-growfs-root.service.d/growfs-root.conf
1820
}
1921

0 commit comments

Comments
 (0)