Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416035 - sys-boot/grub-2.00_beta5 does not write proper info directory
Summary: sys-boot/grub-2.00_beta5 does not write proper info directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-15 07:04 UTC by Martin Väth
Modified: 2012-06-02 16:08 UTC (History)
0 users

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


Attachments
Simple patch of the ebuild (grub-2.00_beta5.ebuild.patch.0,298 bytes, patch)
2012-05-15 07:04 UTC, Martin Väth
Details | Diff
More intrusive but cleaner patch (grub-2.00_beta5.ebuild.patch,851 bytes, patch)
2012-05-15 07:05 UTC, Martin Väth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2012-05-15 07:04:51 UTC
Created attachment 311809 [details, diff]
Simple patch of the ebuild

When installing grub-2.00_beta5 and calling info or pinfo
(without any arguments!)  or emacs' info, a GRUB entry
(as well as some grub2-related tools) are listed
in the main DIR, but (except for grub-devel) none of these entries
can be selected, as they point to the wrong file grub.info
(instead of grub2.info), see the remark in bug 415713)

Also, after "info grub2.info" (or similar with pinfo or emacs) is called,
it is claimed that the file "grub.info" is displayed
(which might confuse some other info-tools or user scripts).

To fix the first issue, it suffices to replace "(grub)" by "(grub2)"
in docs/grub.texinfo (I suggest to rename the dir entry into "GRUB2"
to avoid confusion if legacy grub should be installed in parallel.)

The fix of the second issue is harder, since changing the true filename
needs fixing of the makefile. IMHO the cleanest fix is to patch the
Makefile.am (or also Makefile.in without autoreconf) correspondingly.

I attach patches for both variants (the less intrusive "simple" patch
and the more intrusive "cleaner" patch)
Comment 1 Martin Väth 2012-05-15 07:05:59 UTC
Created attachment 311811 [details, diff]
More intrusive but cleaner patch
Comment 2 Mike Gilbert gentoo-dev 2012-06-02 16:08:25 UTC
I used the simple fix. Thanks very much for the help!