Code Review
/
pti
/
rtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
build_inf_yocto.sh: add option to get sstate
[pti/rtp.git]
/
meta-starlingx
/
meta-stx-flock
/
stx-integ
/
kvm-timer-advance-setup.bb
diff --git
a/meta-starlingx/meta-stx-flock/stx-integ/kvm-timer-advance-setup.bb
b/meta-starlingx/meta-stx-flock/stx-integ/kvm-timer-advance-setup.bb
index
475e329
..
3eaa544
100644
(file)
--- a/
meta-starlingx/meta-stx-flock/stx-integ/kvm-timer-advance-setup.bb
+++ b/
meta-starlingx/meta-stx-flock/stx-integ/kvm-timer-advance-setup.bb
@@
-1,24
+1,20
@@
DESCRIPTION = "StarlingX KVM Timer Advance Package"
DESCRIPTION = "StarlingX KVM Timer Advance Package"
-STABLE = "starlingx/master"
-PROTOCOL = "https"
-BRANCH = "r/stx.3.0"
-SRCNAME = "integ"
-SRCREV = "0bf4b546df8c7fdec8cfc6cb6f71b9609ee54306"
-S = "${WORKDIR}/git"
+inherit stx-metadata
+
+STX_REPO = "integ"
+STX_SUBPATH = "virt/kvm-timer-advance"
+
PV = "1.0.0"
LICENSE = "Apache-2.0 & GPL-2.0"
PV = "1.0.0"
LICENSE = "Apache-2.0 & GPL-2.0"
-LIC_FILES_CHKSUM = "file://
virt/kvm-timer-advance
/files/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+LIC_FILES_CHKSUM = "file://
${STX_METADATA_PATH}
/files/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
RDEPENDS_${PN}_append = " \
systemd \
bash \
"
RDEPENDS_${PN}_append = " \
systemd \
bash \
"
-
-SRC_URI = "git://opendev.org/starlingx/${SRCNAME}.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH} \
- "
inherit setuptools systemd
SYSTEMD_PACKAGES += " ${PN}"
SYSTEMD_SERVICE_${PN} = "kvm_timer_advance_setup.service"
inherit setuptools systemd
SYSTEMD_PACKAGES += " ${PN}"
SYSTEMD_SERVICE_${PN} = "kvm_timer_advance_setup.service"
@@
-27,12
+23,8
@@
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install () {
do_compile[noexec] = "1"
do_install () {
-
-# kvm-timer-advance
-
- install -p -D -m 0755 ${S}/virt/kvm-timer-advance/files/setup_kvm_timer_advance.sh \
+ install -p -D -m 0755 ${STX_METADATA_PATH}/files/setup_kvm_timer_advance.sh \
${D}/${bindir}/setup_kvm_timer_advance.sh
${D}/${bindir}/setup_kvm_timer_advance.sh
- install -p -D -m 444 ${S
}/virt/kvm-timer-advance
/files/kvm_timer_advance_setup.service \
+ install -p -D -m 444 ${S
TX_METADATA_PATH}
/files/kvm_timer_advance_setup.service \
${D}/${systemd_system_unitdir}/kvm_timer_advance_setup.service
${D}/${systemd_system_unitdir}/kvm_timer_advance_setup.service
-
}
}