summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-platform/drm-lease-test/image-mount-drm-lease-test-cluster_1.0.bb
blob: 7ab017432aecc3c75e0ffddae1aa1ef82f74b217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SUMMARY = "AGL CI guest image mounter for drm-lease-test-cluster."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI += " \
    file://drm-lease-test-cluster.mount \
"

inherit systemd

SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} = "var-lib-machines-guest1.mount"
SYSTEMD_AUTO_ENABLE:${PN} = "enable"

do_install:append () {
    install -d ${D}${systemd_system_unitdir}
    install -m 0644 ${WORKDIR}/drm-lease-test-cluster.mount  ${D}${systemd_system_unitdir}/var-lib-machines-guest1.mount
    install -d ${D}/var/lib/machines/guest1
}

FILES:${PN} += " \
    ${systemd_system_unitdir} \
    /var/lib/machines/* \
"