Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113031 - module-rebuild populate doesnt handle app-emulation/vmware-workstation
Summary: module-rebuild populate doesnt handle app-emulation/vmware-workstation
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
Depends on:
Reported: 2005-11-19 13:31 UTC by Federico Galassi
Modified: 2006-09-10 06:52 UTC (History)
0 users

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

Dirty Hack Ebuild for vmware kernel mods (vmware-workstation-kmods-,1.47 KB, text/plain)
2006-02-07 21:56 UTC, Meethune Bhowmick

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Galassi 2005-11-19 13:31:19 UTC
As of version, vmware does not use linux-mod.
In fact, after recompiling the kernel, a full re-emerge of the package is not
needed. Kernel modules are rebuilt with tool which
can be call by ebuild <vmware ebuild> config.
module-rebuild should handle this by properly calling vmware's ebuild config
or by einfo-ing user has to run it on his own.
Comment 1 Federico Galassi 2005-11-23 19:11:39 UTC
I understand vmware needs to be ported to linux-mod and that's not enough yet,
the ebuild should be able to tell what it needs to done to rebuild its modules,
namely ebuild `equery which =app-emulation/vmware-<installed-version>` config.
what about extending module-rebuild database syntax from
package --> emerge package
package --> emerge package
package ebuild command --> ebuild <package's ebuild file> command
package warning text --> print text as warning by module

That should cover all possibilities.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-11-30 05:16:10 UTC
What needs to happen is the ebuild needs to handle the modules.  The problem is
that does more than just compile modules, so I would have to
duplicate the script into an ebuild, then remove the script from the vmware
installation, to keep users from running it (and breaking the module-rebuild
Comment 3 Meethune Bhowmick 2006-02-07 21:56:49 UTC
Created attachment 79192 [details]
Dirty Hack Ebuild for vmware kernel mods

This is a dirty little ebuild I threw together. I basically lifted what was in the and implemented it in the ebuild. I add this ebuild to modules-rebuild. The only issue I have, is that I need to run a "module-rebuild populate" everytime before I build a new kernel and run module-rebuild. This probably isn't the proper way to do this but it works for me :) .
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-02-08 06:22:54 UTC
There's definitely another way of doing it, as other ebuilds for modules automatically register.  At any rate, what I said before was *not* that it would be difficult to make the modules ebuild, but that I would need to duplicate the *other* functionality of into the vmware-workstation ebuild.  A module ebuild is the easy part.  I already have one.  In fact, mine is for not only vmware-workstation, but also vmware-player, so that's not an issue, either.
Comment 5 John Mylchreest (RETIRED) gentoo-dev 2006-03-03 13:20:52 UTC
This is one of those things which really depends on vmware sorting itself out and splitting out the kernel modules and the rest of the gubbins.
bug #122500 is looking towards that, and once it is in portage it will automagically work. Resolving as CANTFIX for the time being.
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-04 10:33:52 UTC
This never really should have been closed.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-04 10:34:14 UTC
Instead, it should have been reassigned.  ;]
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-10 06:52:20 UTC
vertigo ~ # module-rebuild list | grep vmware

This has been fixed with the introduction of the vmware-modules ebuilds to handle the modules.