From 844726400414069b1ee0d242df1245218b5f25c3 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Mon, 20 Nov 2023 22:03:20 +0100 Subject: [PATCH] preseed: Add tests Signed-off-by: Denis 'GNUtoo' Carikli --- preseed/Makefile | 5 ++++- preseed/preseed.img.sha512 | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 preseed/preseed.img.sha512 diff --git a/preseed/Makefile b/preseed/Makefile index 113831d..c2bc121 100644 --- a/preseed/Makefile +++ b/preseed/Makefile @@ -15,7 +15,7 @@ .PHONY: mtools-signkey -all: preseed.img +all: preseed.img check pubring.kbx: gpg --homedir $$PWD \ @@ -43,3 +43,6 @@ preseed.img: mtools-4.0.43 ../trisquel-guix-installer.experimental.a-lec.org/config/debconf/FAIBASE \ :: mtools-4.0.43/mdir -i $@ :: + +check: preseed.img preseed.img.sha512 + sha512sum -c preseed.img.sha512 diff --git a/preseed/preseed.img.sha512 b/preseed/preseed.img.sha512 new file mode 100644 index 0000000..aae4cd5 --- /dev/null +++ b/preseed/preseed.img.sha512 @@ -0,0 +1 @@ +7a3b97468a3782f3fd28cf9bf6b96d79b6ef2c31d4a45c19abf776fc944b27ba78469ec72d991c8e97e50641c7adc8fd5cf86b798f47bbfe07ed41dedae9fcff preseed.img