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

Remove fluentbit-plugin-wendelin installation.

parent df7eaf51
......@@ -6,7 +6,7 @@ ifneq ($(PYTHON_PATH),)
endif
all: no-dracut
install: install-no-dracut
install: all install-no-dracut
clean: clean-no-dracut
bin/metadata-collect-agent:
......@@ -22,38 +22,21 @@ bin/metadata-collect-agent:
make
install -m 744 build/metadata-collect-agent/metadata-collect-agent bin/
lib/fluentbit_wendelin.so:
install -d lib/ ;\
mkdir -p build/ ;\
cd build/ ;\
wget https://lab.nexedi.com/nexedi/fluentbit-plugin-wendelin/-/archive/v0.1b-dev_buildout/fluentbit-plugin-wendelin-v0.1b-dev_buildout.tar.gz ;\
tar xzvf fluentbit-plugin-wendelin-v0.1b-dev_buildout.tar.gz ;\
mv fluentbit-plugin-wendelin-v0.1b-dev_buildout fluentbit-plugin-wendelin ;\
cd fluentbit-plugin-wendelin ;\
make install ;\
cd ../../ ;\
install -m 644 build/fluentbit-plugin-wendelin/libfluentbit_wendelin.so lib/fluentbit_wendelin.so ;\
#installation/plugin-fluentbit/fluentbit_wendelin_install.sh
install-no-dracut:
install -d $(DESTDIR)$(PREFIX)/bin/
install -m 744 bin/metadata-collect-agent $(DESTDIR)$(PREFIX)/bin/metadata-collect-agent
install -d $(DESTDIR)$(PREFIX)/etc/
install -m 644 src/configuration-files/flb.conf $(DESTDIR)$(PREFIX)/etc/flb.conf
install -d $(DESTDIR)$(PREFIX)/lib
install -m 644 lib/fluentbit_wendelin.so $(DESTDIR)$(PREFIX)/lib/fluentbit_wendelin.so
uninstall-no-dracut:
rm -rf $(DESTDIR)$(PREFIX)/bin/metadata-collect-agent
rm -rf $(DESTDIT)$(PREFIX)/etc/flb.conf
rm -rf $(DESTDIR)$(PREFIX)/lib/fluentbit_wendelin.so
no-dracut: bin/metadata-collect-agent lib/fluentbit_wendelin.so
no-dracut: bin/metadata-collect-agent
clean-no-dracut-local:
rm -rf build/
rm -rf bin/
rm -rf lib/
sed "s|%PYTHON_PATH%|/usr/bin/env python3|g" installation/metadata-collect-agent/parse_link_errors.py.in > installation/metadata-collect-agent/parse_link_errors.py
echo $(DUMB)
......
#!/bin/bash
if [ ! -d "fluentbit-plugin-wendelin" ]; then
git clone https://lab.nexedi.com/nexedi/fluentbit-plugin-wendelin.git
cd fluentbit-plugin-wendelin
git checkout -b autostop origin/autostop
fi
cd fluentbit-plugin-wendelin
make install
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