summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-05-01 03:30:20 -0400
committerAndrew Cady <d@jerkface.net>2016-05-01 03:30:20 -0400
commit38e2aaaa634eb731c9221bee522958334b4fc7e9 (patch)
tree5ae29976ec1b82947dc29bea46e7ec24a7fa412f /Makefile
parent06dc6f6c4b662f798d4f4221fd110b33e768d3ce (diff)
Download gnupghome.tar when net-booting
This contains a keyring that is generated on the server for each client that netboots.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bcf851b..893216b 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ prefix?=/usr/local
2 2
3all: samizdat-paths.sh 3all: samizdat-paths.sh
4 4
5bin_programs=$(addprefix src/, xorriso-usb.sh btrfs-functions.sh btrfs-receive-root.sh btrfs-send-root.sh var.sh grub-efi.sh keygen.sh initrd.sh qemu.sh btarfs) samizdat-paths.sh 5bin_programs=$(addprefix src/, xorriso-usb.sh btrfs-functions.sh btrfs-receive-root.sh btrfs-send-root.sh var.sh grub-efi.sh keygen.sh initrd.sh qemu.sh btarfs dnsmasq-dhcp-script.sh) samizdat-paths.sh
6 6
7# TODO: compile these here 7# TODO: compile these here
8samizdat_execs=$(addprefix /home/d/src/samizdat/, wait_for_files samizdat-pinentry dynmenu src/samizdat-password-agent src/samizdat-gpg-agent) 8samizdat_execs=$(addprefix /home/d/src/samizdat/, wait_for_files samizdat-pinentry dynmenu src/samizdat-password-agent src/samizdat-gpg-agent)
@@ -10,6 +10,8 @@ samizdat_execs=$(addprefix /home/d/src/samizdat/, wait_for_files samizdat-pinent
10initrd_files:=$(wildcard src/initrd/*) 10initrd_files:=$(wildcard src/initrd/*)
11initramfs_conf_files:=$(wildcard initramfs-tools/*) 11initramfs_conf_files:=$(wildcard initramfs-tools/*)
12 12
13isolinux_files:=$(wildcard isolinux/*)
14
13.PHONY: samizdat-paths.sh 15.PHONY: samizdat-paths.sh
14samizdat-paths.sh: src/samizdat-paths.in 16samizdat-paths.sh: src/samizdat-paths.in
15 sed -e "s?PREFIX?$(prefix)?g" $< > $@ 17 sed -e "s?PREFIX?$(prefix)?g" $< > $@
@@ -25,3 +27,4 @@ install:
25 mkdir -p ${instdir}${samizdat_linux_dir} 27 mkdir -p ${instdir}${samizdat_linux_dir}
26 cp -r ${initrd_files} ${instdir}${samizdat_initrd_files_dir} 28 cp -r ${initrd_files} ${instdir}${samizdat_initrd_files_dir}
27 cp -r ${initramfs_conf_files} ${instdir}${samizdat_initramfs_conf_dir} 29 cp -r ${initramfs_conf_files} ${instdir}${samizdat_initramfs_conf_dir}
30 cp -r ${isolinux_files} ${instdir}${samizdat_isolinux_dir}