Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411843 - sys-boot/grub-2.00_beta3-r1: please make dev-libs/libisoburn and sys-boot/os-prober optional
Summary: sys-boot/grub-2.00_beta3-r1: please make dev-libs/libisoburn and sys-boot/os-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-13 11:28 UTC by Nikoli
Modified: 2012-05-10 03:07 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2012-04-13 11:28:25 UTC
Please make all new non optional deps optional if possible.
Not sure about dev-libs/lzo and >=sys-libs/ncurses-5.2-r5, but dev-libs/libisoburn and sys-boot/os-prober are optional upstream.
Comment 1 Mike Gilbert gentoo-dev 2012-04-13 15:15:22 UTC
The grub2-mkrescue command does not work without the xorriso command from dev-libs/isoburn.

If sys-boot/os-prober is missing, /etc/grub.d/30_os-prober will be silently skipped.

I suppose that both packages are technically optional, but you do lose functionality without them.

Would you be happy if I added a couple of use flags? One would control installation of the grub2-mkrescue command, and the other the 30_os-prober file.
Comment 2 Nikoli 2012-04-13 15:45:06 UTC
> Would you be happy if I added a couple of use flags? One would control
> installation of the grub2-mkrescue command, and the other the 30_os-prober
> file.

Sure :)
Comment 3 Paweł Rumian 2012-04-13 15:58:54 UTC
(In reply to comment #1)

> Would you be happy if I added a couple of use flags? One would control
> installation of the grub2-mkrescue command, and the other the 30_os-prober
> file.

I will also wholeheartedly vote for this, as I completely do not need neither a rescue CD nor OS prober on my Linux box :)
Comment 4 Mike Gilbert gentoo-dev 2012-05-09 23:19:44 UTC
Replaced with elog messages in grub-2.00_beta5.
Comment 5 Nikoli 2012-05-10 02:18:30 UTC
Thanks, but why with elog instead of USE flags?
Comment 6 Mike Gilbert gentoo-dev 2012-05-10 03:07:56 UTC
I don't like having use flags for optional runtime only deps. The only purpose is to inform the user of the extra functionality; elog works for that but does not cause rebuilds with emerge --newuse.