Use tmpfs for /etc/pacman.d/gnupg instead of a symlink to /run
This fixes FS#31815 Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
parent
39bf4183d1
commit
76f275e993
@ -35,7 +35,6 @@ _mnt_fs() {
|
||||
|
||||
_mnt_dev "/dev/mapper/${dm_snap_name}" "${newroot}${mnt}" "-w"
|
||||
echo $(readlink -f /dev/mapper/${dm_snap_name}) >> /run/archiso/used_block_devices
|
||||
echo "/dev/mapper/${dm_snap_name} ${mnt} auto defaults 0 0" >> ${newroot}/etc/fstab
|
||||
}
|
||||
|
||||
# args: /path/to/image_file, mountpoint
|
||||
|
0
configs/releng/root-image/etc/fstab
Normal file
0
configs/releng/root-image/etc/fstab
Normal file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Temporary /etc/pacman.d/gnupg directory
|
||||
|
||||
[Mount]
|
||||
What=tmpfs
|
||||
Where=/etc/pacman.d/gnupg
|
||||
Type=tmpfs
|
||||
Options=mode=0755
|
@ -2,6 +2,8 @@
|
||||
Description=Initializes Pacman keyring
|
||||
Wants=haveged.service
|
||||
After=haveged.service
|
||||
Requires=etc-pacman.d-gnupg.mount
|
||||
After=etc-pacman.d-gnupg.mount
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -1,2 +0,0 @@
|
||||
d /run/pacman.d/gnupg - - - - -
|
||||
L /etc/pacman.d/gnupg - - - - /run/pacman.d/gnupg
|
Loading…
Reference in New Issue
Block a user