Problem/Motivation
Install profiles are both modules and a container of modules. We add them to core:extension:module with a weight of 1000 in the installer. And we also set the value core.extension:profile. Maintaining this is two places has always been problematic - even before Drupal 8 the configuration system. See #1170362: Install profile is disabled for lots of different reasons and core doesn't allow for that - but in Drupal 8 it has also caused big problems - see #3031740: Updating to 8.6.8 or 8.6.9 with Drush 8 causes data loss via update_fix_compatibility()
Proposed resolution
Remove the install profile from core:extension:module - add it to the various module lists (kernel / module handler) by reading the core.extension:profile value.
Comments
Comment #2
alexpottCan we do this in Drupal 8 or is this a Drupal 8 to 9 activity?
Comment #4
alisonI don't know if it can be done in Drupal 8, buuuuuut I'm in favor of it! :)
(Would it / could it solve this other issue, too...? #2693675: fix system_get_info(), do not discard info about the current installation profile )
Comment #6
tormiFix desc. syntax.
Comment #14
nicxvan commented