From 00c330f2d502139faab40b8b08bbdea95d99e418 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 24 Aug 2024 15:47:52 -0300 Subject: Re-include "id_rsa.pub" in /etc/ --- Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dcfb758..afcde05 100644 --- a/Makefile +++ b/Makefile @@ -42,16 +42,14 @@ src/config/tld.txt: Makefile src/config/offsite-ssh.txt: Makefile echo '$(OFFSITE_SSH)' | ifnew $@ -system.scm.sentinel: src/guix/system.scm src/config/tld.txt src/config/offsite-ssh.txt +src/config/root-pubkey.txt: src/keys/SSH/root@$(TLD).id_rsa.pub.txt Makefile + cut -d' ' -f8- < src/keys/SSH/root@$(TLD).id_rsa.pub.txt > $@ + +system.scm.sentinel: src/guix/system.scm src/config/tld.txt src/config/offsite-ssh.txt src/config/root-pubkey.txt rm -f system.scm* guix build -v3 -r system.scm -Kf src/guix/system.scm touch $@ -.SUFFIXES: .stripped -src/keys/SSH/root@$(TLD).id_rsa.pub.stripped: \ - src/keys/SSH/root@$(TLD).id_rsa.pub.txt - cut -d' ' -f8- < $*.txt > $@ - check-unit: -- cgit v1.2.3