diff options
Diffstat (limited to 'meta-systemd/meta-oe/recipes-extended/zram')
-rw-r--r-- | meta-systemd/meta-oe/recipes-extended/zram/zram_0.1.bbappend | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta-systemd/meta-oe/recipes-extended/zram/zram_0.1.bbappend b/meta-systemd/meta-oe/recipes-extended/zram/zram_0.1.bbappend index cc98fe1c9..34b82f72f 100644 --- a/meta-systemd/meta-oe/recipes-extended/zram/zram_0.1.bbappend +++ b/meta-systemd/meta-oe/recipes-extended/zram/zram_0.1.bbappend | |||
@@ -8,5 +8,12 @@ SRC_URI += " \ | |||
8 | file://zram.service \ | 8 | file://zram.service \ |
9 | " | 9 | " |
10 | 10 | ||
11 | SYSTEMD_PACKAGES = "${PN}-systemd" | 11 | SYSTEMD_PACKAGES = "${PN}" |
12 | SYSTEMD_SERVICE_${PN}-systemd = "zram.service" | 12 | RPROVIDES_${PN} += "${PN}-systemd" |
13 | SYSTEMD_SERVICE_${PN} = "zram.service" | ||
14 | |||
15 | do_install_append() { | ||
16 | install -d ${D}${systemd_unitdir}/system | ||
17 | install -m 0644 ${WORKDIR}/zram.service ${D}${systemd_unitdir}/system | ||
18 | } | ||
19 | |||