Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48243 - sys-boot/lilo-22.5.8-r2 has unneeded dep of device-mapper-1.00.08 - ~arch
Summary: sys-boot/lilo-22.5.8-r2 has unneeded dep of device-mapper-1.00.08 - ~arch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Thomas Raschbacher
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-18 11:00 UTC by solar (RETIRED)
Modified: 2004-05-10 10:02 UTC (History)
2 users (show)

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


Attachments
An ebuild file for lilo-22.5.8 (lilo-22.5.8-r3.ebuild,4.59 KB, text/plain)
2004-05-05 09:04 UTC, Andrej Kacian (RETIRED)
Details
A patch for -r3 ebuild (lilo-22.5.8-r3.ebuild.patch,1.32 KB, patch)
2004-05-05 09:05 UTC, Andrej Kacian (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description solar (RETIRED) gentoo-dev 2004-04-18 11:00:14 UTC
Hey it appears your recent changes to ~x86 lilo have messed up my system
deps (thus breaking my 'world' ;/) and is trying to force me to patch the
kernel for support I could care less about. I use vanilla/grsec-2.4.x
and I'm not keen on having to patch my kernel sources just because
device-mapper exists.

Now from reading the ebuild it looks like you could tie this support 
into an existing USE flag vs forcing it on *

portage/profiles/use.local.desc:sys-kernel/gentoo-sources:evms2 - adds EVMS 2.0 support drop EVMS 1.2.1

# devmapper-patch (boot on evms/lvm2)        

Maybe you could change it to something like.

IUSE=evms2
....

DEPEND=">=sys-apps/sed-4
        dev-lang/nasm
        >=sys-devel/bin86-0.15.5
        evms2? ( >=sys-libs/device-mapper-1.00.08 )"

....
src_unpack() {
...
   cd ${S};
   use evms2 && epatch ${FILESDIR}/${P}-devmapper_gentoo.patch


I've tested and it appears to work just fine and should meet the needs
of everybody..
Comment 1 solar (RETIRED) gentoo-dev 2004-04-18 11:03:26 UTC
Note: 
I don't know if you would want evms or evms2. I just called it evms2 so I could continue building world.
Comment 2 Thomas Raschbacher gentoo-dev 2004-04-21 06:49:40 UTC
well .. it's needed for lvm too and ppl who use lvm won't neccesarily have evms(2) in their USE ..

new USE-flag for device-mapper maybe? does that make sense?

regards
Comment 3 solar (RETIRED) gentoo-dev 2004-04-30 10:51:50 UTC
Sure anything makes sense and long as device-mapper is not forced on us.
Might want to shorten it's name up (your call).. USE=devmap maybe
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2004-05-01 05:41:53 UTC
I second this. lilo is haunting my `emerge -Upv world` for several weeks now and I am *NOT* going to patch my vanilla 2.4 kernel just for that.
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2004-05-05 09:04:39 UTC
Created attachment 30780 [details]
An ebuild file for lilo-22.5.8

This ebuild makes the use of device-mapper optional ("devmap" USE flag, devs:
change the flag name as you see fit).

Message informing about this is also displayed before emerge begins (from
src_unpack() ).
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2004-05-05 09:05:18 UTC
Created attachment 30781 [details, diff]
A patch for -r3 ebuild

diffed against -r2
Comment 7 Thomas Raschbacher gentoo-dev 2004-05-09 13:58:40 UTC
added as -r3 
Comment 8 Christophe Saout 2004-05-10 09:46:48 UTC
The -r3 ebuild is broken, you need to write

 devmap? ( >=sys-libs/device-mapper-1.00.08 )"

instead of

 devmap? (>=sys-libs/device-mapper-1.00.08)"

(with additional whitespace)
Comment 9 Christophe Saout 2004-05-10 10:02:59 UTC
And, by the way:

Building lilo against libdevmapper does not require the kernel to have device-mapper.

(PS: I want to be able to reopen bugs... *sigh*)