[Bug 1871421] [NEW] oem sources not updated, when installing oem-kernel-flavour in oem-config mode
Dimitri John Ledkov
launchpad at surgut.co.uk
Tue Apr 7 15:17:13 UTC 2020
Public bug reported:
oem kernel flavour is not installed when doing oem-config install
if 'UBIQUITY_OEM_USER_CONFIG' in os.environ:
self.install_oem_extras()
else:
self.install_extras()
code in plugininstall.py means, that there are two codepaths when
installing "extras" first one is taken when installing into 2stage oem-
config mode; and the second one is used when installing regularly.
The codepath that looks for oem packages:
if self.db.get('ubiquity/install_oem') == 'true':
is only done during normal install but not during "oem-config" mode.
Arguably, oem-config mode installs can upgrade to the right oem
metapackages and kernel flavours, during prepare stage. Not sure if we
want to fix this.
** Affects: ubiquity (Ubuntu)
Importance: Undecided
Status: New
** Tags: oem-kernel-flavour
** Summary changed:
- oem kernel flavour is not installed when doing oem-config install
+ oem sources not updated, when installing oem-kernel-flavour in oem-config mode
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1871421
Title:
oem sources not updated, when installing oem-kernel-flavour in oem-
config mode
Status in ubiquity package in Ubuntu:
New
Bug description:
oem kernel flavour is not installed when doing oem-config install
if 'UBIQUITY_OEM_USER_CONFIG' in os.environ:
self.install_oem_extras()
else:
self.install_extras()
code in plugininstall.py means, that there are two codepaths when
installing "extras" first one is taken when installing into 2stage
oem-config mode; and the second one is used when installing regularly.
The codepath that looks for oem packages:
if self.db.get('ubiquity/install_oem') == 'true':
is only done during normal install but not during "oem-config" mode.
Arguably, oem-config mode installs can upgrade to the right oem
metapackages and kernel flavours, during prepare stage. Not sure if we
want to fix this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1871421/+subscriptions
More information about the foundations-bugs
mailing list