Commit 2ac82f0
committed
rpm: skip systemctl daemon-reload if systemd is not running
Skip it in chroot or a container to not fail the RPM transaction. While
RPM says it's "non-crtitical error in the %post scriptlet", it does
consider RPM transaction as failed in the end.
Interestingly, that happens only on Fedora 43, earlier versions actually
do treat it as non-critical and consider RPM transaction successful.
Anyway, adjust to not fail the scriptlet and don't worry if the error
should be considered fatal or not.
QubesOS/qubes-issues#101021 parent 06fd5a0 commit 2ac82f0
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1304 | 1304 | | |
1305 | 1305 | | |
1306 | 1306 | | |
1307 | | - | |
| 1307 | + | |
1308 | 1308 | | |
1309 | 1309 | | |
1310 | 1310 | | |
| |||
1334 | 1334 | | |
1335 | 1335 | | |
1336 | 1336 | | |
1337 | | - | |
| 1337 | + | |
1338 | 1338 | | |
1339 | 1339 | | |
1340 | 1340 | | |
| |||
0 commit comments