Bug#793374: [PATCH] Copy *.link files from /etc/systemd/network to initramfs

martin f krafft madduck at debian.org
Sat Jul 25 11:24:02 BST 2015


also sprach Julian Wollrath <jwollrath at web.de> [2015-07-23 15:02 +0200]:
> +if `ls /etc/systemd/network/*.link > /dev/null 2>&1`; then
> +  cp -p /etc/systemd/network/*.link $DESTDIR/lib/systemd/network/
> +fi
> +

<nitpick>
The ` quotes around the ls call are not needed.
</nitpick>

You could also just use

  find /etc/systemd/network --name \*.link --exec cp -pt $DESTDIR/lib/systemd/network/ {} +

-- 
 .''`.   martin f. krafft <madduck at d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1107 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150725/83d9dd7e/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list