Skip to content

Commit 0ccb1a9

Browse files
authored
Minor resize-roofs recipe cleanups (qualcomm-linux#103)
- Define S and use UNPACKDIR - inherit allarch - remove do_compile and define do_install
2 parents 62d8e97 + 8ace1e6 commit 0ccb1a9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@ SRC_URI += "\
77
file://growfs-root.preset \
88
"
99

10-
inherit features_check systemd
10+
inherit allarch features_check systemd
1111
REQUIRED_DISTRO_FEATURES = "systemd"
1212

13-
do_install:append:qcom() {
14-
install -Dm 0644 ${WORKDIR}/sources/growfs-root.preset \
13+
S = "${UNPACKDIR}"
14+
15+
do_compile[noexec] = "1"
16+
17+
do_install() {
18+
install -Dm 0644 ${UNPACKDIR}/growfs-root.preset \
1519
${D}${systemd_unitdir}/system-preset/98-growfs-root.preset
16-
install -Dm 0644 ${WORKDIR}/sources/growfs-root.conf \
20+
install -Dm 0644 ${UNPACKDIR}/growfs-root.conf \
1721
${D}${systemd_unitdir}/system/systemd-growfs-root.service.d/growfs-root.conf
1822
}
1923

0 commit comments

Comments
 (0)