Commit b3a9b283 authored by Ophélie Gagnard's avatar Ophélie Gagnard

Initial commit. (mix between different work stages)

parent d52fd396
[buildout] [buildout]
extends = extends =
../../component/fluent-bit/buildout.cfg
../../stack/slapos.cfg ../../stack/slapos.cfg
../../component/defaults.cfg ../../component/defaults.cfg
../../component/gcc/buildout.cfg ../../component/gcc/buildout.cfg
# used to link with python3
#../../pkg-config
# used in the Cython+/C++ code
../../component/fmtlib/buildout.cfg ../../component/fmtlib/buildout.cfg
# used to compile fluentbit ../../component/openssl/buildout.cfg
../../component/golang/buildout.cfg ../../component/golang/buildout.cfg
# dracut dependencies:
# ../../component/bash/buildout.cfg
# ../../component/cpio/buildout.cfg
# ../../component/e2fsprogs/buildout.cfg
# ../../component/kmod/buildout.cfg
#../../kpartx
#../../libc6 >= 2.27 (?)
# ../../component/libkmod2/buildout.cfg
# ../../component/pkgconfig/buildout.cfg
#../../udev
# ../../component/util-linux/buildout.cfg
parts = parts =
gcc-8.5 # gcc-8.5
fmtlib # fmtlib
golang1.17 # golang1.17
fluent-bit
metadata-collect-agent metadata-collect-agent
# dracut
[metadata-collect-agent] [metadata-collect-agent]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
...@@ -36,25 +23,21 @@ make-targets = ...@@ -36,25 +23,21 @@ make-targets =
no-dracut no-dracut
install-no-dracut install-no-dracut
environment = environment =
INCLUDE_PYTHON=${python3:location} # TODO: extend the path name or find the name of the includes directory
# (the next line works as it is at least for python3.7)
# PYTHON_PATH=${python3:location}
PREFIX=@@LOCATION@@ PREFIX=@@LOCATION@@
# PATH=${fmtlib:location}:%(PATH)s
# CPATH=${fmtlib:location}/include:${openssl:location}/include
OPENSSL_PATH=${openssl:location}
FMTLIB_PATH=${fmtlib:location}
PATH=${golang1.17:location}/bin:%(PATH)s
[mca-gitclone] [mca-gitclone]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/metadata-collect-agent.git repository = https://lab.nexedi.com/nexedi/metadata-collect-agent.git
branch = minimal-installation branch = minimal-installation
revision = 21b1082681600b3981f9c9ccd7a6f625b59f1821
#[python] #[python]
#part = python3.7 #part = python3.7
#############################
#[dracut]
#recipe = slapos.recipe.cmmi
#url = https://mirrors.edge.kernel.org/pub/linux/utils/boot/dracut/dracut-051.tar.xz
#url = http://deb.debian.org/debian/pool/main/d/dracut/dracut_051.orig.tar.xz
#shared = true
#environment =
# PATH=${libkmod2:location}/bin:{pkgconfig:location}/bin:%(PATH)s
# PATH=${e2fsprogs:location}/bin:{kmod:location}/bin:{libkmod2:location}/bin:{pkgconfig:location}/bin:%(PATH)s
############################
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