wok rev 18831

linux-module-headers: avoid depmod during install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 18 17:45:22 2016 +0100 (2016-01-18)
parents 30b3a3fb9ff0
children 76d0acbe919d
files linux-module-headers/receipt
line diff
     1.1 --- a/linux-module-headers/receipt	Mon Jan 18 15:29:48 2016 +0100
     1.2 +++ b/linux-module-headers/receipt	Mon Jan 18 17:45:22 2016 +0100
     1.3 @@ -15,7 +15,6 @@
     1.4  genpkg_rules()
     1.5  {
     1.6  	mkdir -p $fs/lib/modules/$KVERSION $fs/usr
     1.7 -	ln -sf /usr/src/linux-$KVERSION $fs/lib/modules/$KVERSION/build
     1.8  	cp -a $install/usr/src $fs/usr
     1.9  }	
    1.10  
    1.11 @@ -29,4 +28,5 @@
    1.12  	# Added soft link to make it easier to point to kernel folder
    1.13  	[ -L "$1/usr/src/linux" ] && rm -f "$1/usr/src/linux"
    1.14  	ln -sf /usr/src/linux-$KVERSION "$1/usr/src/linux"
    1.15 +	ln -sf /usr/src/linux-$KVERSION "$1/lib/modules/$KVERSION/build"
    1.16  }