Browse Source

fix(systemd-sysusers): override systemd-sysusers.service

Fixes a regression with systemd not running units with ConditionNeedsUpdate set in initrds
master
Cornelius Hoffmann 3 years ago committed by Jóhann B. Guðmundsson
parent
commit
dcbe23c14d
  1. 2
      modules.d/01systemd-sysusers/module-setup.sh
  2. 2
      modules.d/01systemd-sysusers/sysusers-dracut.conf

2
modules.d/01systemd-sysusers/module-setup.sh

@ -24,6 +24,8 @@ depends() { @@ -24,6 +24,8 @@ depends() {
# Install the required file(s) and directories for the module in the initramfs.
install() {

inst_simple "$moddir/sysusers-dracut.conf" "$systemdsystemunitdir/systemd-sysusers.service.d/sysusers-dracut.conf"

inst_multiple -o \
"$sysusers"/basic.conf \
"$sysusers"/systemd.conf \

2
modules.d/01systemd-sysusers/sysusers-dracut.conf

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
[Unit]
ConditionNeedsUpdate=
Loading…
Cancel
Save