On Tuesday 19 December 2006 18:23, Joey Hess wrote: > Felipe Sateler wrote: > > AFAICS it touches the following files under > > /lib/modules/<version>/ > > > > modules.dep > > modules.pcimap > > modules.usbmap > > modules.ccwmap > > modules.ieee1394map > > modules.isapnpmap > > modules.inputmap > > modules.ofmap > > modules.seriomap > > modules.alias > > modules.symbols > > > > However, I can't be sure this are all the files it touches. Maybe under > > certain conditions it will touch other files as well. > > I've not seen it touch any others..
Good > > Also, this needs to be done as portable as possible. Are there any > > distributions that don't use this directory structure? > > I don't know of any, it's possible there are. I think my original idea > was that, since checkinstall is watching depmod run, it could just make > a note that it's depmod and ignore any changes it made. I don't know how > feasable it is to detect that a given process using installwatch.so is > depmod though. I think that patching installwatch is overkill. Plus, installwatch is independent of checkinstall. The way I think of doing it, is to detect afterwards that depmod was ran, and then force the exclusion of those files in the package and add the depmod call in the postinst. -- Felipe Sateler
pgphPaOuVAMRR.pgp
Description: PGP signature

