summaryrefslogtreecommitdiffstats
path: root/meta-systemd/meta-oe/recipes-extended/zram
diff options
context:
space:
mode:
Diffstat (limited to 'meta-systemd/meta-oe/recipes-extended/zram')
-rw-r--r--meta-systemd/meta-oe/recipes-extended/zram/zram_0.1.bbappend11
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
11SYSTEMD_PACKAGES = "${PN}-systemd" 11SYSTEMD_PACKAGES = "${PN}"
12SYSTEMD_SERVICE_${PN}-systemd = "zram.service" 12RPROVIDES_${PN} += "${PN}-systemd"
13SYSTEMD_SERVICE_${PN} = "zram.service"
14
15do_install_append() {
16 install -d ${D}${systemd_unitdir}/system
17 install -m 0644 ${WORKDIR}/zram.service ${D}${systemd_unitdir}/system
18}
19