@@ -134,6 +134,7 @@ Requires: sed
134
134
Requires: util-linux
135
135
Requires: e2fsprogs
136
136
Requires: hostname
137
+ Requires: (%{name}-dracut if dracut)
137
138
# for Qubes Manager VM updater
138
139
Requires: xterm
139
140
# for qubes-desktop-run
@@ -373,6 +374,19 @@ switching from user to root. Since all the user data in a VM is accessible
373
374
already from normal user account, there is not much more to guard there. Qubes
374
375
VMs are single user systems.
375
376
377
+ %package dracut
378
+ Summary: Dracut configuration needed in Qubes OS
379
+ License: GPL
380
+ Group: Qubes
381
+ Requires: dracut
382
+ Requires: qubes-core-agent = %{version}
383
+
384
+ %description dracut
385
+ Dracut configuration needed in Qubes OS. This enables
386
+ passwordless login in rescue and emergency modes, as well
387
+ as configuring dracut to only install certain drivers and
388
+ omit others.
389
+
376
390
%package thunar
377
391
Summary: Thunar support for Qubes VM tools
378
392
Requires: Thunar
@@ -1030,12 +1044,6 @@ rm -f %{name}-%{version}
1030
1044
/usr/lib/qubes/resize-rootfs
1031
1045
/usr/lib/qubes/set-default-text-editor
1032
1046
/usr/lib/qubes/tinyproxy-wrapper
1033
- /usr/lib/dracut/dracut.conf.d/30-qubes.conf
1034
- # Ensure that dracut is not a hard requirement.
1035
- # It is only needed with in-VM initramfs, not
1036
- # dom0-provided initramfs.
1037
- %dir /usr/lib/dracut/modules.d/99qubes
1038
- /usr/lib/dracut/modules.d/99qubes/module-setup.sh
1039
1047
1040
1048
/usr/lib/environment.d/60-gnome-software-fix.conf
1041
1049
%dir /usr/lib/qubes/init
@@ -1106,6 +1114,11 @@ rm -f %{name}-%{version}
1106
1114
/usr/share/caja-python/extensions/qvm_dvm_caja.py*
1107
1115
%endif
1108
1116
1117
+ %files dracut
1118
+ /usr/lib/dracut/dracut.conf.d/30-qubes.conf
1119
+ %dir /usr/lib/dracut/modules.d/99qubes
1120
+ /usr/lib/dracut/modules.d/99qubes/module-setup.sh
1121
+
1109
1122
%files nautilus
1110
1123
/usr/share/nautilus-python/extensions/qvm_copy_nautilus.py*
1111
1124
/usr/share/nautilus-python/extensions/qvm_move_nautilus.py*
0 commit comments