[Pkg-utopia-maintainers] Bug#500916: Bug#500916: Bug#500916: hal: FDI cache does not get updated when installing .fdi files from packages
Michael Biebl
biebl at debian.org
Sun Oct 5 15:57:06 UTC 2008
Martin Pitt wrote:
> Hi Michael,
>
> Michael Biebl [2008-10-03 21:48 +0200]:
>> I had a short discussion with lool on irc, and we had an alternative idea:
>> Install a dpkg trigger.
>
> Ah, indeed that sounds like a great idea, and much less blunt than
> changing the init script (sorry for the kneejerk patch, had to do
> something quick to unscrew the Ubuntu upgrade to 8.10 beta).
>
> However, so far I thought that dpkg triggers are triggered by postinst
> scripts. There are triggers for "any package installed/upgraded", too?
> I'm not very familiar with triggers, apparently you know more than me.
> :-)
Calling a trigger explicitely in postinst is only one possibility.
The one I had in mind would be a file based trigger.
This trigger would be installed by the hal package.
Whenever a package installs a file under /usr/share/hal/fdi, the trigger
would be activated. So we don't need to modify all packages shipping fdi
files.
I've committed a proposed fix as r2435 [1]
>> For the etch -> lenny upgrade, we would regenerate the fdi cache in hal
>> postinst as we can't rely on the dpkg triggers functionality yet.
>
> Right, that makes perfect sense.
Actually, as sjoerd correctly noticed, we don't even need that, as the
etch version doesn't have a cache yet ;-)
Have a nice weekend,
Michael
[1] http://svn.debian.org/wsvn/pkg-utopia/?rev=2435&sc=1
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20081005/6de5ee05/attachment.pgp
More information about the Pkg-utopia-maintainers
mailing list