Accepting request 839811 from home:favogt:combustion

I noticed that the default.target.wants/issue-generator.path was only present
after the first boot, but not in the initial snapshot. This seems to fix that.

- Handle the .path unit in scriptlets as well

OBS-URL: https://build.opensuse.org/request/show/839811
OBS-URL: https://build.opensuse.org/package/show/Base:System/issue-generator?expand=0&rev=32
This commit is contained in:
Thorsten Kukuk 2020-10-08 11:38:28 +00:00 committed by Git OBS Bridge
parent 845fa5c4ce
commit 5531fbdd39
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 6 11:40:21 UTC 2020 - Fabian Vogt <fvogt@suse.com>
- Handle the .path unit in scriptlets as well
-------------------------------------------------------------------
Tue Jul 7 09:30:43 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -51,18 +51,18 @@ install -m 644 udev/sysconfig.issue-generator %{buildroot}%{_fillupdir}/
%fdupes %{buildroot}%{_mandir}
%pre
%service_add_pre issue-generator.service issue-add-ssh-keys.service
%service_add_pre issue-generator.service issue-generator.path issue-add-ssh-keys.service
%post
%tmpfiles_create issue-generator.conf
%{fillup_only -n issue-generator}
%service_add_post issue-generator.service issue-add-ssh-keys.service
%service_add_post issue-generator.service issue-generator.path issue-add-ssh-keys.service
%preun
%service_del_preun issue-generator.service issue-add-ssh-keys.service
%service_del_preun issue-generator.service issue-generator.path issue-add-ssh-keys.service
%postun
%service_del_postun issue-generator.service issue-add-ssh-keys.service
%service_del_postun issue-generator.service issue-generator.path issue-add-ssh-keys.service
%files
%license COPYING