~dbungert/curtin:lp-1892494-apt-key-v2

Last commit made on 2022-11-04
Get this branch:
git clone -b lp-1892494-apt-key-v2 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:
lp-1892494-apt-key-v2
Repository:
lp:~dbungert/curtin

Recent commits

ea70cce... by Dan Bungert

apt: clarify lineage of key file name

4bf8a60... by Dan Bungert

commands/apt: fix placement of key file dest

da75021... by Dan Bungert

commands/apt: stop using apt-key

re-apply e099e32 and update for the modified test codebase.
Drops using apt-key in favor of plaing the file direct on disk.

94591a3... by Dan Bungert

tests/apt: use tmpdir as target

This refactor helps make way for discontinuing usage of apt-key.
When trying to do it all at once, there were problems with the file path
that needed to be used for the key file.

The major change is that these tests are run with a tmpdir as the
target, instead of '/'. This is also independently a nice improvement,
since misbehaved tests or code would really try to write to the host
system.

The tests were written assuming apt key files would have full paths, but
the examples (and presumably most real-world usage) were based on
filenames, so move the tests to use file names.

Add back a full path test, since that is supported behavior today.

Also removes the unused _myjoin function.

1fc717d... by Dan Bungert

kernel: use FK_FORCE to ensure flash-kernel runs

5b89082... by Igor Gnip

Allow Rocky 9 in legacy boot mode.

9a28853... by Dan Bungert

block/v2: fix wipe check for extended

As the comment in _wipe_for_action notes, we never want to wipe the
extended, so do that check first.

050d965... by Dan Bungert

doc: clarify size units

f679ee1... by Dan Bungert

many: fix several instances of whitespace lint

`tox -e tip-pycodestyle` reported several instances of:
  E275 missing whitespace after keyword

5ce4809... by Dan Bungert

vmtests: +python3-attr