mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-15 22:08:47 +00:00
Merge pull request #6659 from gkurz/backport-6658
osbuilder: Enable dbus in the dracut case (backport for 3.1)
This commit is contained in:
@@ -14,4 +14,4 @@ hostonly_cmdline="no"
|
||||
# create reproducible images
|
||||
reproducible="yes"
|
||||
# dracut modules to include (NOTE: these are NOT kernel modules)
|
||||
dracutmodules="kernel-modules udev-rules syslog systemd"
|
||||
dracutmodules="kernel-modules udev-rules syslog systemd dbus"
|
||||
|
@@ -475,6 +475,8 @@ prepare_overlay()
|
||||
# Kata systemd unit file
|
||||
mkdir -p ./etc/systemd/system/basic.target.wants/
|
||||
ln -sf /usr/lib/systemd/system/kata-containers.target ./etc/systemd/system/basic.target.wants/kata-containers.target
|
||||
mkdir -p ./etc/systemd/system/kata-containers.target.wants/
|
||||
ln -sf /usr/lib/systemd/system/dbus.socket ./etc/systemd/system/kata-containers.target.wants/dbus.socket
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user