diff options
Diffstat (limited to 'repo')
-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 } |