# HG changeset patch # User Aleksej Bobylev # Date 1447778134 -7200 # Node ID 46bfd486a20cb1c851f786f61846b726bbdf139a # Parent 67996045442a5cca9a6023c40ec2e4ddf9cbf537 Module "install": fix kernel modules update diff -r 67996045442a -r 46bfd486a20c modules/install --- a/modules/install Tue Nov 17 12:45:13 2015 +0200 +++ b/modules/install Tue Nov 17 18:35:34 2015 +0200 @@ -540,7 +540,7 @@ # package 'gdk-pixbuf' [ -n "$upixb" ] && chroot "$root/" /usr/bin/gdk-pixbuf-query-loaders --update-cache # packages 'busybox', 'kmod', 'depmod' - [ -n "$ukrnl" ] && chroot "$root/" /sbin/depmod -a "$VERSION-slitaz" + [ -n "$ukrnl" ] && grep '/lib/modules' "$fl" | cut -d'/' -f4 | uniq | xargs chroot "$root/" /sbin/depmod -a [ "$upd" -eq 1 ] && status