Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103669 - lirc and module-rebuild confusion
Summary: lirc and module-rebuild confusion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 111820
Blocks:
  Show dependency tree
 
Reported: 2005-08-25 01:05 UTC by Michael Cramer
Modified: 2006-02-05 08:47 UTC (History)
1 user (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 Michael Cramer 2005-08-25 01:05:11 UTC
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
Comment 1 John Mylchreest (RETIRED) gentoo-dev 2005-09-18 10:41:25 UTC
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.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2005-11-17 23:26:59 UTC
I created a lirc 0.7.3_pre1 ebuild which makes this change. It's available in
bug #111820
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-02-05 08:47:45 UTC
Fixed in 0.8.0_pre3