~dbungert/curtin:command-apt-components

Last commit made on 2021-09-22
Get this branch:
git clone -b command-apt-components https://git.launchpad.net/~dbungert/curtin
Only Dan Bungert can upload to this branch. If you are Dan Bungert please log in for upload directions.

Branch merges

Branch information

Name:
command-apt-components
Repository:
lp:~dbungert/curtin

Recent commits

8390415... by Dan Bungert

commands/apt: suites&components light refactoring

dadfd24... by Dan Bungert

example: clarify disable_components & main

d3daecf... by Dan Bungert

commands/apt: a set intersection is a little cleaner

Not using set.difference lower, as it would change the order of
entry.comps.

4712ec9... by Dan Bungert

commands/apt: doc updates for disable_components

f7eda9d... by Dan Bungert

command/apt: disable_components

Add the ability to disable components in source.list.
Intentionally refuses to not disable the main component.

9c5acef... by Dan Bungert

commands/apt: use python-apt for sources.list

Start using python{,3}-apt for sources.list handling.
generate_sources_list now operates in a pipeline-like model, where each
stage performs one specific transformation on the list of entries.

345d17f... by Michael Hudson-Doyle

curthooks: always install shim-signed if available (when UEFI booted)

Rather than just on amd64. It's been available on arm64 since at least
20.04 (and is in bionic-updates).

fd6b2a0... by Dan Bungert

tox,control: fix jenkins CI jobs

Restore noproxy to support the CI jobs.
Adding sitepackages means that lookup of commands gets weird, but using
{envpython} -m foo solves that.
So we need two {envpythons}, one for noproxy, one for nose.
We could stuff that into the noproxy script but that would be unexpected
for a script that only adjusts the environment then execs the real
command.

Also include python3-apt in the control file.

7d84996... by Dan Bungert

tests: update to demonstrate python-apt functional

Prior to pulling in python{,3}-apt functionality, show a simple set of
tests that demonstrate that it is functional in the test environments.

The noproxy script has been removed from tox.ini because we need to
set sitepackages=True to get python-apt, but doing so means we need to
find nose with 'python -m'. Also, it's safe to remove 'noproxy'
becuase the operation it was doing was a no-op for tox anyhow (those
proxy variables are not getting passed thru unless we set them
manually in tox.ini)

With noproxy unused by tox, it had no users, so remove it entirely.

809817f... by Lukas Märdian

block:lvm: search encrypted volumes for LVM

This reverts my optimistic fix for bug 1895192 and replaces it
with Lukas' more cautious fix.

We should debug why things are failing with my fix but not with
20.04.3 imminent.

LP: #1940687