curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #02059
[Merge] ~ogayot/curtin:FR-1975 into curtin:master
The proposal to merge ~ogayot/curtin:FR-1975 into curtin:master has been updated.
Commit message changed to:
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 <olivier.gayot@xxxxxxxxxxxxx>
For more details, see:
https://code.launchpad.net/~ogayot/curtin/+git/curtin/+merge/414408
--
Your team curtin developers is requested to review the proposed merge of ~ogayot/curtin:FR-1975 into curtin:master.
References