diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-16 18:18:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-16 18:18:34 +0000 |
commit | c19c886707c32e5c448711985a42df533671bd4a (patch) | |
tree | 8476c2cb952446987e0033e903634ba7aea271b2 /debian/extra/initramfs-tools/hooks | |
parent | Merging upstream version 256.2. (diff) | |
download | systemd-c19c886707c32e5c448711985a42df533671bd4a.tar.xz systemd-c19c886707c32e5c448711985a42df533671bd4a.zip |
Adding debian version 256.2-1.debian/256.2-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/extra/initramfs-tools/hooks')
-rwxr-xr-x | debian/extra/initramfs-tools/hooks/udev | 4 |
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/" |