1 DESCRIPTION = "StarlingX PCI Interrupt Affinity Agent Package"
2 SUMMARY = "StarlingX PCI Interrupt Affinity Agent Package"
4 require utilities-common.inc
6 SUBPATH0 = "utilities/pci-irq-affinity-agent/pci_irq_affinity"
9 LIC_FILES_CHKSUM = "file://setup.py;md5=6980f60051ba4d376975eefc777fb8ae"
11 RDEPENDS_${PN}_append = " python-novaclient libvirt libvirt-python"
13 inherit setuptools systemd
14 DISTRO_FEATURES_BACKFILL_CONSIDERED_remove = "sysvinit"
15 SYSTEMD_PACKAGES += "${PN}"
16 SYSTEMD_SERVICE_${PN} = "${PN}-agent.service"
19 bb.build.exec_func('do_restore_files', d)
24 git reset ${SRCREV} utilities/pci-irq-affinity-agent/files
25 git checkout utilities/pci-irq-affinity-agent/files
31 cd ${S}/utilities/pci-irq-affinity-agent/files
33 install -p -d -m0755 ${D}/${sysconfdir}/init.d
34 install -p -d -m0755 ${D}/${sysconfdir}/pmon.d
35 install -p -d -m0755 ${D}/${sysconfdir}/pci_irq_affinity
36 install -p -d -m0755 ${D}/${systemd_system_unitdir}
37 install -p -d -m0755 ${D}/${bindir}
39 install -m0755 pci-irq-affinity-agent ${D}/${sysconfdir}/init.d/pci-irq-affinity-agent
40 install -m0644 pci-irq-affinity-agent.service ${D}/${systemd_system_unitdir}/pci-irq-affinity-agent.service
42 install -m0755 nova-sriov ${D}/${bindir}/nova-sriov
43 install -m0755 config.ini ${D}/${sysconfdir}/pci_irq_affinity/config.ini