babak sarashki d109552c2c Initial port of stx integ nfv update and upstream
TODO here is to at least implment the config files with fsfinal or bbappend.
2020-05-18 13:07:27 -07:00

41 lines
950 B
BlitzBasic

DESCRIPTION = "ntp-config"
STABLE = "starlingx/master"
PROTOCOL = "https"
BRANCH = "master"
SRCREV = "70609a3d55e5b7d2be82667fc35792505f9013c4"
S = "${WORKDIR}/git"
PV = "19.05"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI = "git://opendev.org/starlingx/config.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
require stx-integ-config-files.inc
RDEPENDS_${PN} += " bash"
do_configure () {
:
}
do_compile() {
:
}
do_install () {
cd ${S}/config-files/ntp-config
install -d -m0755 ${D}/${datadir}/starlingx
install -d -m0755 ${D}/${sysconfdir}/sysconfig
install -m644 files/ntp.conf ${D}/${datadir}/starlingx/ntp.config
install -m644 files/ntpd.sysconfig ${D}/${datadir}/starlingx/ntpd.sysconfig
install -m644 files/ntp.conf ${D}/${sysconfdir}/ntp.config
install -m644 files/ntpd.sysconfig ${D}/${sysconfdir}/sysconfig/ntpd
}
FILES_${PN}_append += " ${datadir} "