Revisions of systemd-rpm-macros

Franck Bui's avatar Franck Bui (fbui) committed (revision 104)
Update comments, fix indentation
Franck Bui's avatar Franck Bui (fbui) committed (revision 103)
- Bump to version 25
Franck Bui's avatar Franck Bui (fbui) committed (revision 102)
- Turn %tmpfiles_create/%sysusers_create into NOPs
  The 2 following macros have also been converted into NOPs since we moved to
  file triggers. Some packages might have assumed that their effects were
  effective as soon as the macros return. However such assumption on tmpfiles
  can't work on transactional systems anyways where changes must take place on
  reboot.
  
  When a system user/group needs to be created in %%pre, so proper ownership are
  used when package's files are installed, "sysusers_create_package()" should be
  used.
Franck Bui's avatar Franck Bui (fbui) committed (revision 101)
- Bump to version 24
Franck Bui's avatar Franck Bui (fbui) committed (revision 100)
- Drop %tmpfiles_create_package
  It can't work during transactional updates because the paths that
  systemd-tmpfiles usually operates on (such as /var) can't be changed. It
  appears that the only user of this macro doesn't really need this macro so
  let's drop it.
Franck Bui's avatar Franck Bui (fbui) committed (revision 99)
- Drop %sysusers_create_inline
  It's deprecated and the only user of this macro is being converted to
  %sysusers_create_package. So drop it now before the deprecated macro attracts
  more users.
Franck Bui's avatar Franck Bui (fbui) committed (revision 98)
- Unlike systemd-tmpfiles call in %tmpfiles_create_package(), systemd-sysusers
  must always be called by %sysusers_create_package() even on transactional
  systems since it's part of the macro contract. Writing to /etc is not
  recommended on such systems but it has to work anyways.
Franck Bui's avatar Franck Bui (fbui) committed (revision 97)
- Bump to version 23
Franck Bui's avatar Franck Bui (fbui) committed (revision 96)
- Restore the check that prevents systemd-tmpfiles to run during transactional updates
  The check has been mistakenly dropped during the switch to file-triggers.
Franck Bui's avatar Franck Bui (fbui) committed (revision 95)
- Bump to version 22
Franck Bui's avatar Franck Bui (fbui) committed (revision 94)
fix %tmpfiles_create_package and drop 'fi' leftover
Franck Bui's avatar Franck Bui (fbui) committed (revision 93)
avoid macros with empty bodies
Franck Bui's avatar Franck Bui (fbui) committed (revision 92)
adjust the 2 last entries of the changlog
Franck Bui's avatar Franck Bui (fbui) committed (revision 91)
- Make sure that (futur) users of %sysctl_apply() and %binfmt_apply() will call
  the macros with arguments.
- Leave %sysctl_apply() and %binfmt_apply() empty (bsc#1211272)
  Only the former has very few users currently and none of them has specific
  code relying on the new sysctl values between the macros and the file
  triggers.
Franck Bui's avatar Franck Bui (fbui) committed (revision 90)
update previous changelog entry
Franck Bui's avatar Franck Bui (fbui) committed (revision 89)
- Test the presence of /run/systemd/system to check whether we're operating
  during transactional updates. Hence the behavior is the same when operating in
  a chroot or during transactional updates.
- Leave %sysctl_apply() and %binfmt_apply() empty as there's no (interesting)
  user of these macros for now.
Franck Bui's avatar Franck Bui (fbui) committed (revision 88)
- Bump to version 21
Franck Bui's avatar Franck Bui (fbui) committed (revision 87)
- Rely on 'systemd-update-helper' shell script to implement %service_* macros
  The helper was introduced by upstream commit 6d825ab2d42d3219e49a1. The main
  advantage is that we no more need to rebuild all packages to update the macro
  definitions.
  Internally the script relies on file triggers for 'daemon-reload' operations
  and for restarting units (when needed).
- Update other macros to reflect the fact that systemd package provides file
  triggers for sysusers, tmpfiles, hwdb, and journal catalog.
Franck Bui's avatar Franck Bui (fbui) committed (revision 86)
- Bump to version 20
Franck Bui's avatar Franck Bui (fbui) committed (revision 85)
- %service_del_postun: make sure to restart services if /etc/sysconfig/service
  is not present.
Displaying revisions 1 - 20 of 104
openSUSE Build Service is sponsored by