summaryrefslogtreecommitdiffstats
path: root/debian/extra/initramfs-tools/hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-16 18:19:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-16 18:19:04 +0000
commit0b7337679aa4f2ccaab8302f6ce6dc2b92ab963b (patch)
treec902b7ce8a69af685b12d2fe4ea0d4400b91b39e /debian/extra/initramfs-tools/hooks
parentMerging upstream version 256.2. (diff)
downloadsystemd-0b7337679aa4f2ccaab8302f6ce6dc2b92ab963b.tar.xz
systemd-0b7337679aa4f2ccaab8302f6ce6dc2b92ab963b.zip
Merging debian version 256.2-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/extra/initramfs-tools/hooks')
-rwxr-xr-xdebian/extra/initramfs-tools/hooks/udev4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/extra/initramfs-tools/hooks/udev b/debian/extra/initramfs-tools/hooks/udev
index 2ad482a..5a860e1 100755
--- a/debian/extra/initramfs-tools/hooks/udev
+++ b/debian/extra/initramfs-tools/hooks/udev
@@ -28,9 +28,9 @@ cp -p /etc/udev/udev.conf "$DESTDIR/etc/udev/"
# copy .link files containing interface naming definitions
mkdir -p "$DESTDIR/usr/lib/systemd/network/"
-find -L /usr/lib/systemd/network -name '*.link' -execdir cp -pt "$DESTDIR/usr/lib/systemd/network/" '{}' +
+find -L /usr/lib/systemd/network -name '*.link*' -execdir cp -r -pt "$DESTDIR/usr/lib/systemd/network/" '{}' +
if [ -d /etc/systemd/network ]; then
- find -L /etc/systemd/network -name '*.link' -execdir cp -pt "$DESTDIR/usr/lib/systemd/network/" '{}' +
+ find -L /etc/systemd/network -name '*.link*' -execdir cp -r -pt "$DESTDIR/usr/lib/systemd/network/" '{}' +
fi
mkdir -p "$DESTDIR/usr/lib/udev/rules.d/"