~dbungert/curtin:compat

Last commit made on 2023-05-24
Get this branch:
git clone -b compat 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:
compat
Repository:
lp:~dbungert/curtin

Recent commits

1878a82... by Dan Bungert

block: only use no-tell-kernel if sfdisk supports

9876396... by Dan Bungert

block: limit large sector codepaths

9864988... by Dan Bungert

compat: create module

As curtin is highly dependent on underlying tools, and curtin must
support different runtime environments, we should dynamically handle and
use those tools appropriately.

The immediate problem is availability, or not, of command line flags on
two util-linux utilities. Add version scanning so that the relevant
code paths can desice what to do.

412ffeb... by Dan Bungert

block: retry loop post dd image

On Bionic, I observed that the volume group present in the test image
would often not show up. This retry loop helps.

95ad824... by Dan Bungert

vmtest: older udevadm trigger has no --settle

320009f... by Dan Bungert

integration: fix tests with empty ptable

Older sfdisk seems to not like a completely empty ptable while setting
these attributes. Adding an unused partition is enough to allow
focusing on the task at hand.

d7cbc39... by Dan Bungert

integration: skip tests requiring sfdisk attribute

3a38858... by Dan Bungert

Merge remote-tracking branch 'alexsander-souza/fix_has_calls_use'

1f7e859... by Alexsander de Souza

has_calls() is not a thing, use assert_has_calls instead

has_calls() just calls a method in the mock, it's not an
assertion. Recent python versions have a safety check
that catches this error

a9d2efd... by Dan Bungert

requirements: add missing content