Skip to content

Commit

Permalink
Add dbus system bus
Browse files Browse the repository at this point in the history
D-Bus system bus is needed by `systemd-run --wait`.
  • Loading branch information
valentindavid committed May 2, 2023
1 parent 719601e commit dd4b370
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Maintainer: Dimitri John Ledkov <[email protected]>
Build-Depends: debhelper-compat (= 13), dh-python, python3:any, dracut-core, quilt, busybox-initramfs,
util-linux,
e2fsprogs,
dbus,
dosfstools,
dmsetup,
mount,
Expand Down
4 changes: 4 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ override_dh_auto_install:
/usr/sbin/modinfo \
/usr/sbin/modprobe \
/usr/sbin/rmmod \
/usr/bin/dbus-daemon \
/lib/systemd/system/dbus.service \
/lib/systemd/system/dbus.socket \
/usr/share/dbus-1/system.conf \
/usr/sbin/plymouthd \
/usr/bin/plymouth \
/lib/systemd/system/plymouth-start.service \
Expand Down
3 changes: 3 additions & 0 deletions factory/usr/lib/systemd/system/snap-initramfs-mounts.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ DefaultDependencies=no
After=sysinit.target
Before=initrd-root-device.target

Wants=dbus.socket
After=dbus.socket

[Service]
Type=oneshot
RemainAfterExit=true
Expand Down

0 comments on commit dd4b370

Please sign in to comment.