Bug#793374: systemd: Does not honour /etc/systemd/network/*.link
Julian Wollrath
jwollrath at web.de
Thu Jul 23 13:41:18 BST 2015
Am Thu, 23 Jul 2015 14:38:07 +0200
schrieb Michael Biebl <biebl at debian.org>:
> Am 23.07.2015 um 14:25 schrieb Julian Wollrath:
>
> > diff --git a/debian/extra/initramfs-tools/hooks/udev
> > b/debian/extra/initramfs-tools/hooks/udev index
> > cfe5085ae079..d3d08aa48f93 100755 ---
> > a/debian/extra/initramfs-tools/hooks/udev +++
> > b/debian/extra/initramfs-tools/hooks/udev @@ -41,6 +41,10 @@ for
> > link in 01-mac-for-usb.link 99-default.link; do fi
> > done
> >
> > +if [ -d /etc/systemd/network/ ]; then
> > + cp -p /etc/systemd/network/*.link $DESTDIR/lib/systemd/network/
> > +fi
> > +
>
> I don't think there is a good reason to copy the 01-mac-for-usb.link
> 99-default.link files twice.
They will only get copied twice, if they exist in /etc/systemd/network
and /lib/systemd/network, but in most cases (mine included) they will
only exist in /lib/systemd/network.
>
> If we are going to copy all *.link files, the preceding section should
> be removed
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150723/b9058d39/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list