Re: [PATCH spice-streaming-agent v2 1/5] Install udev rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 22, 2018 at 07:11:15AM -0400, Frediano Ziglio wrote:
> > 
> > On Mon, May 21, 2018 at 11:45:27AM +0100, Frediano Ziglio wrote:
> > > The udev rule is used to do some action when the device is added to the
> > > system. Current rule change the permission of the special file to allow to
> > > open it by any user.
> > 
> > I thought this was a temporary 'hack' until we have a better way of
> > handling this?
> > 
> 
> Yes, you can note the rule is changed in a following patch.

Realized after sending that the rest of the series would probably change
it ;)

> 
> > > Some systems use /lib/udev while others use /usr/lib/udev.
> > > Allow to specify the full path to support both type of systems.
> > 
> > Maybe $ pkg-config udev --variable udevdir
> > /usr/lib/udev
> > could be used for that?
> > 
> 
> I suppose we can use pkg-config to get the default.
> About rpm and spec file is not clear which dependency to add to
> get the pkg-config file. Maybe "pkgconfig(udev)" ?

Yes, pkgconfig(udev) should work,
$ rpm -qf /usr/share/pkgconfig/udev.pc
systemd-238-8.git0e0aa59.fc28.x86_64
$ rpm -q --provides systemd-238-8.git0e0aa59.fc28.x86_64
[snip]
pkgconfig(udev) = 238
[snip]

(slightly surprising that this is in systemd and not systemd-udev)

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]