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

WIP: Compile only metadata-collect-agent.

parent bb08e8fb
# kmod: see https://packages.debian.org/bullseye/kmod for details
# dependency of dracut
[buildout]
parts =
kmod
[kmod]
recipe = slapos.recipe.cmmi
shared = true
url = http://deb.debian.org/debian/pool/main/k/kmod/kmod_28.orig.tar.xz
bash-5.1$ cat libkmod2/buildout.cfg
# libkmod2: see https://packages.debian.org/bullseye/libkmod2 for details
# dependency of dracut
[buildout]
parts =
libkmod2
[libkmod2]
recipe = slapos.recipe.cmmi
url = http://deb.debian.org/debian/pool/main/k/kmod/kmod_28.orig.tar.xz
configure-command = source configure.ac
bash-5.1$ cat ../software/metadata-collect-agent/software.cfg
[buildout] [buildout]
extends = extends =
../../stack/slapos.cfg ../../stack/slapos.cfg
../../component/defaults.cfg ../../component/defaults.cfg
# used to link with python3
#../../pkg-config
# used in the Cython+/C++ code # used in the Cython+/C++ code
../../component/fmtlib/buildout.cfg # ../../component/fmtlib/buildout.cfg
# used to compile fluentbit # used to compile fluentbit
../../component/golang/buildout.cfg # ../../component/golang/buildout.cfg
# dracut dependencies: # dracut dependencies:
../../component/bash/buildout.cfg # ../../component/bash/buildout.cfg
../../component/cpio/buildout.cfg # ../../component/cpio/buildout.cfg
../../component/e2fsprogs/buildout.cfg # ../../component/e2fsprogs/buildout.cfg
../../component/kmod/buildout.cfg # ../../component/kmod/buildout.cfg
#../../kpartx #../../kpartx
#../../libc6 >= 2.27 (?) #../../libc6 >= 2.27 (?)
../../component/libkmod2/buildout.cfg # ../../component/libkmod2/buildout.cfg
../../component/pkgconfig/buildout.cfg # ../../component/pkgconfig/buildout.cfg
#../../udev #../../udev
../../component/util-linux/buildout.cfg # ../../component/util-linux/buildout.cfg
parts = parts =
fmtlib metadata-collect-agent
golang1.17 # fmtlib
dracut # golang1.17
# dracut
[python] [metadata-collect-agent]
part = python3.7 recipe = slapos.recipe.cmmi
path = ${mca-gitclone:location}
configure-command = :
make-targets =
no-dracut
install-no-dracut
environment =
INCLUDE_PYTHON=${python3:location}
[mca-gitclone]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/metadata-collect-agent.git
branch = clean-installation
#[python]
#part = python3.7
############################# #############################
#[dracut] #[dracut]
...@@ -60,3 +54,4 @@ part = python3.7 ...@@ -60,3 +54,4 @@ part = python3.7
# PATH=${libkmod2:location}/bin:{pkgconfig:location}/bin:%(PATH)s # PATH=${libkmod2:location}/bin:{pkgconfig:location}/bin:%(PATH)s
# PATH=${e2fsprogs:location}/bin:{kmod:location}/bin:{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