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:
parent
3d44d3a80b
commit
dc5d025247
1
Makefile
1
Makefile
@ -33,6 +33,7 @@ install-fedora-kernel-support:
|
|||||||
|
|
||||||
install-debian-kernel-support:
|
install-debian-kernel-support:
|
||||||
$(MAKE) -C initramfs-tools install
|
$(MAKE) -C initramfs-tools install
|
||||||
|
$(MAKE) -C dracut install
|
||||||
$(MAKE) -C kernel-modules install
|
$(MAKE) -C kernel-modules install
|
||||||
# expand module version
|
# expand module version
|
||||||
rm -f debian/qubes-kernel-vm-support.dkms
|
rm -f debian/qubes-kernel-vm-support.dkms
|
||||||
|
3
debian/qubes-kernel-vm-support.install
vendored
3
debian/qubes-kernel-vm-support.install
vendored
@ -1,3 +1,6 @@
|
|||||||
usr/share/initramfs-tools/scripts/local-top/qubes_cow_setup
|
usr/share/initramfs-tools/scripts/local-top/qubes_cow_setup
|
||||||
usr/share/initramfs-tools/hooks/qubes_vm
|
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-*/*
|
usr/src/u2mfn-*/*
|
||||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -15,6 +15,8 @@ override_dh_auto_build:
|
|||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
make install LIBDIR=/usr/lib DEBIANBUILD=1 PYTHON_PREFIX_ARG=--install-layout=deb
|
make install LIBDIR=/usr/lib DEBIANBUILD=1 PYTHON_PREFIX_ARG=--install-layout=deb
|
||||||
make install-debian-kernel-support LIBDIR=/usr/lib DEBIANBUILD=1
|
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:
|
override_dh_install:
|
||||||
dh_install --fail-missing
|
dh_install --fail-missing
|
||||||
|
Loading…
Reference in New Issue
Block a user