~mwhudson/curtin:grub-config-object

Last commit made on 2023-06-12
Get this branch:
git clone -b grub-config-object https://git.launchpad.net/~mwhudson/curtin
Only Michael Hudson-Doyle can upload to this branch. If you are Michael Hudson-Doyle please log in for upload directions.

Branch merges

Branch information

Name:
grub-config-object
Repository:
lp:~mwhudson/curtin

Recent commits

741206a... by Michael Hudson-Doyle

use a config object in uefi boot entry code

a very small start!

3b353ca... by Michael Hudson-Doyle

modernize efi boot entry handling code

"modernize" means: type annotations and passing attr.s-based types
rather than dictionaries around.

I also made some changes to reduce indentation and removed a few
defaults for arguments that were always passed and a few other things I
couldn't restrain myself from.

96ab8c1... by Michael Hudson-Doyle

tox.ini: update pylint

and fix two new reports

6412598... by Michael Hudson-Doyle

update schema for partition flag to include msftres

4d1e3f2... by Michael Hudson-Doyle

support "msftres" as a (GPT-only) partition flag

We want to mark the recovery / reset partition as a "Microsoft Reserved
Partition" as GUI disk utilities hide such partitions, so add support
for this as a value for a partition flag. I chose "msftres" because
that's what parted calls this (although it maps msftres to type code
0x27 for a DOS partition table, which I think is wrong so I'm not doing
that).

caba05c... by Michael Hudson-Doyle

storage_config: rename ptable_uuid_to_flag_entry and change return value

Every invocation of ptable_uuid_to_flag_entry (including the one in
subiquity) discards the second element of the tuple, so stop returning
it. Also rename it to ptable_part_type_to_flag (it takes more than
just UUIDs) and clean up the data structures this function works off.
This required some small tweaks in block_meta_v2.

8e74f62... by Michael Hudson-Doyle

curtin.commands.install: allow invocation without sources

Now that you can invoke the install subcommand more than once, sources
are only required for the "extract" step and the extract subcommand
produces a semi reasonable message if no sources are provided.

75ba5bd... by Michael Hudson-Doyle

extract: allow config to supply extra arguments to rsync

1019040... by Alexsander de Souza

add python3-attr as dependency

0fbdf38... by Alexsander de Souza

fix GRUB package name for SUSE