tazpkg rev 865

Module "install": fix kernel modules update
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 17 18:35:34 2015 +0200 (2015-11-17)
parents 67996045442a
children af67b2269d1f
files modules/install
line diff
     1.1 --- a/modules/install	Tue Nov 17 12:45:13 2015 +0200
     1.2 +++ b/modules/install	Tue Nov 17 18:35:34 2015 +0200
     1.3 @@ -540,7 +540,7 @@
     1.4  	# package 'gdk-pixbuf'
     1.5  	[ -n "$upixb" ] && chroot "$root/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
     1.6  	# packages 'busybox', 'kmod', 'depmod'
     1.7 -	[ -n "$ukrnl" ] && chroot "$root/" /sbin/depmod -a "$VERSION-slitaz"
     1.8 +	[ -n "$ukrnl" ] && grep '/lib/modules' "$fl" | cut -d'/' -f4 | uniq | xargs chroot "$root/" /sbin/depmod -a
     1.9  
    1.10  	[ "$upd" -eq 1 ] && status
    1.11