[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 297209] Grub2 integration does not work if grub2 uses submenus (as kubuntu does)
From:       Konstantinos Smanis <konstantinos.smanis () gmail ! com>
Date:       2012-08-07 23:12:16
Message-ID: bug-297209-17878-LwP2Yo1roT () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=297209

Konstantinos Smanis <konstantinos.smanis@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|http://commits.kde.org/kde- |http://commits.kde.org/kde-
                   |workspace/0af24b2dcd32fd74f |workspace/c578e8804ee6505ea
                   |1a7490088a37b1ef3387f6f     |282fb046972bf88213157e4

--- Comment #16 from Konstantinos Smanis <konstantinos.smanis@gmail.com> ---
Git commit c578e8804ee6505ea282fb046972bf88213157e4 by Konstantinos Smanis.
Committed on 08/08/2012 at 01:06.
Pushed by ksmanis into branch 'master'.

Add support for GRUB2 submenus.

Properly parse the 'submenu' directive in GRUB's configuration file
and provide the user with an appropriate menu interface when choosing
which entry to reboot into.

Limitations: Internally we make use of the " >> " separator (hardcoded
in both kdm and ksmserver). An occurence of the separator in a menu
title (be it menuentry or submenu) will baffle our parser. Moreover,
we only support multi-line statements: one-liners, although supported
by GRUB, will fail to be parsed. Lastly, only up to 5 nesting levels
are supported. The above limits are more than enough for all but a
handful of cases.

(forward ported from commit b8e506743429fa28694b3565a231e48e52cfa6ef)
FIXED-IN: 4.9.1
REVIEW: 105563

M  +93   -44   kdm/backend/bootman.c
M  +0    -16   kdm/backend/ctrl.c
M  +4    -0    kdm/backend/dm.h
M  +40   -1    kdm/backend/util.c

http://commits.kde.org/kde-workspace/c578e8804ee6505ea282fb046972bf88213157e4

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic