mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-13 20:18:45 +00:00
cryptography: add base packages for signing keys
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
27
cryptography/yeetfile.js
Normal file
27
cryptography/yeetfile.js
Normal file
@@ -0,0 +1,27 @@
|
||||
rpm.build({
|
||||
name: "techaro-repo-keys",
|
||||
description: "Public keys for techaro.lol RPM packages",
|
||||
homepage: "https://techaro.lol",
|
||||
license: "MIT",
|
||||
goarch: "all",
|
||||
|
||||
build: (out) => {
|
||||
yeet.run(`mkdir`, `-p`, `${out}/etc/pki/rpm-gpg/techaro.lol-keys`);
|
||||
file.install("./techaro-pkgs.pub.asc", `${out}/etc/pki/rpm-gpg/techaro.lol-keys/techaro-pkgs.asc`);
|
||||
file.install("./techaro-root.pub.asc", `${out}/etc/pki/rpm-gpg/techaro.lol-keys/techaro-root.asc`);
|
||||
},
|
||||
});
|
||||
|
||||
deb.build({
|
||||
name: "techaro-repo-keys",
|
||||
description: "Public keys for techaro.lol RPM packages",
|
||||
homepage: "https://techaro.lol",
|
||||
license: "MIT",
|
||||
goarch: "all",
|
||||
|
||||
build: (out) => {
|
||||
yeet.run(`mkdir`, `-p`, `${out}/usr/share/keyrings`);
|
||||
file.install("./techaro-pkgs.pub.asc", `${out}/usr/share/keyrings/techaro-pkgs.asc`);
|
||||
file.install("./techaro-root.pub.asc", `${out}/usr/share/keyrings/techaro-root.asc`);
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user