1 FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
3 SRCREV_FORMAT = "opendev"
4 SRCREV_opendev = "d778e862571957ece3c404c0c37d325769772fde"
5 SUBPATH = "initscripts-config"
6 DSTSUFX0 = "stx-configfiles"
8 LICENSE_append = "& Apache-2.0"
9 LIC_FILES_CHKSUM += " \
10 file://stx-configfiles-LICENSE;beginline=1;endline=10;md5=5c43895c2c3756125227c74209b8b791 \
14 git://opendev.org/starlingx/config-files.git;protocol=https;destsuffix=${DSTSUFX0};branch="r/stx.3.0";subpath=${SUBPATH};name=opendev \
18 bb.build.exec_func('do_copy_config_files', d)
21 do_copy_config_files () {
22 cp -pf ${WORKDIR}/${DSTSUFX0}/centos/initscripts-config.spec ${S}/stx-configfiles-LICENSE
25 do_install_append () {
26 install -d -m 755 ${D}/${sysconfdir}
28 install -m 644 ${WORKDIR}/${DSTSUFX0}/files/sysctl.conf ${D}/${sysconfdir}/sysctl.conf