archiso/initcpio/install/archiso: fix GnuPG home directory permissions
Gets rid of a gpg warning: gpg: WARNING: unsafe permissions on homedir '/tmp/mkinitcpio.*/root/gpg'
This commit is contained in:
parent
e264b44682
commit
b8dc4484e8
@ -24,7 +24,7 @@ build() {
|
||||
add_file /usr/lib/udev/rules.d/95-dm-notify.rules
|
||||
add_file /usr/lib/initcpio/udev/11-dm-initramfs.rules /usr/lib/udev/rules.d/11-dm-initramfs.rules
|
||||
if [[ $ARCHISO_GNUPG_FD ]]; then
|
||||
mkdir -p "$BUILDROOT/gpg"
|
||||
mkdir -m 0700 -- "$BUILDROOT/gpg"
|
||||
gpg --homedir "$BUILDROOT/gpg" --import <& "$ARCHISO_GNUPG_FD"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user