Add omarchy-iso-sign
This commit is contained in:
1 parent
ab32317f21
commit
1fead8ec7a
2 files changed
+17
-7
No files matched your search
@@ -4,16 +4,12 @@ The Omarchy ISO is intended to provide a completely offline-capable installation
|
||||
|
||||
## Creating the ISO
|
||||
|
||||
Run `./bin/omarchy-iso-make` and the output goes into `./out`.
|
||||
Run `./bin/omarchy-iso-make` and the output goes into `./release`.
|
||||
|
||||
## Testing the ISO
|
||||
|
||||
Run `./bin/omarchy-iso-boot [out/name.iso]`.
|
||||
Run `./bin/omarchy-iso-boot [release/omarchy.iso]`.
|
||||
|
||||
## Signing the ISO
|
||||
|
||||
```
|
||||
$ gpg --local-user [GPG Key ID] \
|
||||
--output ./out/*.iso.sig \
|
||||
--detach-sig ./out/*.iso
|
||||
```
|
||||
Run `./bin/omarchy-iso-sign [gpg-user] [release/omarchy.iso]`.
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Usage: omarchy-iso-sign [gnupg-user] [release/omarchy.iso]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! pacman -Q gnupg >/dev/null; then
|
||||
sudo pacman -S --noconfirm --needed --quiet gnupg
|
||||
echo "You'll need to generate a new key with: gpg --full-generate-key"
|
||||
echo "Then get your keyid from: gpg --list-secret-keys --keyid-format=long"
|
||||
fi
|
||||
|
||||
gpg --local-user $1 --output $2.sig --detach-sig $2
|
||||
Reference in new issue
Block a user