1 SUMMARY = "Setting files for agl-cluster-demo-plaform-flutter guest VM"
3 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5 inherit systemd allarch
7 SRC_URI = "file://${QEMU_IMAGE}.conf"
9 S = "${WORKDIR}/sources"
12 do_configure[noexec] = "1"
13 do_compile[noexec] = "1"
15 QEMU_IMAGE = "agl-cluster-demo-flutter"
16 QEMU_UNIT = "agl-qemu-runner@${QEMU_IMAGE}.service"
19 # Install template unit links
20 install -d ${D}${systemd_system_unitdir}
21 ln -sf agl-qemu-runner@.service ${D}${systemd_system_unitdir}/${QEMU_UNIT}
22 install -d ${D}${systemd_system_unitdir}/multi-user.target.wants
23 ln -sf ${systemd_system_unitdir}/${QEMU_UNIT} ${D}${systemd_system_unitdir}/multi-user.target.wants/${QEMU_UNIT}
26 install -d ${D}${sysconfdir}/agl-qemu-runner
27 install -m 0644 ${UNPACKDIR}/${QEMU_IMAGE}.conf ${D}${sysconfdir}/agl-qemu-runner/
30 FILES:${PN} += "${systemd_system_unitdir}"
32 RDEPENDS:${PN} += "agl-qemu-runner qemu-config-vmnet0"