summaryrefslogtreecommitdiffstats
path: root/debian/extra/initramfs-tools/hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:54:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:54:54 +0000
commit603a597256d021daade1ebedd8d9c0f4178f04e7 (patch)
treeddbfa5b84516a891ddc68cb38ae37f052259ba6a /debian/extra/initramfs-tools/hooks
parentMerging upstream version 255.5. (diff)
downloadsystemd-603a597256d021daade1ebedd8d9c0f4178f04e7.tar.xz
systemd-603a597256d021daade1ebedd8d9c0f4178f04e7.zip
Adding debian version 255.5-1.debian/255.5-1debian
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/udev6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/extra/initramfs-tools/hooks/udev b/debian/extra/initramfs-tools/hooks/udev
index 4da5b28..d45a287 100755
--- a/debian/extra/initramfs-tools/hooks/udev
+++ b/debian/extra/initramfs-tools/hooks/udev
@@ -16,6 +16,12 @@ esac
mkdir -p "$DESTDIR/usr/lib/systemd"
copy_exec /usr/lib/systemd/systemd-udevd /usr/lib/systemd
copy_exec /usr/bin/udevadm /usr/bin
+# libkmod is loaded via dlopen() since v256 so pull it in manually
+for library in usr/lib/*/libkmod.so.*; do
+ if [ -f "${library}" ]; then
+ copy_exec "${library}"
+ fi
+done
mkdir -p "$DESTDIR/etc/udev"
cp -p /etc/udev/udev.conf "$DESTDIR/etc/udev/"