Initial port of stx integ nfv update and upstream
TODO here is to at least implment the config files with fsfinal or bbappend.
This commit is contained in:
parent
8c9213dac1
commit
d109552c2c
49
docs/Done
49
docs/Done
@ -1,49 +0,0 @@
|
||||
#List of first stab recipes done
|
||||
# Legend:
|
||||
# P=Port
|
||||
# D=Depends
|
||||
# w=not started yet
|
||||
# d=initial port done
|
||||
stx-config:d
|
||||
config-gate.bb
|
||||
controllerconfig.bb
|
||||
puppet-manifests.bb
|
||||
puppet-modules-wrs.bb
|
||||
storageconfig
|
||||
worker-utils.bb
|
||||
workerconfig.bb
|
||||
pm-qos-mgr.bb
|
||||
sysinv.bb
|
||||
TODO:stx-config:P+stx-openstack-helm:D+openstack-helm:D+openstack-helm-infra:D+kubernetes
|
||||
TODO:stx-config:P+stx-platform-helm:D+helm:D+openstack-helm-infra:D+kubernetes
|
||||
stx-fault:d
|
||||
fm-doc.bb
|
||||
fm-common.bb
|
||||
fm-mgr.bb
|
||||
fm-rest-api.bb
|
||||
fm-api.bb
|
||||
snmp-audittrail.bb
|
||||
snmp-ext.bb
|
||||
|
||||
stx-gui:d
|
||||
stx-metal:d
|
||||
inventory.bb
|
||||
mtce-common.bb:common:daemon
|
||||
mtce-compute.bb
|
||||
mtce-control.bb
|
||||
mtce-storage.bb
|
||||
TODO:stx-metal:D+oslo-config-generator:D+post_run
|
||||
TODO:stx-metal:P+installer/pxe-network-installer
|
||||
TODO:stx-metal:P+kickstart
|
||||
stx-ha:d
|
||||
sm-common.bb
|
||||
sm-db.bb
|
||||
sm.bb
|
||||
sm-api.bb
|
||||
sm-client.bb
|
||||
sm-tools.bb
|
||||
stx-integ:w
|
||||
stx-ansible-playbooks:w
|
||||
stx-nfv:w
|
||||
stx-update:w
|
||||
stx-upstream:w
|
136
docs/progress.txt
Normal file
136
docs/progress.txt
Normal file
@ -0,0 +1,136 @@
|
||||
#List of first stab recipes done
|
||||
# Legend:
|
||||
# P=Port
|
||||
# D=Depends
|
||||
# w=not started yet
|
||||
# d=initial port done
|
||||
# r=replaced with yocto recipe
|
||||
# W=with
|
||||
# S=skipped dependency
|
||||
|
||||
stx-config:d
|
||||
config-gate.bb
|
||||
controllerconfig.bb
|
||||
puppet-manifests.bb
|
||||
puppet-modules-wrs.bb
|
||||
storageconfig
|
||||
worker-utils.bb
|
||||
workerconfig.bb
|
||||
pm-qos-mgr.bb
|
||||
sysinv.bb
|
||||
TODO:stx-config:P+stx-openstack-helm:D+openstack-helm:D+openstack-helm-infra:D+kubernetes
|
||||
TODO:stx-config:P+stx-platform-helm:D+helm:D+openstack-helm-infra:D+kubernetes
|
||||
|
||||
stx-fault:d
|
||||
fm-doc.bb
|
||||
fm-common.bb
|
||||
fm-mgr.bb
|
||||
fm-rest-api.bb
|
||||
fm-api.bb
|
||||
snmp-audittrail.bb
|
||||
snmp-ext.bb
|
||||
|
||||
stx-gui:d
|
||||
|
||||
stx-metal:d
|
||||
inventory.bb
|
||||
mtce-common.bb:common:daemon
|
||||
mtce-compute.bb
|
||||
mtce-control.bb
|
||||
mtce-storage.bb
|
||||
TODO:stx-metal:D+oslo-config-generator:D+post_run
|
||||
TODO:stx-metal:P+installer/pxe-network-installer
|
||||
TODO:stx-metal:P+kickstart
|
||||
|
||||
stx-ha:d
|
||||
sm-common.bb
|
||||
sm-db.bb
|
||||
sm.bb
|
||||
sm-api.bb
|
||||
sm-client.bb
|
||||
sm-tools.bb
|
||||
|
||||
stx-nfv:d
|
||||
nfv-common.bb
|
||||
nfv-plugins.bb
|
||||
nfv-tools.bb
|
||||
nfv-vim.bb
|
||||
nfv-client.bb
|
||||
mtce-guest.bb
|
||||
nfv-api-proxy.bb
|
||||
|
||||
stx-update:d
|
||||
cgsc-patch.bb
|
||||
enable-dev-patch.bb
|
||||
patch-alarm.bb
|
||||
tsconfig.bb
|
||||
R+python-ansible:meta-iot-cloud
|
||||
TODO:stx-update:P+patch-scripts
|
||||
|
||||
stx-ansible-playbooks:d
|
||||
TODO:stx-ansible-playbooks:r+ansible:W+python-ansible:meta-cloud-services
|
||||
TODO:stx-ansible-playbooks:S+sshpass
|
||||
|
||||
stx-upstream:w
|
||||
R+python-barbicanclient:meta-cloud-services/meta-openstack
|
||||
R+python-cinderclient:meta-cloud-services/meta-openstack
|
||||
R+python-glanceclient:meta-cloud-services/meta-openstack
|
||||
R+python-heatclient:meta-cloud-services/meta-openstack
|
||||
R+python-horizon:meta-cloud-services/meta-openstack
|
||||
R+python-keystoneauth1:meta-cloud-services/meta-openstack
|
||||
R+python-keystoneclient:meta-cloud-services/meta-openstack
|
||||
R+python-magnumclient:meta-cloud-services/meta-openstack
|
||||
R+python-neutronclient:meta-cloud-services/meta-openstack
|
||||
R+python-novaclient:meta-cloud-services/meta-openstack
|
||||
R+python-openstackclient:meta-cloud-services/meta-openstack
|
||||
R+python-openstacksdk:meta-cloud-services/meta-openstack
|
||||
stx-ocf-scripts.bb
|
||||
rabitmq-server-config.bb
|
||||
|
||||
TODO:stx-upstream:P+python-gnocchiclient
|
||||
TODO:stx-upstream:P+python-aodhclient
|
||||
TODO:stx-upstream:P+python-ironicclient
|
||||
TODO:stx-upstream:P+python-muranoclient
|
||||
TODO:stx-upstream:P+openstack-ras
|
||||
TODO:stx-upstream:P+openstack-helm
|
||||
TODO:stx-upstream:P+distributedcloud
|
||||
TODO:stx-upstream:P+distributedcloud-client
|
||||
TODO:stx-upstream:P+python-pankoclient
|
||||
|
||||
stx-integ/base:d
|
||||
cgcs-users.bb
|
||||
dhcp-config.bb
|
||||
dnsmasq-config.bb
|
||||
R+dpkg:W+start-stop-daemon
|
||||
R+golang-dep:W+go-dep
|
||||
haproxy-config.bb
|
||||
initscripts-config.bb
|
||||
R+libfdt:W+dtc-1.4.7
|
||||
lighttpd-config.bb
|
||||
net-snmp-config.bb
|
||||
openssh-config.bb
|
||||
setup-config.bb
|
||||
systemd-config.bb
|
||||
TODO:stx-integ/base:P+rpm:apply patches as needed; disregard otherwise
|
||||
TODO:stx-integ/base:Check app spec files for post run. Adopt as needed.
|
||||
|
||||
|
||||
stx-integ/ceph:d
|
||||
ceph-manager.bb
|
||||
R+python-cephclient:meta-cloud-services/meta-openstack
|
||||
TODO:stx-integ/ceph:P+stx required ceph and any related patches to thud:R+ceph:W+meta-virtualization
|
||||
|
||||
stx-integ/config-files:d
|
||||
audit-config.bb
|
||||
docker-config.bb
|
||||
io-scheduler.bb
|
||||
iptables-config.bb
|
||||
memcached-custom.bb
|
||||
ntp-config.bb
|
||||
pam-config.bb
|
||||
rsync-config.bb
|
||||
shadow-utils-config.bb
|
||||
stx-integ-config-files.inc
|
||||
sudo-config.bb
|
||||
syslog-ng-config.bb
|
||||
util-linux-config.bb
|
2191
patches/stx-integ/0001-cgcs-users-with-patch-ibsh-patches.patch
Normal file
2191
patches/stx-integ/0001-cgcs-users-with-patch-ibsh-patches.patch
Normal file
File diff suppressed because it is too large
Load Diff
132
patches/stx-integ/0002-Add-DESTDIR-CFLAGS-and-LDFLAGS.patch
Normal file
132
patches/stx-integ/0002-Add-DESTDIR-CFLAGS-and-LDFLAGS.patch
Normal file
@ -0,0 +1,132 @@
|
||||
From edd5d4208db67d560afd3b5873b6ffc17fd5d79f Mon Sep 17 00:00:00 2001
|
||||
From: babak sarashki <babak.sarashki@windriver.com>
|
||||
Date: Tue, 2 Jul 2019 14:29:52 -0700
|
||||
Subject: [PATCH 2/2] Add DESTDIR, CFLAGS and LDFLAGS.
|
||||
|
||||
---
|
||||
base/cgcs-users/cgcs-users-1.0/Makefile | 115 ++++++++++++------------
|
||||
1 file changed, 59 insertions(+), 56 deletions(-)
|
||||
|
||||
diff --git a/base/cgcs-users/cgcs-users-1.0/Makefile b/base/cgcs-users/cgcs-users-1.0/Makefile
|
||||
index ed37d00..205f653 100644
|
||||
--- a/base/cgcs-users/cgcs-users-1.0/Makefile
|
||||
+++ b/base/cgcs-users/cgcs-users-1.0/Makefile
|
||||
@@ -1,56 +1,59 @@
|
||||
-# This is the makefile for ibsh 0.3e
|
||||
-CC = gcc
|
||||
-OBJECTS = main.o command.o jail.o execute.o config.o misc.o antixploit.o delbadfiles.o
|
||||
-
|
||||
-ibsh: ${OBJECTS} ibsh.h
|
||||
- ${CC} -o ibsh ${OBJECTS}
|
||||
-
|
||||
-main.o: main.c ibsh.h
|
||||
- ${CC} -c main.c
|
||||
-
|
||||
-command.o: command.c ibsh.h
|
||||
- ${CC} -c command.c
|
||||
-
|
||||
-jail.o: jail.c ibsh.h
|
||||
- ${CC} -c jail.c
|
||||
-
|
||||
-execute.o: execute.c ibsh.h
|
||||
- ${CC} -c execute.c
|
||||
-
|
||||
-config.o: config.c ibsh.h
|
||||
- ${CC} -c config.c
|
||||
-
|
||||
-misc.o: misc.c ibsh.h
|
||||
- ${CC} -c misc.c
|
||||
-
|
||||
-antixploit.o: antixploit.c ibsh.h
|
||||
- ${CC} -c antixploit.c
|
||||
-
|
||||
-delbadfiles.o: delbadfiles.c ibsh.h
|
||||
- ${CC} -c delbadfiles.c
|
||||
-
|
||||
-ibsh_install:
|
||||
- cp ./ibsh /bin/
|
||||
- mkdir /etc/ibsh
|
||||
- mkdir /etc/ibsh/cmds
|
||||
- mkdir /etc/ibsh/xtns
|
||||
- cp ./globals.cmds /etc/ibsh/
|
||||
- cp ./globals.xtns /etc/ibsh/
|
||||
-
|
||||
-ibsh_uninstall:
|
||||
- rm -rf /etc/ibsh/globals.cmds
|
||||
- rm -rf /etc/ibsh/globals.xtns
|
||||
- rm -rf /etc/ibsh/cmds/*.*
|
||||
- rm -rf /etc/ibsh/xtns/*.*
|
||||
- rmdir /etc/ibsh/cmds
|
||||
- rmdir /etc/ibsh/xtns
|
||||
- rmdir /etc/ibsh
|
||||
- rm -rf /bin/ibsh
|
||||
-
|
||||
-clean:
|
||||
- rm -rf ibsh
|
||||
- rm -rf *.o
|
||||
-
|
||||
-
|
||||
-# 13:49 2005.04.06.
|
||||
-
|
||||
+# This is the makefile for ibsh 0.3e
|
||||
+CC = gcc
|
||||
+OBJECTS = main.o command.o jail.o execute.o config.o misc.o antixploit.o delbadfiles.o
|
||||
+
|
||||
+ibsh: ${OBJECTS} ibsh.h
|
||||
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ibsh ${OBJECTS}
|
||||
+
|
||||
+main.o: main.c ibsh.h
|
||||
+ ${CC} ${CFLAGS} -c main.c
|
||||
+
|
||||
+command.o: command.c ibsh.h
|
||||
+ ${CC} ${CFLAGS} -c command.c
|
||||
+
|
||||
+jail.o: jail.c ibsh.h
|
||||
+ ${CC} ${CFLAGS} -c jail.c
|
||||
+
|
||||
+execute.o: execute.c ibsh.h
|
||||
+ ${CC} ${CFLAGS} -c execute.c
|
||||
+
|
||||
+config.o: config.c ibsh.h
|
||||
+ ${CC} ${CFLAGS} -c config.c
|
||||
+
|
||||
+misc.o: misc.c ibsh.h
|
||||
+ ${CC} ${CFLAGS} -c misc.c
|
||||
+
|
||||
+antixploit.o: antixploit.c ibsh.h
|
||||
+ ${CC} ${CFLAGS} -c antixploit.c
|
||||
+
|
||||
+delbadfiles.o: delbadfiles.c ibsh.h
|
||||
+ ${CC} -c delbadfiles.c
|
||||
+
|
||||
+ibsh_install:
|
||||
+ install -d 0755 ${DESTDIR}/bin
|
||||
+ install -d 0755 ${DESTDIR}/etc/cmds
|
||||
+ install -d 0755 ${DESTDIR}/etc/xtns
|
||||
+ cp ./ibsh ${DESTDIR}/bin/
|
||||
+ mkdir ${DESTDIR}/etc/ibsh
|
||||
+ mkdir ${DESTDIR}/etc/ibsh/cmds
|
||||
+ mkdir ${DESTDIR}/etc/ibsh/xtns
|
||||
+ cp ./globals.cmds ${DESTDIR}/etc/ibsh/
|
||||
+ cp ./globals.xtns ${DESTDIR}/etc/ibsh/
|
||||
+
|
||||
+ibsh_uninstall:
|
||||
+ rm -rf ${DESTDIR}/etc/ibsh/globals.cmds
|
||||
+ rm -rf ${DESTDIR}/etc/ibsh/globals.xtns
|
||||
+ rm -rf ${DESTDIR}/etc/ibsh/cmds/*.*
|
||||
+ rm -rf ${DESTDIR}/etc/ibsh/xtns/*.*
|
||||
+ rmdir ${DESTDIR}/etc/ibsh/cmds
|
||||
+ rmdir ${DESTDIR}/etc/ibsh/xtns
|
||||
+ rmdir ${DESTDIR}/etc/ibsh
|
||||
+ rm -rf ${DESTDIR}/bin/ibsh
|
||||
+
|
||||
+clean:
|
||||
+ rm -rf ibsh
|
||||
+ rm -rf *.o
|
||||
+
|
||||
+
|
||||
+# 13:49 2005.04.06.
|
||||
+
|
||||
--
|
||||
2.17.1
|
||||
|
@ -1,4 +1,4 @@
|
||||
SUMMARY = "StarlingX/cgsc-root/stx/stx-config"
|
||||
SUMMARY = "StarlingX/cgsc-root/stx/stx-fault"
|
||||
PR = "r0"
|
||||
|
||||
#
|
||||
|
24
recipes-core/packagegroups/packagegroup-stx-ha.bb
Normal file
24
recipes-core/packagegroups/packagegroup-stx-ha.bb
Normal file
@ -0,0 +1,24 @@
|
||||
SUMMARY = "StarlingX/cgsc-root/stx/stx-ha"
|
||||
PR = "r0"
|
||||
|
||||
#
|
||||
# packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH
|
||||
#
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
|
||||
inherit packagegroup
|
||||
|
||||
PROVIDES = "${PACKAGES}"
|
||||
PACKAGES = " \
|
||||
packagegroup-stx-ha\
|
||||
"
|
||||
|
||||
RDEPENDS_packagegroup-stx-ha = " \
|
||||
sm-api \
|
||||
sm \
|
||||
sm-client \
|
||||
sm-common \
|
||||
sm-db \
|
||||
sm-tools \
|
||||
"
|
30
recipes-core/packagegroups/packagegroup-stx-integ-cff.bb
Normal file
30
recipes-core/packagegroups/packagegroup-stx-integ-cff.bb
Normal file
@ -0,0 +1,30 @@
|
||||
SUMMARY = "StarlingX/cgsc-root/stx/stx-integ/config-files"
|
||||
PR = "r0"
|
||||
|
||||
#
|
||||
# packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH
|
||||
#
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
|
||||
inherit packagegroup
|
||||
|
||||
PROVIDES = "${PACKAGES}"
|
||||
PACKAGES = " \
|
||||
packagegroup-stx-integ-cff \
|
||||
"
|
||||
|
||||
RDEPENDS_packagegroup-stx-integ-cff = " \
|
||||
audit-config \
|
||||
docker-config \
|
||||
io-scheduler \
|
||||
iptables-config \
|
||||
memcached-custom \
|
||||
ntp-config \
|
||||
pam-config \
|
||||
rsync-config \
|
||||
shadow-utils-config \
|
||||
sudo-config \
|
||||
syslog-ng-config \
|
||||
util-linux-config \
|
||||
"
|
@ -1,4 +1,4 @@
|
||||
SUMMARY = "StarlingX/cgsc-root/stx/stx-config"
|
||||
SUMMARY = "StarlingX/cgsc-root/stx/stx-metal"
|
||||
PR = "r0"
|
||||
|
||||
#
|
||||
|
25
recipes-core/packagegroups/packagegroup-stx-nfv.bb
Normal file
25
recipes-core/packagegroups/packagegroup-stx-nfv.bb
Normal file
@ -0,0 +1,25 @@
|
||||
SUMMARY = "StarlingX/cgsc-root/stx/stx-nfv"
|
||||
PR = "r0"
|
||||
|
||||
#
|
||||
# packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH
|
||||
#
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
|
||||
inherit packagegroup
|
||||
|
||||
PROVIDES = "${PACKAGES}"
|
||||
PACKAGES = " \
|
||||
packagegroup-stx-nfv \
|
||||
"
|
||||
|
||||
RDEPENDS_packagegroup-stx-nfv = " \
|
||||
nfv-common \
|
||||
nfv-plugins \
|
||||
nfv-tools \
|
||||
nfv-vim \
|
||||
nfv-client \
|
||||
mtce-guest \
|
||||
nova-api-proxy \
|
||||
"
|
23
recipes-core/packagegroups/packagegroup-stx-update.bb
Normal file
23
recipes-core/packagegroups/packagegroup-stx-update.bb
Normal file
@ -0,0 +1,23 @@
|
||||
SUMMARY = "StarlingX/cgsc-root/stx/stx-update"
|
||||
PR = "r0"
|
||||
|
||||
#
|
||||
# packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH
|
||||
#
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
|
||||
inherit packagegroup
|
||||
|
||||
PROVIDES = "${PACKAGES}"
|
||||
PACKAGES = " \
|
||||
packagegroup-stx-update \
|
||||
"
|
||||
|
||||
RDEPENDS_packagegroup-stx-update = " \
|
||||
cgcs-patch \
|
||||
enable-dev-patch \
|
||||
patch-alarm \
|
||||
tsconfig \
|
||||
python-requests-toolbelt \
|
||||
"
|
41
recipes-core/packagegroups/packagegroup-stx-upstream.bb
Normal file
41
recipes-core/packagegroups/packagegroup-stx-upstream.bb
Normal file
@ -0,0 +1,41 @@
|
||||
SUMMARY = "StarlingX/cgsc-root/stx/stx-upstream"
|
||||
PR = "r0"
|
||||
|
||||
#
|
||||
# packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH
|
||||
#
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
|
||||
inherit packagegroup
|
||||
|
||||
PROVIDES = "${PACKAGES}"
|
||||
PACKAGES = " \
|
||||
packagegroup-stx-upstream \
|
||||
"
|
||||
|
||||
# TODO:
|
||||
# See docs/progress.txt file
|
||||
# Here we are replacing packages with those already present in
|
||||
# yocto layers. Validate that the packages meet the requirements.
|
||||
|
||||
# TODO:
|
||||
# See docs/progress.txt file
|
||||
# Port required/missing packages.
|
||||
|
||||
RDEPENDS_packagegroup-stx-upstream = " \
|
||||
python-barbicanclient \
|
||||
python-cinderclient \
|
||||
python-glanceclient \
|
||||
python-heatclient \
|
||||
python-horizon \
|
||||
python-keystoneauth1 \
|
||||
python-keystoneclient \
|
||||
python-magnumclient \
|
||||
python-neutronclient \
|
||||
python-novaclient \
|
||||
python-openstackclient \
|
||||
python-openstacksdk \
|
||||
stx-ocf-scripts \
|
||||
rabbitmq-server-config \
|
||||
"
|
43
recipes-core/stx-ansible-playbooks/stx-ansible-playbooks.bb
Normal file
43
recipes-core/stx-ansible-playbooks/stx-ansible-playbooks.bb
Normal file
@ -0,0 +1,43 @@
|
||||
DESCRIPTION = "stx-ansible-playbooks"
|
||||
|
||||
STABLE = "starlingx/master"
|
||||
PROTOCOL = "https"
|
||||
BRANCH = "master"
|
||||
SRCREV = "c7390f63001219b5eb41a6e36f4f4643d0fc0208"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "19.05"
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
SRC_URI = "git://opendev.org/starlingx/ansible-playbooks.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
|
||||
|
||||
DEPENDS = " \
|
||||
python \
|
||||
python-netaddr \
|
||||
python-ptyprocess \
|
||||
python-pexpect \
|
||||
python-ansible \
|
||||
"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/playbookconfig/playbookconfig
|
||||
oe_runmake -e \
|
||||
DESTDIR=${D}/${sysconfdir}/
|
||||
mv ${D}/${sysconfdir}/playbooks ${D}/${sysconfdir}/ansible
|
||||
chmod 644 ${D}/${sysconfdir}/ansible/ansible.cfg
|
||||
chmod 644 ${D}/${sysconfdir}/ansible/hosts
|
||||
}
|
||||
|
||||
#pkg_postinst_ontarget_${PN} () { }
|
||||
|
||||
# FILES_${PN}_append += " "
|
@ -0,0 +1,2 @@
|
||||
#inherit externalsrc
|
||||
#EXTERNALSRC_pn-${PN}="${EXTERNALREPO}/stx-metal"
|
60
recipes-core/stx-integ-ceph/ceph-manager.bb
Normal file
60
recipes-core/stx-integ-ceph/ceph-manager.bb
Normal file
@ -0,0 +1,60 @@
|
||||
DESCRIPTION = "ceph-manager"
|
||||
|
||||
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-ineg-ceph.inc
|
||||
inherit setuptools
|
||||
|
||||
|
||||
DEPENDS = " \
|
||||
python \
|
||||
python-pbr-native \
|
||||
"
|
||||
RDEPENDS_${PN}_append = " bash"
|
||||
|
||||
do_configure () {
|
||||
cd ${S}/ceph/ceph-manager/ceph-manager/
|
||||
distutils_do_configure
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/ceph/ceph-manager/ceph-manager/
|
||||
distutils_do_compile
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/ceph/ceph-manager/ceph-manager/
|
||||
distutils_do_install
|
||||
|
||||
cd ${S}/ceph/ceph-manager/
|
||||
|
||||
install -d -m 755 ${D}/${sysconfdir}/init.d
|
||||
install -p -D -m 700 scripts/init.d/ceph-manager ${D}/${sysconfdir}/init.d/ceph-manager
|
||||
|
||||
install -d -m 755 ${D}/${bindir}
|
||||
install -p -D -m 700 scripts/bin/ceph-manager ${D}//${bindir}/ceph-manager
|
||||
|
||||
install -d -m 755 ${D}${sysconfdir}/logrotate.d
|
||||
install -p -D -m 644 files/ceph-manager.logrotate ${D}/${sysconfdir}/logrotate.d/ceph-manager.logrotate
|
||||
|
||||
install -d -m 755 ${D}/${systemd_system_unitdir}
|
||||
install -m 644 -p -D files/${PN}.service ${D}/${systemd_system_unitdir}/${PN}.service
|
||||
|
||||
}
|
||||
|
||||
# pkg_postinst_ontarget_${PN} () { }
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${systemd_system_unitdir} \
|
||||
"
|
2
recipes-core/stx-integ-ceph/stx-ineg-ceph.inc
Normal file
2
recipes-core/stx-integ-ceph/stx-ineg-ceph.inc
Normal file
@ -0,0 +1,2 @@
|
||||
inherit externalsrc
|
||||
EXTERNALSRC_pn-${PN}="${EXTERNALREPO}/stx-integ"
|
38
recipes-core/stx-integ-config-files/audit-config.bb
Normal file
38
recipes-core/stx-integ-config-files/audit-config.bb
Normal file
@ -0,0 +1,38 @@
|
||||
DESCRIPTION = "audit-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/audit-config
|
||||
install -d -m 0755 ${D}/${datadir}/starlingx/
|
||||
install -p -m 0644 files/syslog.conf ${D}/${datadir}/starlingx/syslog.conf
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${systemd_system_unitdir} \
|
||||
${datadir} \
|
||||
"\
|
||||
|
34
recipes-core/stx-integ-config-files/docker-config.bb
Normal file
34
recipes-core/stx-integ-config-files/docker-config.bb
Normal file
@ -0,0 +1,34 @@
|
||||
DESCRIPTION = "docker-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/docker-config/files
|
||||
oe_runmake -e DATADIR=${D}/${datadir} \
|
||||
SYSCONFDIR=${D}/${sysconfdir} install
|
||||
}
|
||||
|
||||
#FILES_${PN}_append += " ${systemd_system_unitdir} "
|
34
recipes-core/stx-integ-config-files/io-scheduler.bb
Normal file
34
recipes-core/stx-integ-config-files/io-scheduler.bb
Normal file
@ -0,0 +1,34 @@
|
||||
DESCRIPTION = "io-scheduler"
|
||||
|
||||
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 () {
|
||||
install -d -m 0755 ${D}/${sysconfdir}/udev/rules.d
|
||||
install -m644 ${S}/config-files/io-scheduler/centos/files/60-io-scheduler.rules \
|
||||
${D}/${sysconfdir}/udev/rules.d/60-io-scheduler.rules
|
||||
}
|
||||
|
||||
#FILES_${PN}_append += " ${systemd_system_unitdir} "
|
40
recipes-core/stx-integ-config-files/iptables-config.bb
Normal file
40
recipes-core/stx-integ-config-files/iptables-config.bb
Normal file
@ -0,0 +1,40 @@
|
||||
DESCRIPTION = "iptables-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/iptables-config
|
||||
install -d -m0755 ${D}/${sysconfdir}/sysconfig
|
||||
install -d -m0755 ${D}/${datadir}/starlingx
|
||||
|
||||
install -m600 files/iptables.rules ${D}/${datadir}/starlingx/iptables.rules
|
||||
install -m600 files/ip6tables.rules ${D}/${datadir}/starlingx/ip6tables.rules
|
||||
|
||||
install -m600 files/iptables.rules ${D}/${sysconfdir}/sysconfig/iptables.rules
|
||||
install -m600 files/ip6tables.rules ${D}/${sysconfdir}/sysconfig/ip6tables.rules
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " ${datadir} "
|
35
recipes-core/stx-integ-config-files/memcached-custom.bb
Normal file
35
recipes-core/stx-integ-config-files/memcached-custom.bb
Normal file
@ -0,0 +1,35 @@
|
||||
DESCRIPTION = "memcached-custom"
|
||||
|
||||
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/memcached-custom
|
||||
install -d -m0755 ${D}/${systemd_system_unitdir}
|
||||
|
||||
install -m644 files/memcached.service ${D}/${systemd_system_unitdir}/
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " ${systemd_system_unitdir} "
|
40
recipes-core/stx-integ-config-files/ntp-config.bb
Normal file
40
recipes-core/stx-integ-config-files/ntp-config.bb
Normal file
@ -0,0 +1,40 @@
|
||||
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} "
|
42
recipes-core/stx-integ-config-files/pam-config.bb
Normal file
42
recipes-core/stx-integ-config-files/pam-config.bb
Normal file
@ -0,0 +1,42 @@
|
||||
DESCRIPTION = "pam-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/pam-config/
|
||||
install -d -m0755 ${D}/${datadir}/starlingx
|
||||
install -d -m0755 ${D}/${sysconfdir}/pam.d
|
||||
|
||||
install -m 644 files/common-account ${D}/${sysconfdir}/pam.d/common-account
|
||||
install -m 644 files/common-auth ${D}/${sysconfdir}/pam.d/common-auth
|
||||
install -m 644 files/common-password ${D}/${sysconfdir}/pam.d/common-password
|
||||
install -m 644 files/common-session ${D}/${sysconfdir}/pam.d/common-session
|
||||
install -m 644 files/common-session-noninteractive ${D}${sysconfdir}/pam.d/common-session-noninteractive
|
||||
install -m 644 files/system-auth.pamd ${D}/${datadir}/starlingx/stx.system-auth
|
||||
install -m 644 files/system-auth.pamd ${D}/${sysconfdir}/pam.d/system-auth
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " ${datadir} "
|
37
recipes-core/stx-integ-config-files/rsync-config.bb
Normal file
37
recipes-core/stx-integ-config-files/rsync-config.bb
Normal file
@ -0,0 +1,37 @@
|
||||
DESCRIPTION = "rsync-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/rsync-config/
|
||||
install -d -m0755 ${D}/${datadir}/starlingx
|
||||
install -d -m0755 ${D}/${sysconfdir}/
|
||||
|
||||
install -m 644 files/rsyncd.conf ${D}/${datadir}/starlingx/stx.rsyncd.conf
|
||||
install -m 644 files/rsyncd.conf ${D}/${sysconfdir}/rsyncd.conf
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " ${datadir} "
|
43
recipes-core/stx-integ-config-files/shadow-utils-config.bb
Normal file
43
recipes-core/stx-integ-config-files/shadow-utils-config.bb
Normal file
@ -0,0 +1,43 @@
|
||||
DESCRIPTION = "shadow-utils-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/shadow-utils-config
|
||||
install -d -m0755 ${D}/${datadir}/starlingx
|
||||
install -d -m0755 ${D}/${sysconfdir}/init.d
|
||||
install -d -m0755 ${D}/${systemd_system_unitdir}
|
||||
|
||||
install -m644 files/login.defs ${D}/${datadir}/starlingx/login.defs
|
||||
|
||||
install -m644 files/clear_shadow_locks.service ${D}/${systemd_system_unitdir}/
|
||||
install -m644 files/login.defs ${D}/${sysconfdir}/login.defs
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${datadir} \
|
||||
${systemd_system_unitdir} \
|
||||
"
|
@ -0,0 +1,2 @@
|
||||
inherit externalsrc
|
||||
EXTERNALSRC_pn-${PN}="${EXTERNALREPO}/stx-integ/"
|
50
recipes-core/stx-integ-config-files/sudo-config.bb
Normal file
50
recipes-core/stx-integ-config-files/sudo-config.bb
Normal file
@ -0,0 +1,50 @@
|
||||
DESCRIPTION = "sudo-config"
|
||||
#
|
||||
#TODO:
|
||||
# Set the following in shadow file and add the user
|
||||
# %define SYSADMIN_P 4SuW8cnXFyxsk
|
||||
# useradd -m -g sys_protected -G root \
|
||||
# -d /home/sysadmin -p %{SYSADMIN_P} \
|
||||
# -s /bin/sh sysadmin 2> /dev/null || :
|
||||
#
|
||||
# TODO:
|
||||
# the RPM spec installs sysadmin.sudo
|
||||
# Source does not include sysadmin.sudo
|
||||
# Use wrs.sudo for now to get passed
|
||||
# +++++++ Replace with the correct file.
|
||||
|
||||
|
||||
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/sudo-config
|
||||
install -d -m755 ${D}/${sysconfdir}/sudoers.d
|
||||
|
||||
# install -m644 files/sysadmin.sudo ${D}/${sysconfdir}/sudoers.d/
|
||||
install -m644 files/wrs.sudo ${D}/${sysconfdir}/sudoers.d/sysadmin
|
||||
}
|
||||
|
||||
# FILES_${PN}_append += " ${datadir} "
|
52
recipes-core/stx-integ-config-files/syslog-ng-config.bb
Normal file
52
recipes-core/stx-integ-config-files/syslog-ng-config.bb
Normal file
@ -0,0 +1,52 @@
|
||||
DESCRIPTION = "syslog-ng-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/syslog-ng-config
|
||||
install -d -m755 ${D}/${datadir}/starlingx
|
||||
install -d -m755 ${D}/${sysconfdir}/sysconfig/syslog-ng
|
||||
install -d -m755 ${D}/${sysconfdir}/logrotate.d
|
||||
install -d -m755 ${D}/${systemd_system_unitdir}
|
||||
install -d -m755 ${D}/${sbindir}
|
||||
|
||||
install -D -m644 files/syslog-ng.conf ${D}/${datadir}/starlingx/syslog-ng.conf
|
||||
install -D -m644 files/syslog-ng.logrotate ${D}/${datadir}/starlingx/syslog-ng.logrotate
|
||||
install -D -m644 files/remotelogging.conf ${D}/${sysconfdir}/syslog-ng/remotelogging.conf
|
||||
install -D -m700 files/fm_event_syslogger ${D}/${sbindir}/fm_event_syslogger
|
||||
install -D -m644 files/syslog-ng.service ${D}/${datadir}/starlingx/syslog-ng.service
|
||||
|
||||
install -D -m644 files/syslog-ng.conf ${D}/${sysconfdir}/syslog-ng/syslog-ng.conf
|
||||
install -D -m644 files/syslog-ng.logrotate ${D}/${sysconfdir}/logrotate.d/syslog
|
||||
install -D -m644 files/syslog-ng.service ${D}/${systemd_system_unitdir}/syslog-ng.service
|
||||
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${systemd_system_unitdir} \
|
||||
${datadir} \
|
||||
"
|
40
recipes-core/stx-integ-config-files/util-linux-config.bb
Normal file
40
recipes-core/stx-integ-config-files/util-linux-config.bb
Normal file
@ -0,0 +1,40 @@
|
||||
DESCRIPTION = "util-linux-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/util-linux-config
|
||||
install -d -m0755 ${D}/${datadir}/starlingx
|
||||
install -d -m0755 ${D}/${sysconfdir}/pam.d
|
||||
|
||||
install -m644 files/stx.su ${D}/${datadir}/starlingx/stx.su
|
||||
install -m644 files/stx.login ${D}/${datadir}/starlingx/stx.login
|
||||
|
||||
install -m644 files/stx.su ${D}/${sysconfdir}/pam.d/su
|
||||
install -m644 files/stx.login ${D}/${sysconfdir}/pam.d/login
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " ${datadir} "
|
34
recipes-core/stx-integ/cgcs-users.bb
Normal file
34
recipes-core/stx-integ/cgcs-users.bb
Normal file
@ -0,0 +1,34 @@
|
||||
DESCRIPTION = "cgcs-users"
|
||||
|
||||
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.inc
|
||||
|
||||
RDEPENDS_${PN} += " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/base/cgcs-users/cgcs-users-1.0
|
||||
oe_runmake -e ibsh
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/base/cgcs-users/cgcs-users-1.0
|
||||
oe_runmake -e DESTDIR=${D} ibsh_install
|
||||
}
|
||||
|
||||
# FILES_${PN}_append += " "ibsh
|
35
recipes-core/stx-integ/dhcp-config.bb
Normal file
35
recipes-core/stx-integ/dhcp-config.bb
Normal file
@ -0,0 +1,35 @@
|
||||
DESCRIPTION = "dhcp-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.inc
|
||||
|
||||
RDEPENDS_${PN} += " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/base/dhcp-config
|
||||
install -d -m 0755 ${D}/${sysconfdir}/dhcp
|
||||
install -p -m 0755 files/dhclient-enter-hooks ${D}/${sysconfdir}/dhcp
|
||||
install -p -m 0755 files/dhclient.conf ${D}/${sysconfdir}/dhcp
|
||||
}
|
||||
|
||||
# FILES_${PN}_append += " "
|
34
recipes-core/stx-integ/dnsmasq-config.bb
Normal file
34
recipes-core/stx-integ/dnsmasq-config.bb
Normal file
@ -0,0 +1,34 @@
|
||||
DESCRIPTION = "dnsmasq-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.inc
|
||||
|
||||
RDEPENDS_${PN} += " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/base/dnsmasq-config
|
||||
install -d -m 0755 ${D}/${sysconfdir}/init.d
|
||||
install -p -m 0755 files/init ${D}/${sysconfdir}/init.d/dnsmasq
|
||||
}
|
||||
|
||||
# FILES_${PN}_append += " "
|
38
recipes-core/stx-integ/haproxy-config.bb
Normal file
38
recipes-core/stx-integ/haproxy-config.bb
Normal file
@ -0,0 +1,38 @@
|
||||
DESCRIPTION = "haproxy-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.inc
|
||||
|
||||
RDEPENDS_${PN} += " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/base/haproxy-config
|
||||
install -d -m 0755 ${D}/${systemd_system_unitdir}
|
||||
install -d -m 0755 ${D}/${sysconfdir}/haproxy/errors
|
||||
install -d -m 0755 ${D}/${sysconfdir}/init.d
|
||||
install -p -m 0755 files/503.http ${D}/${sysconfdir}/haproxy/errors
|
||||
install -p -m 0644 files/haproxy.service ${D}/${systemd_system_unitdir}
|
||||
install -p -m 0755 files/haproxy.sh ${D}/${sysconfdir}/init.d
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " ${systemd_system_unitdir} "
|
45
recipes-core/stx-integ/initscripts-config.bb
Normal file
45
recipes-core/stx-integ/initscripts-config.bb
Normal file
@ -0,0 +1,45 @@
|
||||
DESCRIPTION = "initscripts-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.inc
|
||||
|
||||
RDEPENDS_${PN} += " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/base/initscripts-config
|
||||
install -d -m 0755 ${D}/${datadir}/starlingx/
|
||||
install -d -m 0755 ${D}/${sysconfdir}/sysconfig
|
||||
install -d -m 0755 ${D}/${sysconfdir}/init.d
|
||||
install -d -m 0755 ${D}/${systemd_system_unitdir}
|
||||
|
||||
install -p -m 0644 files/sysctl.conf ${D}/${datadir}/starlingx/stx.sysctl.conf
|
||||
install -p -m 0644 files/sysconfig-network.conf ${D}/${sysconfdir}/sysconfig/network
|
||||
install -p -m 0755 files/mountnfs.sh ${D}/${sysconfdir}/init.d/mountnfs
|
||||
install -p -m 0644 files/mountnfs.service ${D}/${systemd_system_unitdir}/mountnfs.service
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${systemd_system_unitdir} \
|
||||
${datadir} \
|
||||
"\
|
||||
|
50
recipes-core/stx-integ/lighttpd-config.bb
Normal file
50
recipes-core/stx-integ/lighttpd-config.bb
Normal file
@ -0,0 +1,50 @@
|
||||
DESCRIPTION = "lighttpd-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.inc
|
||||
|
||||
RDEPENDS_${PN} += " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/base/lighttpd-config
|
||||
install -d -m 1777 ${D}/www/tmp
|
||||
install -d ${D}/${sysconfdir}/lighttpd/ssl
|
||||
install -d ${D}/www/pages/dav
|
||||
install -d ${D}/${datadir}/starlingx
|
||||
|
||||
install -m640 files/lighttpd.conf ${D}/${datadir}/starlingx/lighttpd.conf
|
||||
install -m755 files/lighttpd.init ${D}/${datadir}/starlingx/lighttpd.init
|
||||
install -m644 files/lighttpd-inc.conf ${D}/${sysconfdir}/lighttpd/lighttpd-inc.conf
|
||||
install -m644 files/index.html.lighttpd ${D}/www/pages/index.html
|
||||
|
||||
install -d ${D}/${sysconfdir}/logrotate.d
|
||||
install -m644 files/lighttpd.logrotate ${D}/${datadir}/starlingx/lighttpd.logrotate
|
||||
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${systemd_system_unitdir} \
|
||||
${datadir} \
|
||||
www \
|
||||
"
|
||||
|
46
recipes-core/stx-integ/net-snmp-config.bb
Normal file
46
recipes-core/stx-integ/net-snmp-config.bb
Normal file
@ -0,0 +1,46 @@
|
||||
DESCRIPTION = "net-snmp-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.inc
|
||||
|
||||
RDEPENDS_${PN} += " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/base/net-snmp-config
|
||||
install -d ${D}/${datadir}/starlingx
|
||||
install -d ${D}/${datadir}/snmp
|
||||
install -d ${D}/${sysconfdir}/rc.d/init.d
|
||||
install -d ${D}/${systemd_system_unitdir}
|
||||
|
||||
install -m640 files/stx.snmpd.conf ${D}/${datadir}/starlingx/stx.snmpd.conf
|
||||
install -m755 files/stx.snmpd ${D}/${sysconfdir}/rc.d/init.d/snmpd
|
||||
install -m640 files/stx.snmp.conf ${D}/${datadir}/snmp/snmp.conf
|
||||
install -m644 files/snmpd.service ${D}/${systemd_system_unitdir}/snpd.service
|
||||
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${systemd_system_unitdir} \
|
||||
${datadir} \
|
||||
"
|
||||
|
44
recipes-core/stx-integ/openssh-config.bb
Normal file
44
recipes-core/stx-integ/openssh-config.bb
Normal file
@ -0,0 +1,44 @@
|
||||
DESCRIPTION = "openssh-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.inc
|
||||
|
||||
RDEPENDS_${PN} += " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/base/openssh-config
|
||||
install -d ${D}/${datadir}/starlingx
|
||||
install -d ${D}/${systemd_system_unitdir}
|
||||
|
||||
install -m640 files/sshd.pam ${D}/${datadir}/starlingx/sshd.pam
|
||||
install -m640 files/sshd_config ${D}/${datadir}/starlingx/sshd_config
|
||||
install -m640 files/ssh_config ${D}/${datadir}/starlingx/ssh_config
|
||||
install -m644 files/sshd.service ${D}/${systemd_system_unitdir}/sshd.service
|
||||
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${systemd_system_unitdir} \
|
||||
${datadir} \
|
||||
"
|
||||
|
42
recipes-core/stx-integ/setup-config.bb
Normal file
42
recipes-core/stx-integ/setup-config.bb
Normal file
@ -0,0 +1,42 @@
|
||||
DESCRIPTION = "setup-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.inc
|
||||
|
||||
RDEPENDS_${PN} += " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/base/setup-config
|
||||
install -d ${D}/${datadir}/starlingx
|
||||
install -d ${D}/${sysconfdir}/profile.d
|
||||
|
||||
install -m640 files/motd ${D}/${datadir}/starlingx/stx.motd
|
||||
install -m640 files/prompt.sh ${D}/${sysconfdir}/profile.d/prompt.sh
|
||||
install -m640 files/custom.sh ${D}/${sysconfdir}/profile.d/custom.sh
|
||||
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${datadir} \
|
||||
"
|
||||
|
2
recipes-core/stx-integ/stx-integ.inc
Normal file
2
recipes-core/stx-integ/stx-integ.inc
Normal file
@ -0,0 +1,2 @@
|
||||
inherit externalsrc
|
||||
EXTERNALSRC_pn-${PN}="${EXTERNALREPO}/stx-integ"
|
42
recipes-core/stx-integ/systemd-config.bb
Normal file
42
recipes-core/stx-integ/systemd-config.bb
Normal file
@ -0,0 +1,42 @@
|
||||
DESCRIPTION = "systemd-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.inc
|
||||
|
||||
RDEPENDS_${PN} += " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/base/systemd-config
|
||||
install -d ${D}/${datadir}/starlingx
|
||||
|
||||
install -m644 files/60-persistent-storage.rules ${D}/${datadir}/starlingx/60-persistent-storage.rules
|
||||
install -m644 files/journald.conf ${D}/${datadir}/starlingx/journald.conf
|
||||
install -m644 files/systemd.conf.tmpfiles.d ${D}/${datadir}/starlingx/
|
||||
install -m644 files/tmp.conf.tmpfiles.d ${D}/${datadir}/starlingx/
|
||||
install -m644 files/tmp.mount ${D}/${datadir}/starlingx/
|
||||
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${datadir} \
|
||||
"
|
57
recipes-core/stx-nfv/mtce-guest.bb
Normal file
57
recipes-core/stx-nfv/mtce-guest.bb
Normal file
@ -0,0 +1,57 @@
|
||||
DESCRIPTION = "mtce-guest"
|
||||
|
||||
# TODO:
|
||||
# Really need to fix the package;s Makefile
|
||||
|
||||
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-nfv.inc
|
||||
|
||||
DEPENDS = " \
|
||||
mtce-common \
|
||||
mtce \
|
||||
json-c \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}_append = " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/mtce-guest/src/
|
||||
oe_runmake -e VER=1 VER_MJR=1 INCLUDES=" -I. " \
|
||||
CPPFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" build
|
||||
}
|
||||
|
||||
do_install () {
|
||||
|
||||
cd ${S}/mtce-guest/src/
|
||||
make install DESTDIR=${D} PREFIX=${D}/usr/ \
|
||||
SYSCONFDIR=${D}/${sysconfdir} \
|
||||
LOCALBINDIR=${D}/${bindir} \
|
||||
UNITDIR=${D}/${systemd_system_unitdir}
|
||||
}
|
||||
|
||||
pkg_postinst_ontarget_${PN} () {
|
||||
/bin/systemctl enable guestServer.service
|
||||
}
|
||||
|
||||
FILES_${PN}_append = " \
|
||||
systemd_system_unitdir} \
|
||||
${libdir} \
|
||||
${baselib} \
|
||||
run \
|
||||
"
|
45
recipes-core/stx-nfv/nfv-client.bb
Normal file
45
recipes-core/stx-nfv/nfv-client.bb
Normal file
@ -0,0 +1,45 @@
|
||||
DESCRIPTION = "nfv-client"
|
||||
|
||||
|
||||
|
||||
STABLE = "starlingx/master"
|
||||
PROTOCOL = "https"
|
||||
BRANCH = "master"
|
||||
SRCREV = "cdd6c334d9d1d6c0f4de344fff8ef2af28c76e56"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "19.05"
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
|
||||
|
||||
SRC_URI = "git://opendev.org/starlingx/nfv.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
|
||||
|
||||
require stx-nfv.inc
|
||||
inherit setuptools
|
||||
|
||||
|
||||
do_configure () {
|
||||
cd ${S}/nfv/nfv-client
|
||||
distutils_do_configure
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/nfv/nfv-client
|
||||
distutils_do_compile
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/nfv/nfv-client
|
||||
distutils_do_install
|
||||
|
||||
install -d -m 755 ${D}/${sysconfdir}/bash_completion.d
|
||||
install -m 444 scripts/sw-manager.completion ${D}/${sysconfdir}/bash_completion.d/sw-manager
|
||||
|
||||
}
|
||||
|
||||
#pkg_postinst_ontarget_${PN} () {
|
||||
|
||||
# FILES_${PN}_append += " ${systemd_unitdir}/* "
|
42
recipes-core/stx-nfv/nfv-common.bb
Normal file
42
recipes-core/stx-nfv/nfv-common.bb
Normal file
@ -0,0 +1,42 @@
|
||||
DESCRIPTION = "nfv-common"
|
||||
|
||||
|
||||
|
||||
STABLE = "starlingx/master"
|
||||
PROTOCOL = "https"
|
||||
BRANCH = "master"
|
||||
SRCREV = "cdd6c334d9d1d6c0f4de344fff8ef2af28c76e56"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "19.05"
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
|
||||
|
||||
SRC_URI = "git://opendev.org/starlingx/nfv.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
|
||||
|
||||
require stx-nfv.inc
|
||||
inherit setuptools
|
||||
|
||||
|
||||
do_configure () {
|
||||
cd ${S}/nfv/nfv-common
|
||||
distutils_do_configure
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/nfv/nfv-common
|
||||
distutils_do_compile
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/nfv/nfv-common
|
||||
distutils_do_install
|
||||
|
||||
}
|
||||
|
||||
#pkg_postinst_ontarget_${PN} () {
|
||||
|
||||
# FILES_${PN}_append += " ${systemd_unitdir}/* "
|
63
recipes-core/stx-nfv/nfv-plugins.bb
Normal file
63
recipes-core/stx-nfv/nfv-plugins.bb
Normal file
@ -0,0 +1,63 @@
|
||||
DESCRIPTION = "nfv-plugins"
|
||||
|
||||
|
||||
|
||||
STABLE = "starlingx/master"
|
||||
PROTOCOL = "https"
|
||||
BRANCH = "master"
|
||||
SRCREV = "cdd6c334d9d1d6c0f4de344fff8ef2af28c76e56"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "19.05"
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
|
||||
|
||||
SRC_URI = "git://opendev.org/starlingx/nfv.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
|
||||
|
||||
require stx-nfv.inc
|
||||
inherit setuptools
|
||||
|
||||
|
||||
do_configure () {
|
||||
cd ${S}/nfv/nfv-plugins
|
||||
distutils_do_configure
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/nfv/nfv-plugins
|
||||
distutils_do_compile
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/nfv/nfv-plugins
|
||||
distutils_do_install
|
||||
|
||||
install -d -m 755 ${D}/${sysconfdir}/nfv/
|
||||
install -d -m 755 ${D}/${sysconfdir}/nfv/nfv_plugins/
|
||||
install -d -m 755 ${D}/${sysconfdir}/nfv/nfv_plugins/alarm_handlers/
|
||||
|
||||
install -p -D -m 600 nfv_plugins/alarm_handlers/config.ini \
|
||||
${D}/${sysconfdir}/nfv/nfv_plugins/alarm_handlers/config.ini
|
||||
|
||||
install -d -m 755 ${D}/${sysconfdir}/nfv/nfv_plugins/event_log_handlers/
|
||||
|
||||
install -p -D -m 600 nfv_plugins/event_log_handlers/config.ini \
|
||||
${D}/${sysconfdir}/nfv/nfv_plugins/event_log_handlers/config.ini
|
||||
\
|
||||
install -d -m 755 ${D}/${sysconfdir}/nfv/nfv_plugins/nfvi_plugins/
|
||||
|
||||
install -p -D -m 600 nfv_plugins/nfvi_plugins/config.ini \
|
||||
${D}/${sysconfdir}/nfv/nfv_plugins/nfvi_plugins/config.ini
|
||||
|
||||
install -d -m 755 ${D}/
|
||||
install -p -D -m 644 scripts/nfvi-plugins.logrotate \
|
||||
${D}/${sysconfdir}/logrotate.d/nfvi-plugins.logrotate
|
||||
|
||||
}
|
||||
|
||||
#pkg_postinst_ontarget_${PN} () {
|
||||
|
||||
# FILES_${PN}_append += " ${systemd_unitdir}/* "
|
@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "stx-nfv"
|
||||
DESCRIPTION = "nfv-tools"
|
||||
|
||||
|
||||
|
||||
@ -17,12 +17,26 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
SRC_URI = "git://opendev.org/starlingx/nfv.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
|
||||
|
||||
#AUTOTOOLS_SCRIPT_PATH = ""
|
||||
#DEPENDS = ""
|
||||
#inherit autotools
|
||||
#inherit pkgconfig
|
||||
#inherit python-dir
|
||||
#EXTRA_OECONF = ""
|
||||
#do_configure_append () { }
|
||||
#do_install_append() { }
|
||||
#pkg_postinst_ontarget_${PN} () { }
|
||||
require stx-nfv.inc
|
||||
inherit setuptools
|
||||
|
||||
|
||||
do_configure () {
|
||||
cd ${S}/nfv/nfv-tools
|
||||
distutils_do_configure
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/nfv/nfv-tools
|
||||
distutils_do_compile
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/nfv/nfv-tools
|
||||
distutils_do_install
|
||||
|
||||
}
|
||||
|
||||
#pkg_postinst_ontarget_${PN} () {
|
||||
|
||||
# FILES_${PN}_append += " ${systemd_unitdir}/* "
|
50
recipes-core/stx-nfv/nfv-vim.bb
Normal file
50
recipes-core/stx-nfv/nfv-vim.bb
Normal file
@ -0,0 +1,50 @@
|
||||
DESCRIPTION = "nfv-vim"
|
||||
|
||||
|
||||
|
||||
STABLE = "starlingx/master"
|
||||
PROTOCOL = "https"
|
||||
BRANCH = "master"
|
||||
SRCREV = "cdd6c334d9d1d6c0f4de344fff8ef2af28c76e56"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "19.05"
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
|
||||
|
||||
SRC_URI = "git://opendev.org/starlingx/nfv.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
|
||||
|
||||
require stx-nfv.inc
|
||||
inherit setuptools
|
||||
|
||||
|
||||
do_configure () {
|
||||
cd ${S}/nfv/nfv-vim
|
||||
distutils_do_configure
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/nfv/nfv-vim
|
||||
distutils_do_compile
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/nfv/nfv-vim
|
||||
distutils_do_install
|
||||
install -d -m 755 ${D}/usr/lib/ocf/resource.d/nfv
|
||||
install -p -D -m 755 scripts/vim ${D}/usr/lib/ocf/resource.d/nfv/vim
|
||||
install -p -D -m 755 scripts/vim-api ${D}/usr/lib/ocf/resource.d/nfv/vim-api
|
||||
install -p -D -m 755 scripts/vim-webserver ${D}/usr/lib/ocf/resource.d/nfv/vim-webserver
|
||||
install -d -m 755 ${D}/${sysconfdir}/nfv/
|
||||
install -d -m 755 ${D}/${sysconfdir}/nfv/vim/
|
||||
install -p -D -m 600 nfv_vim/config.ini ${D}/${sysconfdir}/nfv/vim/config.ini
|
||||
install -p -D -m 600 nfv_vim/debug.ini ${D}/${sysconfdir}/nfv/vim/debug.ini
|
||||
|
||||
}
|
||||
|
||||
#pkg_postinst_ontarget_${PN} () {
|
||||
|
||||
# FILES_${PN}_append += " ${systemd_unitdir}/* "
|
52
recipes-core/stx-nfv/nova-api-proxy.bb
Normal file
52
recipes-core/stx-nfv/nova-api-proxy.bb
Normal file
@ -0,0 +1,52 @@
|
||||
DESCRIPTION = "nfv-api-proxy"
|
||||
|
||||
|
||||
|
||||
STABLE = "starlingx/master"
|
||||
PROTOCOL = "https"
|
||||
BRANCH = "master"
|
||||
SRCREV = "cdd6c334d9d1d6c0f4de344fff8ef2af28c76e56"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "19.05"
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
|
||||
|
||||
SRC_URI = "git://opendev.org/starlingx/nfv.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
|
||||
|
||||
require stx-nfv.inc
|
||||
inherit setuptools
|
||||
|
||||
|
||||
do_configure () {
|
||||
cd ${S}/nova-api-proxy/nova-api-proxy
|
||||
distutils_do_configure
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/nova-api-proxy/nova-api-proxy
|
||||
distutils_do_compile
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/nova-api-proxy/nova-api-proxy
|
||||
distutils_do_install
|
||||
|
||||
install -d -m 755 ${D}/${systemd_system_unitdir}
|
||||
install -p -D -m 644 nova_api_proxy/scripts/api-proxy.service ${D}/${systemd_system_unitdir}/api-proxy.service
|
||||
install -d -m 755 ${D}/${sysconfdir}/rc.d/init.d
|
||||
install -p -D -m 755 nova_api_proxy/scripts/api-proxy ${D}/${sysconfdir}/rc.d/init.d/api-proxy
|
||||
|
||||
install -d -m 755 ${D}/${sysconfdir}/proxy
|
||||
install -p -D -m 700 nova_api_proxy/nova-api-proxy.conf ${D}${sysconfdir}/proxy/nova-api-proxy.conf
|
||||
install -p -D -m 700 nova_api_proxy/api-proxy-paste.ini ${D}${sysconfdir}/proxy/api-proxy-paste.ini
|
||||
|
||||
|
||||
}
|
||||
|
||||
#pkg_postinst_ontarget_${PN} () { }
|
||||
|
||||
FILES_${PN}_append += " ${systemd_system_unitdir}/* "
|
6
recipes-core/stx-nfv/stx-nfv.inc
Normal file
6
recipes-core/stx-nfv/stx-nfv.inc
Normal file
@ -0,0 +1,6 @@
|
||||
inherit externalsrc
|
||||
EXTERNALSRC_pn-${PN}="${EXTERNALREPO}/stx-nfv"
|
||||
|
||||
DEPENDS += " \
|
||||
"
|
||||
RDEPENDS_${PN}_append = " "
|
96
recipes-core/stx-update/cgcs-patch.bb
Normal file
96
recipes-core/stx-update/cgcs-patch.bb
Normal file
@ -0,0 +1,96 @@
|
||||
DESCRIPTION = "cgcs-patch"
|
||||
|
||||
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-update.inc
|
||||
inherit setuptools
|
||||
|
||||
|
||||
DEPENDS = " \
|
||||
python \
|
||||
python-pbr-native \
|
||||
"
|
||||
RDEPENDS_${PN}_append = " bash"
|
||||
|
||||
do_configure () {
|
||||
cd ${S}/cgcs-patch/cgcs-patch
|
||||
distutils_do_configure
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/cgcs-patch/cgcs-patch
|
||||
distutils_do_compile
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/cgcs-patch/cgcs-patch
|
||||
distutils_do_install
|
||||
|
||||
cd ${S}/cgcs-patch/bin
|
||||
|
||||
install -m 755 -d ${D}/${sbindir}
|
||||
install -m 755 -d ${D}/${sysconfdir}/bash_completion.d
|
||||
install -m 755 -d ${D}/${sysconfdir}/goenabled.d
|
||||
install -m 755 -d ${D}/${sysconfdir}/init.d
|
||||
install -m 755 -d ${D}/${sysconfdir}/logrotate.d
|
||||
install -m 755 -d ${D}/${sysconfdir}/patching
|
||||
install -m 700 -d ${D}/${sysconfdir}/patching/patch-scripts
|
||||
install -m 755 -d ${D}/${sysconfdir}/pmon.d
|
||||
install -m 755 -d ${D}/${systemd_system_unitdir}
|
||||
|
||||
install -m 500 sw-patch-agent ${D}/${sbindir}/sw-patch-agent
|
||||
install -m 500 sw-patch-controller-daemon ${D}/${sbindir}/sw-patch-controller-daemon
|
||||
install -m 555 sw-patch ${D}/${sbindir}/sw-patch
|
||||
install -m 555 rpm-audit ${D}/${sbindir}/rpm-audit
|
||||
|
||||
install -m 500 sw-patch-controller-daemon-init.sh ${D}/${sysconfdir}/init.d/sw-patch-controller-daemon
|
||||
install -m 500 sw-patch-agent-init.sh ${D}/${sysconfdir}/init.d/sw-patch-agent
|
||||
|
||||
install -m 600 patching.conf ${D}/${sysconfdir}/patching/patching.conf
|
||||
|
||||
install -m 644 policy.json ${D}/${sysconfdir}/patching/policy.json
|
||||
|
||||
install -m 444 pmon-sw-patch-controller-daemon.conf ${D}/${sysconfdir}/pmon.d/sw-patch-controller-daemon.conf
|
||||
install -m 444 pmon-sw-patch-agent.conf ${D}/${sysconfdir}/pmon.d/sw-patch-agent.conf
|
||||
install -m 444 *.service ${D}/${systemd_system_unitdir}
|
||||
install -m 444 sw-patch.completion ${D}/${sysconfdir}/bash_completion.d/sw-patch
|
||||
install -m 400 patch-functions ${D}/${sysconfdir}/patching/patch-functions
|
||||
|
||||
install -D -m 444 patch-tmpdirs.conf ${D}/${sysconfdir}/tempfiles.d/patch-tmpdirs.conf
|
||||
|
||||
install -m 500 run-patch-scripts ${D}/${sbindir}/run-patch-scripts
|
||||
install -m 500 sw-patch-controller-daemon-restart ${D}/${sbindir}/sw-patch-controller-daemon-restart
|
||||
install -m 500 sw-patch-agent-restart ${D}/${sbindir}/sw-patch-agent-restart
|
||||
|
||||
|
||||
install -m 500 run-patch-scripts ${D}/${sbindir}/run-patch-scripts
|
||||
install -m 500 sw-patch-controller-daemon-restart ${D}/${sbindir}/sw-patch-controller-daemon-restart
|
||||
install -m 500 sw-patch-agent-restart ${D}/${sbindir}/sw-patch-agent-restart
|
||||
install -m 500 sw-patch-init.sh ${D}/${sysconfdir}/init.d/sw-patch
|
||||
install -m 500 sw-patch-controller-init.sh ${D}/${sysconfdir}/init.d/sw-patch-controller
|
||||
install -m 555 patch_check_goenabled.sh ${D}/${sysconfdir}/goenabled.d/patch_check_goenabled.sh
|
||||
install -m 444 patching.logrotate ${D}/${sysconfdir}/logrotate.d/patching
|
||||
|
||||
install -m 500 upgrade-start-pkg-extract ${D}/${sbindir}/upgrade-start-pkg-extract
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst_ontarget_${PN} () {
|
||||
/usr/bin/systemctl enable sw-patch-controller.service
|
||||
/usr/bin/systemctl enable sw-patch-controller-daemon.service
|
||||
}
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${systemd_system_unitdir} \
|
||||
"
|
37
recipes-core/stx-update/enable-dev-patch.bb
Normal file
37
recipes-core/stx-update/enable-dev-patch.bb
Normal file
@ -0,0 +1,37 @@
|
||||
DESCRIPTION = "enable-dev-patch"
|
||||
|
||||
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-update.inc
|
||||
inherit setuptools
|
||||
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/enable-dev-patch/
|
||||
install -m 755 -d ${D}/${sysconfdir}/pki/wrs
|
||||
install -m 444 enable-dev-patch/dev_certificate_enable.bin ${D}/${sysconfdir}/pki/wrs
|
||||
|
||||
}
|
||||
|
||||
# pkg_postinst_ontarget_${PN} () { }
|
||||
|
||||
FILES_${PN}_append += " "
|
53
recipes-core/stx-update/patch-alarm.bb
Normal file
53
recipes-core/stx-update/patch-alarm.bb
Normal file
@ -0,0 +1,53 @@
|
||||
DESCRIPTION = "patch-alarm"
|
||||
|
||||
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-update.inc
|
||||
inherit setuptools
|
||||
|
||||
|
||||
DEPENDS = " \
|
||||
python \
|
||||
python-pbr-native \
|
||||
"
|
||||
RDEPENDS_${PN}_append = " bash"
|
||||
|
||||
do_configure () {
|
||||
cd ${S}/patch-alarm/patch-alarm
|
||||
distutils_do_configure
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/patch-alarm/patch-alarm
|
||||
distutils_do_compile
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/patch-alarm/patch-alarm
|
||||
distutils_do_install
|
||||
|
||||
cd ${S}/patch-alarm/
|
||||
|
||||
install -m 755 -d ${D}/${bindir}
|
||||
install -m 755 -d ${D}/${sysconfdir}/init.d
|
||||
|
||||
install -m 700 scripts/bin/patch-alarm-manager ${D}/${bindir}/
|
||||
install -m 700 scripts/bin/patch-alarm-manager ${D}/${sysconfdir}/init.d/
|
||||
|
||||
|
||||
}
|
||||
|
||||
#pkg_postinst_ontarget_${PN} () { }
|
||||
|
||||
#FILES_${PN}_append += " "
|
2
recipes-core/stx-update/stx-update.inc
Normal file
2
recipes-core/stx-update/stx-update.inc
Normal file
@ -0,0 +1,2 @@
|
||||
inherit externalsrc
|
||||
EXTERNALSRC_pn-${PN}="${EXTERNALREPO}/stx-update"
|
48
recipes-core/stx-update/tsconfig.bb
Normal file
48
recipes-core/stx-update/tsconfig.bb
Normal file
@ -0,0 +1,48 @@
|
||||
DESCRIPTION = "tsconfig"
|
||||
|
||||
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-update.inc
|
||||
inherit setuptools
|
||||
|
||||
|
||||
DEPENDS = " \
|
||||
python \
|
||||
python-pbr-native \
|
||||
"
|
||||
RDEPENDS_${PN}_append = " bash"
|
||||
|
||||
do_configure () {
|
||||
cd ${S}/tsconfig/tsconfig
|
||||
distutils_do_configure
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/tsconfig/tsconfig
|
||||
distutils_do_compile
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/tsconfig/tsconfig
|
||||
distutils_do_install
|
||||
|
||||
|
||||
install -m 755 -d ${D}/${bindir}
|
||||
install -m 500 scripts/tsconfig ${D}/${bindir}/
|
||||
|
||||
}
|
||||
|
||||
# pkg_postinst_ontarget_${PN} () { }
|
||||
|
||||
# FILES_${PN}_append += " "
|
49
recipes-core/stx-upstream/rabbitmq-server-config.bb
Normal file
49
recipes-core/stx-upstream/rabbitmq-server-config.bb
Normal file
@ -0,0 +1,49 @@
|
||||
DESCRIPTION = "rabbitmq-server-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-upstream.inc
|
||||
|
||||
|
||||
RDEPENDS_${PN}_append = " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/openstack/rabbitmq-server-config/files
|
||||
|
||||
install -d ${D}/${libdir}/ocf/resource.d/rabbitmq
|
||||
install -d ${D}/${systemd_system_unitdir}/
|
||||
install -d ${D}/${datadir}/starlingx
|
||||
|
||||
install -m 0755 rabbitmq-server.ocf ${D}/${libdir}/ocf/resource.d/rabbitmq/stx.rabbitmq-server
|
||||
install -m 0644 rabbitmq-server.service.example ${D}${systemd_system_unitdir}/rabbitmq-server.service
|
||||
install -m 0644 rabbitmq-server.logrotate ${D}${datadir}/starlingx/stx.rabbitmq-server.logrotate
|
||||
|
||||
|
||||
}
|
||||
|
||||
#pkg_postinst_ontarget_${PN} () { }
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${libdir} \
|
||||
${systemd_system_unitdir} \
|
||||
${datadir} \
|
||||
"
|
42
recipes-core/stx-upstream/stx-ocf-scripts.bb
Normal file
42
recipes-core/stx-upstream/stx-ocf-scripts.bb
Normal file
@ -0,0 +1,42 @@
|
||||
DESCRIPTION = "stx-ocf-scripts"
|
||||
|
||||
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-upstream.inc
|
||||
|
||||
|
||||
RDEPENDS_${PN}_append = " bash"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
cd ${S}/openstack/stx-ocf-scripts/src/
|
||||
|
||||
install -d ${D}/${libdir}/ocf/resource.d/openstack
|
||||
install -p -D -m 0755 ocf/* ${D}/${libdir}/ocf/resource.d/openstack/
|
||||
|
||||
|
||||
}
|
||||
|
||||
#pkg_postinst_ontarget_${PN} () { }
|
||||
|
||||
FILES_${PN}_append += " \
|
||||
${libdir} \
|
||||
"
|
2
recipes-core/stx-upstream/stx-upstream.inc
Normal file
2
recipes-core/stx-upstream/stx-upstream.inc
Normal file
@ -0,0 +1,2 @@
|
||||
inherit externalsrc
|
||||
EXTERNALSRC_pn-${PN}="${EXTERNALREPO}/stx-upstream"
|
@ -1,28 +0,0 @@
|
||||
DESCRIPTION = "stx-ansible-playbook"
|
||||
|
||||
|
||||
|
||||
STABLE = "starlingx/master"
|
||||
PROTOCOL = "https"
|
||||
BRANCH = "master"
|
||||
SRCREV = "7a9bc2f330c10c0dc66bbe6d079a9e8a530c85b3"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "19.05"
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
|
||||
|
||||
SRC_URI = "git://opendev.org/starlingx/ansible-playbooks.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
|
||||
|
||||
#AUTOTOOLS_SCRIPT_PATH = ""
|
||||
#DEPENDS = ""
|
||||
#inherit autotools
|
||||
#inherit pkgconfig
|
||||
#inherit python-dir
|
||||
#EXTRA_OECONF = ""
|
||||
#do_configure_append () { }
|
||||
#do_install_append() { }
|
||||
#pkg_postinst_ontarget_${PN} () { }
|
@ -1,28 +0,0 @@
|
||||
DESCRIPTION = "stx-update"
|
||||
|
||||
|
||||
|
||||
STABLE = "starlingx/master"
|
||||
PROTOCOL = "https"
|
||||
BRANCH = "master"
|
||||
SRCREV = "b655dcc9c99a217cf641ed313a5b36a7b2308637"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "19.05"
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
|
||||
|
||||
SRC_URI = "git://opendev.org/starlingx/update.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
|
||||
|
||||
#AUTOTOOLS_SCRIPT_PATH = ""
|
||||
#DEPENDS = ""
|
||||
#inherit autotools
|
||||
#inherit pkgconfig
|
||||
#inherit python-dir
|
||||
#EXTRA_OECONF = ""
|
||||
#do_configure_append () { }
|
||||
#do_install_append() { }
|
||||
#pkg_postinst_ontarget_${PN} () { }
|
Loading…
Reference in New Issue
Block a user