90c5b4bf3e
* inherit stx-metadata to help install updated files from stx 'integ' repo Story: 2008952 Task: 42576 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Change-Id: I2c17b048bb6f6679690416bac5d18eade722b206
31 lines
792 B
BlitzBasic
31 lines
792 B
BlitzBasic
DESCRIPTION = "StarlingX KVM Timer Advance Package"
|
|
|
|
inherit stx-metadata
|
|
|
|
STX_REPO = "integ"
|
|
STX_SUBPATH = "virt/kvm-timer-advance"
|
|
|
|
PV = "1.0.0"
|
|
|
|
LICENSE = "Apache-2.0 & GPL-2.0"
|
|
LIC_FILES_CHKSUM = "file://${STX_METADATA_PATH}/files/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
RDEPENDS_${PN}_append = " \
|
|
systemd \
|
|
bash \
|
|
"
|
|
|
|
inherit setuptools systemd
|
|
SYSTEMD_PACKAGES += " ${PN}"
|
|
SYSTEMD_SERVICE_${PN} = "kvm_timer_advance_setup.service"
|
|
|
|
do_configure[noexec] = "1"
|
|
do_compile[noexec] = "1"
|
|
|
|
do_install () {
|
|
install -p -D -m 0755 ${STX_METADATA_PATH}/files/setup_kvm_timer_advance.sh \
|
|
${D}/${bindir}/setup_kvm_timer_advance.sh
|
|
install -p -D -m 444 ${STX_METADATA_PATH}/files/kvm_timer_advance_setup.service \
|
|
${D}/${systemd_system_unitdir}/kvm_timer_advance_setup.service
|
|
}
|