Re: Cleaning up old scriptlets

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

 



On mardi 12 juin 2018 19:23:00 CEST Jason L Tibbitts III wrote:

> ST> 3) Is 'udevadm control --reload-rules' still needed after installing
> ST> a udev rules file?
> 
> Not sure at all; the packaging guidelines have never listed any
> requirement for calling udevadm.
> 

This shouldn't be necessary as there is a transfiletrigger in Systemd to 
handle new rules:

%transfiletriggerin udev -- /usr/lib/udev/rules.d
# This script will automatically update udev with new rules if files
# have been installed or updated in /usr/lib/udev/rules.d.
if test -d /run/systemd/system; then
  %{_bindir}/udevadm control --reload
fi

https://src.fedoraproject.org/rpms/systemd/blob/master/f/triggers.systemd#_90

_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx/message/IBBUEBPYFYRQRLE2VGJQVE4RH5PHWEYY/




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux