[Pkg-phototools-devel] Bug#531978: Bug#531978: libgphoto2: Please modernize udev rules

Cyril Brulebois kibi at debian.org
Sat Jun 6 23:09:29 UTC 2009


Martin Pitt <martin.pitt at ubuntu.com> (05/06/2009):
> I recently did some ramblings about modernizing libgphoto2's udev
> rules to work in a Linux world without hal [1]. I added a new udev
> rule mode "136" and while I was at it, replaced the slow
> check-ptp-camera shell script with a more efficient udev db query.
> The patch got committed upstream now.

Nice,

> This doesn't break functionality with hal at all, of course.

heh. :)

I might wait until a new upstream release is issued, though, because I'd
prefer checking commits before current version and the one with your
patch, to see whether some other bits would be missing. Given my current
lack of free time, not likely to happen soon. :/

> This debdiff applies it to the Debian package and also moves udev rule
> creation from postinst to debian/rules. This is possible now, since
> from udev 136 on, rules are shipped in /lib/udev/rules.d/, thus avoid
> becoming conffiles.

Oh, hell. udev location finally chosen for real?! :p

I'm now wondering what to do with customizations that might have
happened over the time with the various conffiles that were shipped.
Trashing them might lose valuable customization. It looks like some sort
of user tweaking goes away with stuff being shipped through
/lib/udev/rules.d; or maybe stuff in /etc is still considered? I've got
an udev repository around, I'll try and find some answers there.

Thanks for your work on libgphoto2, and for your feedback.

(Damn, some day we'll get “nice” maintainer scripts and rules files?)

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20090607/2d1fd801/attachment.pgp>


More information about the Pkg-phototools-devel mailing list