Comment 11 for bug 1171099

Revision history for this message
Harald Sitter (apachelogger) wrote :

Analysis of the problem:

<apachelogger> slangasek, ScottK: I think kubuntu-settings-desktop (providing etc/default/grub.d/05_kubuntu.cfg) needs to pre-depend grub-pc ... grub-pc.postinst looks for etc/default/grub OR etc/default/grub.d/* and if found it will try to read the grub_default_cmdline from there, however since 05_kubuntu does not define the cmdline it ends up empty (as seen on the kubuntu iso's default/grub)
<apachelogger> grub-installer then runs update-grub on /target and only afterwards injects "quiet splash" as default without re-running update-grub, hence why after grub-installer ran the config appears in order on the target system but the grub.cfg does not

And ramblings on the proposed solution for saucy, pending discussion:
<apachelogger> kubuntu-settings-desktop needs to pre-depend grub
<apachelogger> but since active probably uses -desktop that sounds le fishy
<apachelogger> so perhaps we need kubuntu-settings-grub
<apachelogger> so kubuntu-settings-desktop suggests kubuntu-settings-grub pre-depends grub-pc
<apachelogger> desktop seed recommends kubuntu-settings-grub
<apachelogger> also that way a user may use something other than grub