From 5bbf258d928ed4e36e02f83526ae831ed4d8a409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Tue, 23 Oct 2018 17:24:14 +0200 Subject: main/dnssec-root: make build reproducible The same key is not always written to the same file. Since we simply concatenate it we might end up with different trusted keys files. Sort the file using the key string to make the build reproducible. --- main/dnssec-root/APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/dnssec-root') diff --git a/main/dnssec-root/APKBUILD b/main/dnssec-root/APKBUILD index 0af5f66fe0..205a382116 100644 --- a/main/dnssec-root/APKBUILD +++ b/main/dnssec-root/APKBUILD @@ -24,7 +24,7 @@ build() { package() { cd "$builddir" - cat ksk-as-dnskey.txt* > trusted-key.key + sort -k 6 ksk-as-dnskey.txt* > trusted-key.key install -Dm644 trusted-key.key \ "$pkgdir"/usr/share/$pkgname/trusted-key.key } -- cgit v1.2.3