Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151943 - sys-fs/clvm altered ebuild
Summary: sys-fs/clvm altered ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-19 05:31 UTC by Ramon
Modified: 2010-09-10 18:51 UTC (History)
2 users (show)

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


Attachments
Ebuild + files (clvm-2.02.09-r1.tgz,5.69 KB, application/x-compressed)
2006-10-19 05:37 UTC, Ramon
Details
patch against the startupfile (clvmd.rc.diff,785 bytes, patch)
2006-10-19 07:42 UTC, Ramon
Details | Diff
patch against the ebuild (clvm-2.02.09-r1.ebuild.diff,1.61 KB, patch)
2006-10-19 07:43 UTC, Ramon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ramon 2006-10-19 05:31:02 UTC
Hi 

I altered the clvm ebuild to do the following things:

* build statically or dynamically (useflag:static)
* remove cman support (useflag: nocman)
* remove gulm support (useflag: nogulm)
* Added selinux flag for good measure
* Added nomirror support (useflag: nomirror)
* Added nosnapshots support (useflag: nosnapshots)
* fixed the init-script so it doesn't try to load dm_mod module on a statically compiled kernel

I choose the nocman & nogulm flags because the cman & gulm flags are hardmasked in the profile. The other ones I tried to follow useflags as defined in the lvm2 ebuild. 

The lvm2 ebuild doesn't build for me if I unmask the useflags, no clue why
Although I suspect that lvm2 and clvm need to be merged at some point in the future I am submitting this ebuild anyway in the hope that it's usefull

I'm using this on amd64, can't test on x86
AFAIK it works, haven't tested every useflag combination though.

WFM: nogulm static nomirror nosnapshots

nomirror does away with the annoying lvm bug that falsely recognizes local PV's as mirror volumes.
Comment 1 Ramon 2006-10-19 05:37:44 UTC
Created attachment 100013 [details]
Ebuild + files

ChangeLog still needs to be updated
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-19 07:24:17 UTC
Please, don't attach tarballs. We want a unified diff against current ebuild. Plus, no* flags suck big time.
Comment 3 Ramon 2006-10-19 07:42:47 UTC
Created attachment 100018 [details, diff]
patch against the startupfile
Comment 4 Ramon 2006-10-19 07:43:25 UTC
Created attachment 100019 [details, diff]
patch against the ebuild

As requested by Jakub
Comment 5 Ramon 2006-10-19 07:44:00 UTC
Comment on attachment 100018 [details, diff]
patch against the startupfile

As requested by Jakub
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-10-19 07:58:19 UTC
Need to reopen the bug after providing requested info, otherwise noone will notice again.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2006-12-11 00:18:46 UTC
Robin, CC'ing you to make sure this stuff gets into the merged ebuild if needed.
Comment 8 Christian Zoffoli (RETIRED) gentoo-dev 2008-03-17 22:53:40 UTC
fixed in clvm-2.02.33, please try gfs 2.02.00 + clvm 2.02.33