initscripts: update for stx 5.0
* inherit stx-metadata to help install updated files from stx 'config-files' repo Story: 2008952 Task: 42576 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Change-Id: I4d9bc2e76c9045f558cecd128f25bd229f1a4581
This commit is contained in:
parent
8e94bc2a1e
commit
40c06d7803
@ -1,17 +1,13 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
SRCREV_FORMAT = "opendev"
|
||||
SRCREV_opendev = "d778e862571957ece3c404c0c37d325769772fde"
|
||||
SUBPATH0 = "initscripts-config"
|
||||
DSTSUFX0 = "stx-configfiles"
|
||||
inherit stx-metadata
|
||||
|
||||
STX_REPO = "config-files"
|
||||
STX_SUBPATH = "initscripts-config"
|
||||
|
||||
LICENSE_append = "& Apache-2.0"
|
||||
LIC_FILES_CHKSUM += " \
|
||||
file://stx-configfiles/centos/initscripts-config.spec;beginline=1;endline=10;md5=5c43895c2c3756125227c74209b8b791 \
|
||||
"
|
||||
|
||||
SRC_URI += " \
|
||||
git://opendev.org/starlingx/config-files.git;protocol=https;destsuffix=${DSTSUFX0};branch="r/stx.3.0";subpath=${SUBPATH0};name=opendev \
|
||||
file://${STX_METADATA_PATH}/centos/initscripts-config.spec;beginline=1;endline=10;md5=5c43895c2c3756125227c74209b8b791 \
|
||||
"
|
||||
|
||||
inherit systemd
|
||||
@ -25,7 +21,7 @@ do_install_append () {
|
||||
install -d -m 755 ${D}/${sysconfdir}/init.d
|
||||
install -d -m 755 ${D}/${systemd_system_unitdir}
|
||||
|
||||
install -m 644 ${WORKDIR}/${DSTSUFX0}/files/sysconfig-network.conf ${D}/${sysconfdir}/sysconfig/network
|
||||
install -m 755 ${WORKDIR}/${DSTSUFX0}/files/mountnfs.sh ${D}/${sysconfdir}/init.d/mountnfs
|
||||
install -m 644 ${WORKDIR}/${DSTSUFX0}/files/mountnfs.service ${D}/${systemd_system_unitdir}/mountnfs.service
|
||||
install -m 644 ${STX_METADATA_PATH}/files/sysconfig-network.conf ${D}/${sysconfdir}/sysconfig/network
|
||||
install -m 755 ${STX_METADATA_PATH}/files/mountnfs.sh ${D}/${sysconfdir}/init.d/mountnfs
|
||||
install -m 644 ${STX_METADATA_PATH}/files/mountnfs.service ${D}/${systemd_system_unitdir}/mountnfs.service
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user