Re: Packaging udev rules

2016-11-18 Thread Tom Hughes
On 18/11/16 15:31, Sérgio Basto wrote: hum, so use udevadm control --reload is deprecated ? I review udev rules recently in one of my packages and systemd have 2 services: systemd-udevd.service and systemd-udev-trigger.service trigger.service have this command: ExecStart=/usr/bin/udevadm

Re: [Fedora-packaging] Re: Packaging udev rules

2016-11-18 Thread Jason L Tibbitts III
> "SB" == Sérgio Basto writes: SB> Anyway we should add some instructions in guidelines about this SB> matter, even if we don't need add nothing in %post etc   That would be great, but someone who knows all of the details would need to actually provide a draft. Or at

Re: Packaging udev rules

2016-11-18 Thread Sérgio Basto
On Sex, 2016-11-18 at 16:08 +0100, Igor Gnatenko wrote: > On Fri, Nov 18, 2016 at 2:46 PM, Igor Gnatenko > wrote: > > > > Hello @all, > > > > unfortunately I was not able to find updated information how to do > > that. > > > > %{_udevrulesdir}/foo.rules is fine in %files

Re: Packaging udev rules

2016-11-18 Thread Igor Gnatenko
On Fri, Nov 18, 2016 at 2:46 PM, Igor Gnatenko wrote: > Hello @all, > > unfortunately I was not able to find updated information how to do that. > > %{_udevrulesdir}/foo.rules is fine in %files and BuildRequires: > systemd, but there are more questions: > > * Should

Packaging udev rules

2016-11-18 Thread Igor Gnatenko
Hello @all, unfortunately I was not able to find updated information how to do that. %{_udevrulesdir}/foo.rules is fine in %files and BuildRequires: systemd, but there are more questions: * Should %udev_rules_update be put into %post? * Should %{?systemd_requires} be presented in spec? probably