From 7d440da4159ecba80cdbd22bd1131b707bde9714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 25 Nov 2024 14:08:13 +0100 Subject: [PATCH] debian: include all boot-related configs in the package This especially adds dracut config (that was previously installed in Fedora only). While dracut is not the default on Debian, it is possible to use it, so add the config to the package too. QubesOS/qubes-issues#8649 (cherry picked from commit 8796b2b56e97b81ba3b9184c12c7bce4d8ac448c) --- debian/qubes-core-agent.install | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/qubes-core-agent.install b/debian/qubes-core-agent.install index fbc4675d..5cf2b146 100644 --- a/debian/qubes-core-agent.install +++ b/debian/qubes-core-agent.install @@ -138,6 +138,7 @@ usr/bin/qvm-run-vm usr/bin/qvm-connect-tcp usr/bin/qvm-sync-clock usr/lib/environment.d/60-gnome-software-fix.conf +usr/lib/dracut/dracut.conf.d/30-qubes.conf usr/lib/python3/dist-packages/qubesagent-*.egg-info/* usr/lib/python3/dist-packages/qubesagent/* usr/lib/qubes-bind-dirs.d/30_cron.conf diff --git a/debian/rules b/debian/rules index 01ac851b..63eb1dc5 100755 --- a/debian/rules +++ b/debian/rules @@ -30,7 +30,7 @@ override_dh_auto_install: make -C qubes-rpc/kde install make -C qubes-rpc/nautilus install make -C qubes-rpc/thunar install - install -D -m 0644 boot/grub.qubes $(DESTDIR)/etc/default/grub.d/30-qubes.cfg + make -C boot install GRUBCFGNAME=grub.d/30-qubes.cfg override_dh_fixperms: dh_fixperms -a -Xqfile-unpacker