From 04a45e7d3a06fbf19d528a0617434530d5754937 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 18 Jan 2022 20:49:22 +0000 Subject: fixed kmod to make correct symlinks --- repo/system/kmod.xibuild | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/repo/system/kmod.xibuild b/repo/system/kmod.xibuild index 61a91f8..5fe34d6 100644 --- a/repo/system/kmod.xibuild +++ b/repo/system/kmod.xibuild @@ -19,12 +19,11 @@ build () { package () { make DESTDIR=$PKG_DEST install - mkdir -p /usr/sbin mkdir -p /usr/bin - - for target in depmod insmod modinfo modprobe rmmod; do - ln -sfv ../bin/kmod $PKG_DERT/usr/sbin/$target - done - + ln -sfv kmod $PKG_DERT/usr/bin/depmod + ln -sfv kmod $PKG_DERT/usr/bin/insmod + ln -sfv kmod $PKG_DERT/usr/bin/modinfo + ln -sfv kmod $PKG_DERT/usr/bin/modprobe + ln -sfv kmod $PKG_DERT/usr/bin/rmmod ln -sfv kmod $PKG_DEST/usr/bin/lsmod } -- cgit v1.2.1