Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357337 - sys-boot/grub-1.99_rc1 ebuild improvements
Summary: sys-boot/grub-1.99_rc1 ebuild improvements
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 364547 368573 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-04 11:05 UTC by Jon Severinsson
Modified: 2011-05-28 15:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated grub 1.99~rc1 ebuild (grub-1.99_rc1.ebuild,3.24 KB, text/plain)
2011-03-04 11:07 UTC, Jon Severinsson
Details
Difference from current ebuild (grub-1.99_rc1.ebuild.diff,1.38 KB, patch)
2011-03-04 11:07 UTC, Jon Severinsson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Severinsson 2011-03-04 11:05:40 UTC
The current grub 1.99~rc1 ebuild has a few minor problems, which I have fixed in my local overlay and thought I should share with the wider world.

1. Portage uses DESCRIPTION from the latest version for all versions of the ebuild, so it should not include version information.
2. The current ebuild has an automagic dependency on device-mapper, replace it with a USE-flag and proper (R)DEPEND.
3. Autogen is only needed for -9999 version, so remove it from DEPEND otherwise.
4. USE=debug of current ebuild enables non-excising configure flags and has an automagic dependency on libsdl.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jon Severinsson 2011-03-04 11:07:09 UTC
Created attachment 264681 [details]
updated grub 1.99~rc1 ebuild

Should work as grub-9999.ebuild as well with a simple version bump (not tested).
Comment 2 Jon Severinsson 2011-03-04 11:07:33 UTC
Created attachment 264683 [details, diff]
Difference from current ebuild
Comment 3 SpanKY gentoo-dev 2011-03-04 21:14:54 UTC
the sdl dep should be split out behind USE=sdl.  we dont want the non-sdl and the sdl debug features lumped together.

the rest looks mostly fine.
Comment 4 Real Name 2011-03-17 12:09:36 UTC
Hello,

im on no-multilib x86_64 - i've been using grub-static so far with 32bit emu enabled in kernel. 
Now i removed the emulation option from kernel (intentionally) and grub-static (obviously) stopped working.

Then i wanted to install grub 2 but it failed with the mask-info with amd64 no-multilib warning.

I just edited the ebuild adding the amd64 Keyword, emerged grub-1.99-rc1 and all worked like a charm (grub-install /  grub-mkconfig etc.) Booting windows / linux works also fine...

So why is it masked anyway?!

Thx
Comment 5 Agostino Sarubbo gentoo-dev 2011-03-17 12:13:54 UTC
do not add arch team by yourself.

Open separate bug for other
Comment 6 SpanKY gentoo-dev 2011-03-17 19:43:41 UTC
(In reply to comment #4)

none of this is relevant to this bug.  please post your questions to the forums or user mailing lists.
Comment 7 SpanKY gentoo-dev 2011-04-03 18:18:13 UTC
ive merged a variant of the proposed patch

http://sources.gentoo.org/sys-boot/grub/grub-9999.ebuild?r1=1.31&r2=1.32
Comment 8 SpanKY gentoo-dev 2011-04-25 20:32:52 UTC
*** Bug 364547 has been marked as a duplicate of this bug. ***
Comment 9 SpanKY gentoo-dev 2011-05-28 15:18:54 UTC
*** Bug 368573 has been marked as a duplicate of this bug. ***