This ebuild provides access to SVN version of Grub2 Reproducible: Always Expected Results: This should satisfy the Ext4 FS depend of Grub2 for booting an ext4 /boot partition. I have yet to test this. But from what I hear, others are using Grub2 SVN in conjunction with Ext4 FS successfully. This might also be a better solution compared to a patched outdated grub-1.96 (02/03/08). I've also emailed the Grub mailing list in hopes for an updated snapshot being published. (I'm sure there's going to be a lot of demand for Grub2 as Ext4 is now in kernel-2.6.28.)
Created attachment 176558 [details] Grub2 SVN ebuild Builds Grub2 from svn
FYI: Grub2 seems to have a new config file (& layout??). As such, need to reconfigure before rebooting or you'll get a nice command grub prompt! ;-)
Created attachment 176660 [details] grub-9999.ebuild Defines KEYWORDS
Created attachment 176696 [details] grub-9999.ebuild Adds elog info.
I still can't get grub2 to boot here on x86.
svn ebuilds should not have any KEYWORDS in them. Assigning to maintainers.
However, I want to be able to add to package.unmask/package.keywords to easily build here rather then calling the ebuild directly. On the flip, maybe the reason I'm having trouble unmasking without KEYWORDS, is because I'm using portage-2.2*.
Comment on attachment 176696 [details] grub-9999.ebuild the RESTRICT=strip is wrong, see Bug 231935 the ebuild should be unified with the existing grub-1.x ebuild ... key off of PV KEYWORDS being set is wrong like Jeremy said ESVN_REPO_URI should be above the inherit drop the reference to this bug ... new issues means new bugs
Created attachment 176731 [details] grub-9999.ebuild 1) "key off of PV" means use the KEYWORDS specified in grub-1.96.ebuild? Or I'll remove them as it's SVN if you wish. 2) In other ebuilds, ESVN_REPO_URI is below SRC_URI as well. It seems easier read. But I moved it anyways to above inherit as you stated. (RESTRICT fixed with your suggestion && dropped reference to this bug.)
Created attachment 176733 [details] grub-9999.ebuild Fixed syntax error.
look at this ebuild to see what i mean about PV: /usr/portage/x11-terms/eterm/eterm-9999.ebuild otherwise, drop the empty elog lines and i think the ebuild should be OK ...
Ah! Unify grub-1.96 & grub-9999 and use if/then/else with $PV. And doing so, will provide the ability to simply copy svn ebuilds (ie. grub-9999.ebuild) over to regular version ebuilds without having to mess with also defining package soure urls, etc. I think & work at it today... hopefully get a finalized one up tonight. Thanks for the tips Spanky. Cheers!
FIXED means the ebuild has been committed to the tree ;)
Created attachment 176809 [details] grub-9999.ebuild - Adds if/then for svn $PV - Removes KEYWORDS definitions - Removes empty elog statements (Ah. See why no keywords for svn now. Prevents those with ACCEPT_KEYWORDS="~x86" from building SVN unless explicitly declared as "sys-boot/grub **" within package.keywords.)
Created attachment 176810 [details] grub-9999.ebuild - Trivial fix (removed redundant definition)
I'll have grub-9999 & a grub-1.96-r1 unified & submitted shortly.
i dont see any problem with that, so ive committed. thanks for your work!
Created attachment 176812 [details] grub-9999.ebuild - Unifies with grub-1.96-r1 SVN ebuild Please note, although both grub-1.96-r1 & grub-9999 seems to compile and install here, I still do not have an actively working grub2 install (probably due to the lack of configuration documents, or it lacks ext3 support?). Anyways, I've posted a few inquiries to the grub2 mailing list/bugzilla and hopefully I'll be able to add a few more hints to elog so users aren't so blindly stumbling into configuring grub2 as I am! Again, these changes are trivial, the only execution related problems might be in the additional "*.mod leave unstripped" fix. Thanks Spanky for your time! ... hopefully, onward to ext4/grub2 soon.
we arent adding KEYWORDS to grub2 yet, so that part isnt needed ... grub2 will stay unkeyworded until it supports all the filesystems that grub1 supports
Created attachment 176828 [details] grub-9999.ebuild - Removed KEYWORD definition from other then 9999 versions.