commit: c92f3e688d9523bc379a21e0c24d359d78c96f65
parent b4a51c4f9d57999ca18e68e779438a42b0a6b6b4
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 22 Aug 2025 17:13:56 +0200
patches/sys-apps/kmod: add kmod-34.2-ln-relative.diff
Diffstat:
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/patches/sys-apps/kmod/kmod-34.2-ln-relative.diff b/patches/sys-apps/kmod/kmod-34.2-ln-relative.diff
@@ -0,0 +1,13 @@
+diff --git a/meson.build b/meson.build
+index 5740e13..87ee97f 100644
+--- a/meson.build
++++ b/meson.build
+@@ -490,7 +490,7 @@ if get_option('tools')
+ mkdir_p = 'mkdir -p "$DESTDIR@0@"'
+ meson.add_install_script('sh', '-c', mkdir_p.format(sbindir))
+
+- ln_s = 'ln -sfr "$DESTDIR@0@/kmod" "$DESTDIR@1@"'
++ ln_s = 'ln -sf "@0@/kmod" "$DESTDIR@1@"'
+ foreach tool : _tools
+ meson.add_install_script('sh', '-c', ln_s.format(bindir, sbindir / tool))
+ endforeach