To complement the last fix, ensure that Calamares ends up on the removal list
for non-stacked squashfses if and only if OEM is disabled, and Calamares shows
up on the install list only for stacked squashfses which have OEM enabled.
This nuanced approach ensures all potential combinations have the intended
functionality.
As a temporary measure until OEM is refactored in the 25.10 cycle, we need to
ensure that Calamares and its necessary dependencies are installed on the
target, iff this is a stacked squashfs *and* it is an OEM install. We're doing
this in pkgselect instead of pkgselectprocess because pkgselect already knows
about stacked squashfses, it's what provides the final "additional install
list" to be considered by checkpackage-backend, and this is a temporary fix
anyway (LP: #2104343).
When we are creating the final list of packages to feed to "apt install,"
virtual packages which do not have a valid candidate are included in this
list, causing the installation to fail. When creating this list, use FindGrp
instead of FindPkg, and only add it to the list if there is a valid candidate.
Additionally, add these items to an unordered set, to eliminate deduplication
(LP: #2106773).
A reliable testcase for this is the libreoffice-help-is package, at least in
Plucky.
If checkpackage-backend does not exist in the target system, likely due to the
use of stacked squashfses, ensure it temporarily exists so it can be used in
the install process. This fixes installation of the Virtual Machine Manager
when selected on the Customize menu (LP: #2104243).
Summary: When opening an URL, an error may be raised and the wrong, not defined variable was logged.
Test Plan: Create an HTTPError or an URLError (socket.timeout), when opening "https://ipapi.co/json"
Reviewers: wxl, tsimonq2, kc2bez
Reviewed By: wxl, kc2bez
Differential Revision: https://phab.lubuntu.me/D42
Summary:
This resolves T107
Refactor automirror
Add donate button url and geoip to welcome
Adjust locale.conf geoip format
Set default filesystem type and no user swap choices
Add defaults to settings to eliminate warnings
Add efi mount options to fstab.conf
Set restart mode in finished.conf to new style
Set bootloader entry name to Ubuntu and slideshowAPI to 1
Test Plan:
Test Calamares installation for proper location detection.
Test Calamares installation for proper efi mount.
Test Calamares installation for proper bootloader entry.
Reviewers: tsimonq2, wxl, apt-ghetto
Reviewed By: tsimonq2, wxl
Subscribers: apt-ghetto
Maniphest Tasks: T107
Differential Revision: https://phab.lubuntu.me/D33