Commit 23e947d6 authored by Ophélie Gagnard's avatar Ophélie Gagnard

obs: Add plugin-fluentbit-to-wendelin.

Also update mca--static files:
- Update installation so that it does not install the plugin's files
anymore.
- Update dependencies.
parent 9d2d5786
...@@ -6,13 +6,9 @@ source makefile-scripts/compilation-env.sh ...@@ -6,13 +6,9 @@ source makefile-scripts/compilation-env.sh
# note: /share files such as manpages are not yet supported in this project # note: /share files such as manpages are not yet supported in this project
mkdir -p "$INSTALL_DIR"/bin mkdir -p "$INSTALL_DIR"/bin
mkdir -p "$INSTALL_DIR"/etc
mkdir -p "$INSTALL_DIR"/lib
# no "-r" option to "cp" because there must not be subdirectories in /bin # no "-r" option to "cp" because there must not be subdirectories in /bin
# https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s04.html # https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s04.html
# https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s13.html # https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s13.html
cp "$RUN_BUILDOUT_DIR"/parts/mca/bin/* "$INSTALL_DIR"/bin || true cp "$RUN_BUILDOUT_DIR"/parts/mca/bin/* "$INSTALL_DIR"/bin || true
cp -r "$RUN_BUILDOUT_DIR"/parts/mca/etc/* "$INSTALL_DIR"/etc || true
cp -r "$RUN_BUILDOUT_DIR"/parts/fluentbit-plugin-wendelin/lib/* "$INSTALL_DIR"/lib || true
rm -f clean-stamp rm -f clean-stamp
...@@ -5,7 +5,7 @@ export SOFTWARE_NAME=mca--static ...@@ -5,7 +5,7 @@ export SOFTWARE_NAME=mca--static
# version format: <mca>+<fluentbit-plugin>+<slapos> # version format: <mca>+<fluentbit-plugin>+<slapos>
export SOFTWARE_VERSION=0.3.1+0.2+1.0.293+dep export SOFTWARE_VERSION=0.3.1+0.2+1.0.293+dep
export PACKAGE_BUILD_DEPENDENCIES="debhelper (>= 4.1.16), chrpath, wget, python (>= 2.7), python3 (>= 3.7), python3-dev (>= 3.7), golang (>= 2:1.15~1), cmake (>= 3.18)" export PACKAGE_BUILD_DEPENDENCIES="debhelper (>= 4.1.16), chrpath, wget, python (>= 2.7), python3 (>= 3.7), python3-dev (>= 3.7), cmake (>= 3.18)"
export BUILDOUT_RELATIVE_PATH=software/mca/dep--mca--static.cfg export BUILDOUT_RELATIVE_PATH=software/mca/dep--mca--static.cfg
export OBS_PROJECT=home:oph.nxd export OBS_PROJECT=home:oph.nxd
......
#!/bin/bash
set -e
source makefile-scripts/compilation-env.sh
# note: /share files such as manpages are not yet supported in this project
mkdir -p "$INSTALL_DIR"/etc
mkdir -p "$INSTALL_DIR"/lib
# no "-r" option to "cp" because there must not be subdirectories in /bin
# https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s04.html
# https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s13.html
cp -r "$RUN_BUILDOUT_DIR"/parts/fluentbit-plugin-wendelin/etc/* "$INSTALL_DIR"/etc || true
cp -r "$RUN_BUILDOUT_DIR"/parts/fluentbit-plugin-wendelin/lib/* "$INSTALL_DIR"/lib || true
rm -f clean-stamp
export MAINTAINER_NAME="Ophélie Gagnard"
export MAINTAINER_EMAIL=ophelie.gagnard@nexedi.com
export SOFTWARE_NAME=plugin-fluentbit-to-wendelin
# version format: <fluentbit-plugin>+<slapos>
# nodep means "no build dependencies"
export SOFTWARE_VERSION=0.2.1+1.0.293+nodep
export PACKAGE_BUILD_DEPENDENCIES="debhelper (>= 4.1.16), chrpath, wget, python (>= 2.7), python3 (>= 3.7), python3-dev (>= 3.7), golang (>= 2:1.15~1), cmake (>= 3.18)"
export BUILDOUT_RELATIVE_PATH=component/fluentbit-plugin-wendelin/obs-nodep.cfg
export OBS_PROJECT=home:oph.nxd
export OBS_COMMIT_MSG="Yet another push in OBS."
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment