Bug#690538: grub-common: Please make submenu creation optional or at least allow users to disable it easily

eric fischer spambemyguest at googlemail.com
Sat Aug 31 15:40:23 UTC 2013


Hey folks,

whats wrong? This BUG exists for nearly 11 months now, the fix isn't
brain crunching at all and done with 6 lines of shell scripting.

Might any of the maintainers take over that task before the bug sees
it's first birthday maybe?

This "feature" is really annoying, especially having the grub GFXTERM
at a high resolution where it takes 5 seconds to draw the menu itself.

Also how can you call submenus a feature if
	a)	the change was introduced silently (yeah i know the changelog
		talks about it)…
	b)	there is no way to control the behaviour, since a feature
		should be something the user might or might not use?

The upstream BUG lists 101 votes and i guess there are more people fed
up with this submenu brainfuck and it should be worth to spent some
minutes getting rid of it instead of waiting for someone else to fix
it which did not happen in an appropriate time span!

So lets see… we got all the things needed already…

mkdir build && cd build
apt-get source grub2 # takes a second
cp -da grub2-2.00{,-orig}
$EDITOR grub2-2.00/debian/default/grub
$EDITOR grub2-2.00/util/grub.d/10_linux.in
$EDITOR grub2-2.00/util/grub-mkconfig.in
# wow fixed up 6 lines of code and a line of comment!
diff -rup grub2-2.00-orig grub2-2.00 \
    > grub2_disable_submenu.patch
cd grub2-2.00
apt-get build-dep grub2 # leaves time for brewing coffee
dch # oh we need to type numbers & letters here
dpkg-source --commit # uh typing + copy & paste needed again
dpkg-buildpackage # fetch the coffe and enjoy
cd ..
dpkg -i grub2_2.00-18+1_amd64.deb \
	grub2-common_2.00-18+1_amd64.deb \
	grub-pc_2.00-18+1_amd64.deb \
	grub-pc-bin_2.00-18+1_amd64.deb \
	grub-common_2.00-18+1_amd64.deb

That ain't been to hard and i really, really enjoyed my cup of coffe!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub2_disable_submenu.patch
Type: text/x-diff
Size: 2901 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20130831/8f309e5d/attachment.patch>


More information about the Pkg-grub-devel mailing list