diff --git a/debian/control b/debian/control index 5b63b20e..1532602b 100644 --- a/debian/control +++ b/debian/control @@ -5,6 +5,7 @@ Maintainer: Dimitri John Ledkov Build-Depends: debhelper-compat (= 13), dh-python, python3:any, dracut-core, quilt, busybox-initramfs, util-linux, e2fsprogs, + dbus, dosfstools, dmsetup, mount, diff --git a/debian/rules b/debian/rules index 11931152..b8f1ddd8 100755 --- a/debian/rules +++ b/debian/rules @@ -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 \ diff --git a/factory/usr/lib/systemd/system/snap-initramfs-mounts.service b/factory/usr/lib/systemd/system/snap-initramfs-mounts.service index c4329cc1..f8e5bc42 100644 --- a/factory/usr/lib/systemd/system/snap-initramfs-mounts.service +++ b/factory/usr/lib/systemd/system/snap-initramfs-mounts.service @@ -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