olivier sallou <olivier.sal...@gmail.com> writes: > hi, > I need for a package to override some udev standard rules. > > If I put an identical rule name in /etc/udev/rules.d, I know it overrides > the one in /lib/udev/rules.d > > > However, lintian raises an error if I put an udev rule in /etc instead of > /lib. > And if I try to put the file in /lib, it fails at install because the file > is owned by udev package. > > This particular package is for use in virtual machines creation where > package removes default network persistence. > > Is there an other way to override udev rules in package or should I simply > override the lintian error message?
I think you should divert (see man dpkg-divert) the original file in /lib and install a new file in it's place. This way the /etc override mechanism is still usable by the admin if needed. -- Arto Jantunen -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87mwoc3fgd....@kirika.int.wmdata.fi