wok-current rev 20266

linux-module-headers: add include/linux/version.h (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 15 18:29:25 2018 +0100 (2018-03-15)
parents c4e857aec2bd
children 8a51ff352615
files linux-module-headers/receipt linux64-module-headers/receipt
line diff
     1.1 --- a/linux-module-headers/receipt	Thu Mar 15 17:57:37 2018 +0100
     1.2 +++ b/linux-module-headers/receipt	Thu Mar 15 18:29:25 2018 +0100
     1.3 @@ -16,8 +16,9 @@
     1.4  {
     1.5  	mkdir -p $fs/lib/modules/$KVERSION $fs/usr
     1.6  	cp -a $install/usr/src $fs/usr
     1.7 +	[ -e $fs/usr/src/linux-$VERSION-slitaz/include/linux/version.h ] ||
     1.8  	ln -s ../generated/uapi/linux/version.h \
     1.9 -		$install/usr/src/linux-$VERSION-slitaz/include/linux/version.h
    1.10 +		$fs/usr/src/linux-$VERSION-slitaz/include/linux/version.h
    1.11  }	
    1.12  
    1.13  pre_remove() {
     2.1 --- a/linux64-module-headers/receipt	Thu Mar 15 17:57:37 2018 +0100
     2.2 +++ b/linux64-module-headers/receipt	Thu Mar 15 18:29:25 2018 +0100
     2.3 @@ -16,8 +16,9 @@
     2.4  {
     2.5  	mkdir -p $fs/lib/modules/$KVERSION $fs/usr
     2.6  	cp -a $install/linux64/usr/src $fs/usr
     2.7 +	[ -e $fs/usr/src/linux-$VERSION-slitaz64/include/linux/version.h ] ||
     2.8  	ln -s ../generated/uapi/linux/version.h \
     2.9 -		$install/usr/src/linux-$VERSION-slitaz64/include/linux/version.h
    2.10 +		$fs/usr/src/linux-$VERSION-slitaz64/include/linux/version.h
    2.11  }	
    2.12  
    2.13  pre_remove() {