Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481152 - boot0-9.2_rc1: please add the code to install /boot/device.hints
Summary: boot0-9.2_rc1: please add the code to install /boot/device.hints
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal enhancement
Assignee: Gentoo/BSD Team
URL: http://www.freebsd.org/doc/handbook/d...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-15 11:16 UTC by Yuta SATOH
Modified: 2013-08-16 13:24 UTC (History)
0 users

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


Attachments
sample patch for boot0-9.2_rc1.ebuild (481152.patch,466 bytes, patch)
2013-08-15 11:27 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2013-08-15 11:16:40 UTC
Currently, we are copying from /usr/src/sys/amd64/conf/GENERIC.hints to /boot/device.hints manually.

I think better to install it automatically.
Comment 1 Yuta SATOH 2013-08-15 11:27:09 UTC
Created attachment 356066 [details, diff]
sample patch for boot0-9.2_rc1.ebuild

Please remove part of CONFIG_PROTECT if you think not needed.
Comment 2 Alexis Ballier gentoo-dev 2013-08-15 17:14:13 UTC
not sure if the CONFIG_PROTECT is needed; for sure I wouldn't need it :)
if someone does not change it, this will have the same end result and if someone does he will appreciate it I think so I'm inclined to keep it.
Comment 3 Yuta SATOH 2013-08-16 11:07:05 UTC
(In reply to Alexis Ballier from comment #2)
> not sure if the CONFIG_PROTECT is needed; for sure I wouldn't need it :)
> if someone does not change it, this will have the same end result and if
> someone does he will appreciate it I think so I'm inclined to keep it.

When user has special hardware, it is necessary to edit /boot/device.hints.
Change IRQ number of serial port, ACPI disabled, etc ....

GENERIC.hints is sample resource hints file.
When CONFIG_PROTECT is not set, it is always overwritten.

I think that can be updated more safely by setting CONFIG_PROTECT.

details please see FreeBSD's man page.
http://www.freebsd.org/cgi/man.cgi?query=device.hints&sektion=5
Comment 4 Alexis Ballier gentoo-dev 2013-08-16 13:24:23 UTC
applied, thanks!