install -m 644 ${SRCPATH}/stx.snmpd.conf ${datadir}/starlingx/stx.snmpd.conf
install -m 755 ${SRCPATH}/stx.snmpd ${sysconfdir}/rc.d/init.d/snmpd
+ install -m 755 ${SRCPATH}/stx.snmpd ${sysconfdir}/init.d/snmpd
install -m 660 ${SRCPATH}/stx.snmp.conf ${datadir}/snmp/snmp.conf
install -m 644 ${SRCPATH}/snmpd.service ${sysconfdir}/systemd/system/snmpd.service
oe_runmake buildroot=${D} \
_sysconfdir=${sysconfdir} _unitdir=${systemd_system_unitdir} _datarootdir=${datadir} \
install
-
+ sed -i -e 's|/usr/local/bin/|${bindir}/|' ${D}/${sysconfdir}/init.d/hbsAgent
}
-#pkg_postinst_ontarget_mtce-control () {
-# # /usr/bin/systemctl enable lighttpd.service
-# # /usr/bin/systemctl enable qemu_clean.service
-# /usr/bin/systemctl enable hbsAgent.service
-#}
-
FILES_mtce-control = " \
${datadir}/licenses/mtce-control-1.0/LICENSE \
${systemd_system_unitdir}/hbsAgent.service \
# Host a server for the charts
helm serve --repo-path . &
+ sleep 1
helm repo rm local
helm repo add local http://localhost:8879/charts
rm -rf elasticsearch/Makefile
make elasticsearch
- # terminate helm server
- pid=`/bin/pidof helm`
- kill ${pid}
+ # terminate helm server (the last backgrounded task)
+ kill $!
rm -rf ${helm_home}
}
# Host a server for the charts
helm serve --repo-path . &
+ sleep 1
helm repo rm local
helm repo add local http://localhost:8879/charts
make logstash
make elasticsearch-curator
- # terminate helm server
- pid=`/bin/pidof helm`
- kill ${pid}
+ # terminate helm server (the last backgrounded task)
+ kill $!
rm -rf ${helm_home}
}
# Host a server for the charts
tmpdir=`mktemp -d ${B}/charts-XXXXXX`
helm serve ${tmpdir} --address localhost:8879 --url http://localhost:8879/charts &
+ sleep 1
helm repo rm local
helm repo add local http://localhost:8879/charts
make rabbitmq
make ceph-rgw
- # terminate helm server
- pid=`/bin/pidof helm`
- kill ${pid}
+ # terminate helm server (the last backgrounded task)
+ kill $!
rm -rf ${helm_home}
}
# Host a server for the charts
helm serve --repo-path . &
+ sleep 1
helm repo rm local
helm repo add local http://localhost:8879/charts
make panko
make placement
- # terminate helm server
- pid=`/bin/pidof helm`
- kill ${pid}
+ # terminate helm server (the last backgrounded task)
+ kill $!
rm -rf ${helm_home}
# Remove the helm-toolkit tarball
# Host a server for the charts
helm serve --repo-path . &
+ sleep 1
helm repo rm local
helm repo add local http://localhost:8879/charts
make dcdbsync
cd -
- # terminate helm server
- pid=`/bin/pidof helm`
- kill ${pid}
+ # terminate helm server (the last backgrounded task)
+ kill $!
rm -rf ${helm_home}
# Remove the helm-toolkit tarball
# Host a server for the charts
helm serve --repo-path . &
+ sleep 1
helm repo rm local
helm repo add local http://localhost:8879/charts
make node-feature-discovery
cd -
- # Terminate helm server
- pid=`/bin/pidof helm`
- kill ${pid}
+ # Terminate helm server (the last backgrounded task)
+ kill $!
rm -rf ${helm_home}
# Create a chart tarball compliant with sysinv kube-app.py
install -d -m0755 ${D}/${systemd_system_unitdir}
install -m0644 -p -D collect-engtools.service ${D}/${systemd_system_unitdir}
+ sed -i -e 's/network.service/networking.service/' \
+ ${D}/${systemd_system_unitdir}/collect-engtools.service
+
+ sed -i -e 's|/usr/local/bin/|${bindir}/|' \
+ ${D}/${sysconfdir}/init.d/collect-engtools.sh \
+ ${D}/${bindir}/cleanup-engtools.sh
}
FILES_collect-engtools = " \
install -m 755 etc.exclude ${D}/${sysconfdir}/collect/etc.exclude
install -m 755 run.exclude ${D}/${sysconfdir}/collect/run.exclude
+ sed -i -e 's|/usr/local/bin/|${bindir}/|' \
+ -e 's|/usr/local/sbin/|${sbindir}/|' \
+ ${D}/${sysconfdir}/collect.d/collect* \
+ ${D}/${sbindir}/collect*
+
ln -sf ${sbindir}/collect ${D}/${bindir}/collect
}
install -d -m 755 ${D}/opt/branding
mkdir -p ${D}${sysconfdir}/rc.d/init.d
install -m 755 -D -p ${WORKDIR}/${BPN}/horizon.init ${D}${sysconfdir}/rc.d/init.d/horizon
+ install -m 755 -D -p ${WORKDIR}/${BPN}/horizon.init ${D}${sysconfdir}/init.d/horizon
install -m 755 -D -p ${WORKDIR}/${BPN}/horizon-clearsessions ${D}/${bindir}/horizon-clearsessions
install -m 755 -D -p ${WORKDIR}/${BPN}/horizon-patching-restart ${D}/${bindir}/horizon-patching-restart
install -m 755 -D -p ${WORKDIR}/${BPN}/horizon-assets-compress ${D}/${bindir}/horizon-assets-compress