~nexusprism/curtin:master

Last commit made on 2023-04-01
Get this branch:
git clone -b master https://git.launchpad.net/~nexusprism/curtin
Only Alexander Koskovich can upload to this branch. If you are Alexander Koskovich please log in for upload directions.

Branch merges

Branch information

Name:
master
Repository:
lp:~nexusprism/curtin

Recent commits

ac3d4fb... by Alexander Koskovich

curtin: Enable the extended node bitmap for F2FS

 * Was running out of inodes, disk reported no additional
   space after only using about 20%.

Signed-off-by: Alexander Koskovich <email address hidden>

270e9a7... by Alexander Koskovich

curtin: Add support for F2FS

Signed-off-by: Alexander Koskovich <email address hidden>

650a5af... by Olivier Gayot

storage: filter out ventoy image when building storage config

When ventoy is used, the filesystem mounted to /cdrom is not a /dev/sr0
device (major number 11) but a dm device named "ventoy". Add a check to
exclude it as well as real cdrom devices.

Signed-off-by: Olivier Gayot <email address hidden>

b1f4da3... by Olivier Gayot

system-install: use --assume-downloaded instead of --no-download

Running $ apt-get install --no-download
fails if the packages were previously "downloaded" using the cdrom
rather than an online repository.

This means we can't reliably pass the option on the second apt-get
install invocation.
Passing the --no-download option to $ curtin system-install while not
passing it to apt-get feels wrong. Therefore, I've renamed the
system-install option from --no-download to --assume-downloaded.

For package managers that support the --no-download option properly,
they can use it on the second invocation. For apt, we will not pass the
option.

Signed-off-by: Olivier Gayot <email address hidden>

753aa67... by Olivier Gayot

system_install: support retry-download and no-download

Signed-off-by: Olivier Gayot <email address hidden>

02c8082... by Olivier Gayot

commands: support mutually exclusive arguments

Signed-off-by: Olivier Gayot <email address hidden>

bef5f91... by Olivier Gayot

system_install: add option to control apt download retries

Signed-off-by: Olivier Gayot <email address hidden>

fe94a1a... by Olivier Gayot

apt: download package and install in two separate steps

Signed-off-by: Olivier Gayot <email address hidden>

cc6ed0e... by Olivier Gayot

distro: add test for run_apt_command

Signed-off-by: Olivier Gayot <email address hidden>

cc23249... by Olivier Gayot

apt-config: stop returning cfg object in translate_old_apt_features

The translate_old_apt_features function mutates its parameter, but also
used to return the translated object. This goes against the rules of
idiomatic Python. Returning a new configuration object without mutating
the original one would require leaning on copy.deepcopy, which is
expensive and not always needed.

Let's stop returning the resulting configuration so the interface is
clear.

Signed-off-by: Olivier Gayot <email address hidden>