Accepting request 961741 from home:gmbr3:Active
- Add tmpfiles.d conf for /run/pam_mount OBS-URL: https://build.opensuse.org/request/show/961741 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_mount?expand=0&rev=77
This commit is contained in:
parent
9f9a891ec8
commit
28a69fc8cf
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 12 19:35:38 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Add tmpfiles.d conf for /run/pam_mount
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 12 16:09:44 UTC 2022 - Josef Möllers <josef.moellers@suse.com>
|
||||
|
||||
|
@ -29,6 +29,7 @@ Source: http://downloads.sf.net/pam-mount/%name-%version.tar.xz
|
||||
Source9: http://downloads.sf.net/pam-mount/%name-%version.tar.asc
|
||||
Source1: convert_pam_mount_conf.pl
|
||||
Source2: convert_keyhash.pl
|
||||
Source3: pam_mount.tmpfiles
|
||||
Source5: baselibs.conf
|
||||
Source6: %name.keyring
|
||||
Patch1: pam_mount-0.47-enable-logout-kill.dif
|
||||
@ -122,9 +123,11 @@ ln -s /usr/sbin/umount.crypt "$b/sbin"
|
||||
ln -s /usr/sbin/mount.crypt_LUKS "$b/sbin"
|
||||
ln -s /usr/sbin/umount.crypt_LUKS "$b/sbin"
|
||||
%endif
|
||||
install -Dm0644 %SOURCE3 "$b/%_tmpfilesdir/%name.conf"
|
||||
%fdupes %buildroot/%_prefix
|
||||
|
||||
%post
|
||||
%tmpfiles_create %_tmpfilesdir/%name.conf
|
||||
if [ -e etc/security/pam_mount.conf ]
|
||||
then
|
||||
cp etc/security/pam_mount.conf.xml %_docdir/%name/examples/
|
||||
@ -148,6 +151,7 @@ fi
|
||||
%files
|
||||
%_docdir/%name
|
||||
%{_pam_moduledir}/pam_mount*.so
|
||||
%_tmpfilesdir/%name.conf
|
||||
%_sbindir/mount.*
|
||||
%_sbindir/umount.*
|
||||
%_sbindir/pmvarrun
|
||||
|
2
pam_mount.tmpfiles
Normal file
2
pam_mount.tmpfiles
Normal file
@ -0,0 +1,2 @@
|
||||
#Type Path Mode User Group Age Argument
|
||||
d /run/pam_mount 0755 root root - -
|
Loading…
Reference in New Issue
Block a user