debian: include drauct module in qubes-kernel-vm-support

Support dracut also on Debian systems.

Fixes QubesOS/qubes-issues#3361
This commit is contained in:
Marek Marczykowski-Górecki 2017-12-01 00:11:28 +01:00
parent 3d44d3a80b
commit dc5d025247
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
3 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,7 @@ install-fedora-kernel-support:
install-debian-kernel-support:
$(MAKE) -C initramfs-tools install
$(MAKE) -C dracut install
$(MAKE) -C kernel-modules install
# expand module version
rm -f debian/qubes-kernel-vm-support.dkms

View File

@ -1,3 +1,6 @@
usr/share/initramfs-tools/scripts/local-top/qubes_cow_setup
usr/share/initramfs-tools/hooks/qubes_vm
usr/lib/dracut/modules.d/90qubes-vm/*
usr/lib/dracut/modules.d/90qubes-vm-modules/*
usr/lib/dracut/modules.d/90qubes-vm-simple/*
usr/src/u2mfn-*/*

2
debian/rules vendored
View File

@ -15,6 +15,8 @@ override_dh_auto_build:
override_dh_auto_install:
make install LIBDIR=/usr/lib DEBIANBUILD=1 PYTHON_PREFIX_ARG=--install-layout=deb
make install-debian-kernel-support LIBDIR=/usr/lib DEBIANBUILD=1
# dom0-only file
rm -f $(DESTDIR)/usr/sbin/qubes-prepare-vm-kernel
override_dh_install:
dh_install --fail-missing