summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-10-16 23:25:35 -0400
committerAndrew Cady <d@jerkface.net>2019-10-16 23:25:35 -0400
commit26490c0022666a01b031036ead74ce85d3f71557 (patch)
treefe359fb588a4a26998fc058ae2e45807fd240824
parentd41510057c313f458b6f77b42d70b751e030a66e (diff)
'make install-bootserver' will install nbd-server config
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index bfa02b7..4bba152 100644
--- a/Makefile
+++ b/Makefile
@@ -67,19 +67,15 @@ else
67 install -p -m0644 -DT conf/eth0 ${instdir}/etc/network/interfaces.d/eth0 67 install -p -m0644 -DT conf/eth0 ${instdir}/etc/network/interfaces.d/eth0
68 install -p -m0644 -DT conf/br0 ${instdir}/etc/network/interfaces.d/br0 68 install -p -m0644 -DT conf/br0 ${instdir}/etc/network/interfaces.d/br0
69 install -p -m0644 -DT conf/network_if-up.d_samizdat ${instdir}/etc/network/if-up.d/samizdat 69 install -p -m0644 -DT conf/network_if-up.d_samizdat ${instdir}/etc/network/if-up.d/samizdat
70 install -p -m0644 -DT conf/nbd-server ${instdir}/etc/nbd-server/conf.d/samizdat.conf
70endif 71endif
71 72
72install-configuration: real-install-bootserver $(conf_files_out) $(static_conf_files) 73install-configuration: real-install-bootserver $(conf_files_out) $(static_conf_files)
73ifndef instdir 74ifndef instdir
74 $(error "You must specify instdir, for safety.") 75 $(error "You must specify instdir, for safety.")
75else 76else
76 install -p -m0644 -DT conf/dnsmasq.conf ${instdir}/etc/dnsmasq.conf
77 install -p -m0644 -DT conf/eth0 ${instdir}/etc/network/interfaces.d/eth0
78 install -p -m0644 -DT conf/br0 ${instdir}/etc/network/interfaces.d/br0
79 install -p -m0644 -DT conf/network_if-up.d_samizdat ${instdir}/etc/network/if-up.d/samizdat
80 install -p -m0644 -DT conf/postfix_main.cf ${instdir}/etc/postfix/main.cf 77 install -p -m0644 -DT conf/postfix_main.cf ${instdir}/etc/postfix/main.cf
81 install -p -m0644 -DT conf/torrc ${instdir}/etc/tor/torrc 78 install -p -m0644 -DT conf/torrc ${instdir}/etc/tor/torrc
82 install -p -m0644 -DT conf/nbd-server ${instdir}/etc/nbd-server/conf.d/samizdat.conf
83 ln -sf /var/cache/kiki/config/tor/hostname ${instdir}/etc/mailname 79 ln -sf /var/cache/kiki/config/tor/hostname ${instdir}/etc/mailname
84 ln -sf /var/cache/kiki/config/tor/hostname ${instdir}/etc/hostname 80 ln -sf /var/cache/kiki/config/tor/hostname ${instdir}/etc/hostname
85endif 81endif