diff options
author | Thomas Bächler <thomas@archlinux.org> | 2016-02-13 10:08:38 +0100 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2016-02-28 17:09:08 -0300 |
commit | e36e63b8f1b3d7324e7e3706fd11fdff4ec24358 (patch) | |
tree | 65990ed00176a1d00b50ed20586bea8671978d9f /archiso/initcpio | |
parent | b644d3e92396e50e54fd66a634e183338f39bea8 (diff) | |
download | archiso32-e36e63b8f1b3d7324e7e3706fd11fdff4ec24358.tar.xz |
Optionally sign the squashfs files with gpg and add the gpg key to the initramfs
A new option -g <keyid> is added to build.sh set the key id. If it is set, the squashfs files will be signed
by gpg and the gpg key will be added to archiso.img. In order to use this option, a gpg agent must be running.
Since build.sh is executed as root, it may be necessary to set the GNUPGHOME environment variable, for
example
$ su -c "GNUPGHOME=/home/youruser/.gnupg /path/to/build.sh -g yourkeyid"
Diffstat (limited to 'archiso/initcpio')
0 files changed, 0 insertions, 0 deletions