Skip to content

Commit

Permalink
Support installing kernel in template even for minimal flavors
Browse files Browse the repository at this point in the history
To have a minimal template that includes kernel package, add an
"install-kernel" template option. This is especially useful for Whonix
templates, which are based on the minimal flavor, but will be switching
to the in-vm kernel.

QubesOS/qubes-issues#9570
  • Loading branch information
marmarek committed Nov 19, 2024
1 parent a33910f commit bc6512c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template_debian/04_install_qubes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if ! [ -f "${INSTALL_DIR}/${TMPDIR}/.prepared_qubes" ]; then
#### '----------------------------------------------------------------------
installPackages packages_qubes.list

if ! containsFlavor "minimal" && [ "0$TEMPLATE_ROOT_WITH_PARTITIONS" -eq 1 ]; then
if ! containsFlavor "minimal" || containsFlavor "install-kernel" && [ "0$TEMPLATE_ROOT_WITH_PARTITIONS" -eq 1 ]; then
#### '------------------------------------------------------------------
info ' Install kernel and bootloader'
#### '------------------------------------------------------------------
Expand Down

0 comments on commit bc6512c

Please sign in to comment.