mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-06 22:14:24 -04:00
Backport systemd-resolved fixes for Fedora 36
This commit is contained in:
parent
899ca91aa3
commit
e07c6ada5c
3 changed files with 11 additions and 0 deletions
5
image/mkosi.prepare
Executable file
5
image/mkosi.prepare
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -euxo pipefail
|
||||
|
||||
# backport of https://github.com/dracutdevs/dracut/commit/dcbe23c14d13ca335ad327b7bb985071ca442f12
|
||||
sed -i 's/WantedBy=multi-user.target/WantedBy=basic.target/' /usr/lib/systemd/system/systemd-resolved.service
|
|
@ -70,4 +70,7 @@ install() {
|
|||
install_path /etc/pki/tls/certs/
|
||||
inst_simple /etc/pki/tls/certs/ca-bundle.crt \
|
||||
/etc/pki/tls/certs/ca-bundle.crt
|
||||
|
||||
# backport of https://github.com/dracutdevs/dracut/commit/dcbe23c14d13ca335ad327b7bb985071ca442f12
|
||||
inst_simple "$moddir/sysusers-dracut.conf" "$systemdsystemunitdir/systemd-sysusers.service.d/sysusers-dracut.conf"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
# backport of https://github.com/dracutdevs/dracut/commit/dcbe23c14d13ca335ad327b7bb985071ca442f12
|
||||
[Unit]
|
||||
ConditionNeedsUpdate=
|
Loading…
Add table
Add a link
Reference in a new issue