i have two packages installed (svgalib and lirc) which add modules to the kernel. to rebuild these if kernel change i use module-rebuild. first time i run "module-rebuild populate", so that these 2 packages are recognized. when now calling "module-rebuild rebuild" both are emerged, but lirc is removed from model-rebuild db. for svgalib this works fine (last lines): * Removing media-libs/svgalib-1.9.21 from moduledb. >>> original instance of package unmerged safely. * Updating module dependencies for 2.6.13-rc7-Gentoo-2005.1 ... [ ok ] * Updating modules.conf ... * Updating /etc/modules.conf ... [ ok ] * Updating /etc/modprobe.conf ... [ ok ] * Adding module to moduledb. * Restarting udev to reread udev rules ... [ ok ] >>> Regenerating /etc/ld.so.cache... >>> media-libs/svgalib-1.9.21 merged. for lirc only the removement is shown: * Removing app-misc/lirc-0.7.2 from moduledb. >>> original instance of package unmerged safely. * * The lirc Linux Infrared Remote Control Package has been * merged, please read the documentation, and if necessary * add what is needed to /etc/modules.autoload or * /etc/modules.d. If you need special compile options * then read the comments at the begin of this * ebuild (source) and set the LIRC_OPTS environment * variable to your needs. * * Updating module dependencies for 2.6.13-rc7-Gentoo-2005.1 ... [ ok ] >>> Regenerating /etc/ld.so.cache... >>> app-misc/lirc-0.7.2 merged. so everytime i must run a module-rebuild populate, to get both packages recognized. Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: both packages are still in module-rebuild db after calling module-rebuild rebuild
Lanius... linux-mod has a postinst which installs the package into modulesdb. Are you cable to use linux-mod_pkg_postinst please as there are a fair few things which pkg_postinst handles in linuxmod. This will also close this bug.
I created a lirc 0.7.3_pre1 ebuild which makes this change. It's available in bug #111820
Fixed in 0.8.0_pre3