Package: calamares-settings-debian
Version: 11.0.5-2
Severity: wishlist

Dear Maintainer,

I've built a GNOME live image using the instructions at:
https://wiki.debian.org/ReproducibleInstalls/LiveImages

When I run the calamares installer in a VM with BIOS and with a disconnected network interface, the installation fails because the package 'grub-pc' (and its dependencies 'grub-pc-bin' and 'grub2-common') is not present inside the image.

An alternative testing scenario is to set 'export http_proxy=http://localhost:9' (which effectively blocks network traffic) before starting calamares.

When the VM is run with an EFI firmware instead, the package 'grub-efi-amd64' is required instead.

Sidenote: the file bootloader.conf mentions that a choice out of three is possible: 'grub', 'sb-shim' and 'systemd-boot'.
https://sources.debian.org/src/calamares-settings-debian/11.0.5-2/calamares/modules/bootloader.conf/
I've not investigated whether a value other than 'grub' would function properly.

Additionally the script 'bootloader-config' requires 'cryptsetup' and 'keyutils'.
https://sources.debian.org/src/calamares-settings-debian/11.0.5-2/scripts/bootloader-config/?hl=17#L17

Unfortunately 'grub-pc' and 'grub-efi-amd64' conflict with each other... (for good reasons, but rather awkward for this specific scenario). When I create a live image with the dependencies explicitly listed, i.e. 'grub-common', 'grub2-common', 'ucf' and 'grub-pc-bin' and 'grub-efi-amd64-bin' and then modify '/usr/sbin/bootloader-config' to use the '*-bin' variant instead (and add the other dependencies), I am able to finish a completely offline installation.

Please consider to add the mentioned packages as 'Depends' (or at least 'Recommends'), to ensure that the partitioning will succeed when an offline installation is performed, because all required packages will be present inside the live image.

With kind regards,
Roland Clobus

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-3-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages calamares-settings-debian depends on:
ii  calamares                                    3.2.50-1
ii  cryptsetup                                   2:2.4.3-1
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-2
ii  keyutils                                     1.6.1-2
ii  qml-module-qtquick-window2                   5.15.2+dfsg-9
ii  qml-module-qtquick2                          5.15.2+dfsg-9

calamares-settings-debian recommends no packages.

calamares-settings-debian suggests no packages.

-- no debconf information

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to