Created
July 12, 2017 20:45
-
-
Save eloycoto/871e0bc17b48bdd4bce28ac1e418296f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/make -f | |
#export DH_VERBOSE = 1 | |
DEST_DIR="./debian/cilium/" | |
%: | |
dh $@ --with systemd | |
override_dh_auto_build: | |
make | |
override_dh_installinit: | |
for svc in $(shell ls ./contrib/systemd/*.service ); do \ | |
cp $$svc debian/; \ | |
done | |
# service=`echo $$svc | sed -n 's/.*\(cilium\-.*\)\.service/\1/p'`;\ | |
# dh_installinit --name=$$service; \ | |
# | |
dh_installinit --name=cilium | |
mkdir -p "$(DEST_DIR)/etc/sysconfig/" | |
cp "contrib/systemd/cilium" "$(DEST_DIR)/etc/sysconfig/cilium" | |
#for service in $(shell ls ./contrib/systemd/*.service | i | |
sed -n 's/.*\(cilium\-.*\)\.service/\1/p'); do \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment