mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 15:16:42 +00:00
14 lines
406 B
Bash
Executable File
14 lines
406 B
Bash
Executable File
#!/bin/ash
|
|
set -e -o pipefail
|
|
. /etc/functions
|
|
|
|
# Post processing of keys
|
|
|
|
# Import user's keys
|
|
gpg --import /.gnupg/keys/* 2>/dev/null || true
|
|
|
|
# Import trusted distro keys allowed for ISO signing
|
|
gpg --homedir=/etc/distro/ --import /etc/distro/keys/* 2>/dev/null || true
|
|
# Add user's keys to the list of trusted keys for ISO signing
|
|
gpg --export | gpg --homedir=/etc/distro/ --import 2>/dev/null || true
|