diff options
author | davidovski <david@davidovski.xyz> | 2022-01-18 20:49:22 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-18 20:49:22 +0000 |
commit | 04a45e7d3a06fbf19d528a0617434530d5754937 (patch) | |
tree | 10205c312fc24f72073707a4e5814069bbf9a288 /repo/system | |
parent | 7b39cbcd5feb0718923fdd5cd58e9aab3c6bd1f4 (diff) |
fixed kmod to make correct symlinks
Diffstat (limited to 'repo/system')
-rw-r--r-- | repo/system/kmod.xibuild | 11 |
1 files 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 } |