Am Sat, 25 Jul 2015 12:24:02 +0200
schrieb martin f krafft madd...@debian.org:
You could also just use
find /etc/systemd/network --name \*.link --exec cp -pt
$DESTDIR/lib/systemd/network/ {} +
But that would assume, that findutils is installed. I do not known if
this is always the case.
also sprach Julian Wollrath jwollr...@web.de [2015-07-26 14:06 +0200]:
But that would assume, that findutils is installed. I do not known if
this is always the case.
It's essential, meaning we can rely on it.
--
.''`. martin f. krafft madduck@d.o @martinkrafft
: :' : proud Debian
Julian Wollrath jwollr...@web.de writes:
Am Sat, 25 Jul 2015 12:24:02 +0200
schrieb martin f krafft madd...@debian.org:
You could also just use
find /etc/systemd/network --name \*.link --exec cp -pt
$DESTDIR/lib/systemd/network/ {} +
But that would assume, that findutils is installed.
also sprach Julian Wollrath jwollr...@web.de [2015-07-23 15:02 +0200]:
+if `ls /etc/systemd/network/*.link /dev/null 21`; 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
The manpage of systemd.link says, that everything in
/etc/systemd/network/*.link takes precedence over /lib/systemd/network
and others. Hence, the content of /etc/system/network should also be
contained in the initramfs, so that this is true.
Signed-off-by: Julian Wollrath jwollr...@web.de
5 matches
Mail list logo