~ogayot/curtin:FR-1975

Last commit made on 2022-01-20
Get this branch:
git clone -b FR-1975 https://git.launchpad.net/~ogayot/curtin
Only Olivier Gayot can upload to this branch. If you are Olivier Gayot please log in for upload directions.

Branch merges

Branch information

Name:
FR-1975
Repository:
lp:~ogayot/curtin

Recent commits

64bbf6d... by Olivier Gayot

Make sure curthooks do not discard APT preferences

Although APT preferences applied properly when running curtin
apt-config, we observed during a full installation using Subiquity that
the preferences would not be honored when installing packages from the
"packages" autoinstall section.

This happened because the installation of packages occur after running
curthooks. Curtooks call handle_apt with an almost empty configuration.
Therefore, we would overwrite the preferences by removing the
etc/apt/preferences.d/90curtin.pref file.

It is to be noted that the same behavior occurs for the APT proxy.

Fixed by not removing etc/apt/preferences.d/90curtin.pref when the
configuration does not contain APT preferences.

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

36c0035... by Olivier Gayot

Remove leftover debug print statement

efc8398... by Olivier Gayot

Fix format of examples/apt-source.yaml

5be09bf... by Olivier Gayot

Implement support for APT preferences in apt-config

048db82... by Dan Bungert

build-deb: changelog gen with dch

* primary reason for this is to generate the changelog with a real
  DEBNAME/DEBEMAIL
* remove template debian/changelog.trunk
* assume debian version 0ubuntu1
* let dch manage the changelog file

7ca17ac... by Dan Bungert

vmtests uefi: relax the uefi check

The addition of extra members of the efi dir is not a failure.
Relax this check to just a basic check that the efi dir is there.

9ea6be1... by Dan Bungert

block: output partition device path

reconstructing this later is non-trivial for some devices

bc849fe... by Michael Hudson-Doyle

support version 2 curtin storage configs

effectively identical to version 1 for now

0ec2e36... by Dan Bungert

system-upgrade: lookup os family

`curtin system-upgrade` needs an osfamily lookup, as the command itself
neither takes an argument of the osfamily nor attempts to provide it.

6e74305... by Michael Hudson-Doyle

add preserve: true support to the image action