tuto1: token-validator/token-validator server.iso pkg/login-app: pkg/login-app/cmd/login.go pkg/login-app/cmd/dialog-checklogin.go pkg/login-app/cmd/cmd pkg/login-app/cmd/dialog-login.go pkg/login-app/cmd/login-app pkg/login-app/cmd/dialog-errmsg.go pkg/login-app/cmd/main.go pkg/login-app/cmd/dialog-reboot.go pkg/login-app/cmd/debug.log pkg/login-app/build.yml pkg/login-app/Dockerfile linuxkit pkg build -org nemunaire pkg/login-app/ #linuxkit pkg push -org nemunaire --sign=false pkg/login-app/ touch pkg/login-app login-initrd.img: login.yml pkg/login-app linuxkit build -docker $< token-validator/token-validator: token-validator/*.go go generate ./token-validator GOOS=linux GOARM=5 GOARCH=arm go build -tags netgo -ldflags '-w -extldflags "-static"' -o $@ ./token-validator challenge: pkg/challenge/adlin pkg/challenge/issue pkg/challenge/init linuxkit pkg build -org nemunaire pkg/challenge/ challenge-initrd.img: challenge.yml subject/adlin.6.gz subject/adlin-TP1-topologie.png linuxkit build -docker $< pkg/login-validator: pkg/login-validator/cmd/login.go pkg/login-validator/cmd/main.go pkg/login-validator/cmd/pxetpl.go pkg/login-validator/cmd/logout.go pkg/login-validator/cmd/auth.go pkg/login-validator/cmd/arp.go pkg/login-validator/cmd/auth_krb5.go pkg/login-validator/cmd/auth_ldap.go pkg/login-validator/cmd/students.go pkg/login-validator/cmd/auth_fwd.go pkg/login-validator/cmd/ssh.go pkg/login-validator/build.yml pkg/login-validator/Dockerfile linuxkit pkg build -org nemunaire pkg/login-validator/ touch pkg/login-validator pkg/monit: pkg/monit/build.yml pkg/monit/Dockerfile linuxkit pkg build -org nemunaire pkg/monit/ touch pkg/monit pkg/postfix: pkg/postfix/build.yml pkg/postfix/docker-entrypoint.sh pkg/postfix/Dockerfile linuxkit pkg build -org nemunaire pkg/postfix/ touch pkg/postfix pkg/tftpd: pkg/tftpd/build.yml pkg/tftpd/Dockerfile linuxkit pkg build -org nemunaire pkg/tftpd/ touch pkg/tftpd pkg/unbound: pkg/unbound/build.yml pkg/unbound/docker-entrypoint.sh pkg/unbound/Dockerfile linuxkit pkg build -org nemunaire pkg/unbound/ touch pkg/unbound pkg/wg-manager: pkg/wg-manager/cmd/register.go pkg/wg-manager/cmd/main.go pkg/wg-manager/build.yml pkg/wg-manager/Dockerfile linuxkit pkg build -org nemunaire pkg/wg-manager/ touch pkg/wg-manager server.iso: server.yml students.csv ssl/fullchain.pem ssl/privkey.pem challenge-initrd.img pkg/login-validator pkg/monit pkg/postfix pkg/tftpd pkg/unbound pkg/wg-manager challenge-kernel login-initrd.img linuxkit build -docker -format iso-bios $< tuto2-kernel: tuto2.yml linuxkit build -docker $< tuto2-initrd.img: tuto2.yml linuxkit build -docker $< tuto2-cmdline: tuto2.yml linuxkit build -docker $< tuto2.iso: tuto2.yml tuto2-kernel tuto2-initrd.img tuto2-cmdline linuxkit build -docker -format iso-bios $< tuto2-srs.iso: tuto2.iso pkg/debian-tuto2/isolinux.cfg $(eval TDIR := $(shell mktemp -d)) sudo bsdtar xf $< -C $(TDIR) sudo cp pkg/debian-tuto2/isolinux.cfg /usr/share/syslinux/isolinux.bin /usr/share/syslinux/ldlinux.c32 /usr/share/syslinux/vesamenu.c32 /usr/share/syslinux/menu.c32 /usr/share/syslinux/libcom32.c32 /usr/share/syslinux/libutil.c32 /usr/share/syslinux/poweroff.c32 $(TDIR)/isolinux/ $(eval CMDLINE := $(shell cat tuto2-cmdline | sed 's/console=ttyS0 //;s#root=/dev/sr0 ##;s#root=/dev/sda1 ##;s#adlin.format=/dev/sda ##;')) sudo sed -i 's##$(CMDLINE)#' $(TDIR)/isolinux/isolinux.cfg sudo mkisofs -o $@ -l -J -R -c isolinux/boot.cat -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -joliet-long -input-charset utf8 -V AdLin2 $(TDIR) sudo chown 1000 $@ sudo rm -rf $(TDIR) isohybrid $@ tuto2-srs.iso.gz: tuto2-srs.iso gzip -9 < $< > $@ tuto3-kernel: tuto3.yml linuxkit build -docker $< tuto3-initrd.img: tuto3.yml linuxkit build -docker $< tuto3-cmdline: tuto3.yml linuxkit build -docker $< tuto3.iso: tuto3.yml linuxkit build -docker -format iso-bios $< tuto3.iso.gz: tuto3.iso gzip -9 < $< > $@