wok-next rev 6977

Fixed linux-source again (i hope).
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 28 05:47:06 2010 +0000 (2010-10-28)
parents 99e3675b8ff1
children e41f4574644b
files linux-source/receipt linux-source/stuff/get-linux-source
line diff
     1.1 --- a/linux-source/receipt	Thu Oct 28 05:01:16 2010 +0000
     1.2 +++ b/linux-source/receipt	Thu Oct 28 05:47:06 2010 +0000
     1.3 @@ -12,7 +12,8 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/src/kernel-patches
     1.8 +	mkdir -p $fs/usr/src/kernel-patches \
     1.9 +			$fs/lib/modules/$VERSION-slitaz
    1.10  	cp -a $src/slitaz $fs/usr/src/kernel-patches
    1.11  	cp -a stuff/buildtaz $fs/usr/src/kernel-patches/slitaz
    1.12  	cp -a stuff/make-tazpkg.u $fs/usr/src/kernel-patches/slitaz
    1.13 @@ -25,6 +26,6 @@
    1.14  			$WOK/$WANTED/aufs2/fs $WOK/$WANTED/aufs2/include \
    1.15  			$fs/usr/src/kernel-patches/slitaz/aufs2
    1.16  	fi
    1.17 -	ln -s /usr/src/linux-$VERSION-slitaz \
    1.18 +	ln -s /usr/src/linux-$VERSION \
    1.19  		$fs/lib/modules/$VERSION-slitaz/source
    1.20  }
     2.1 --- a/linux-source/stuff/get-linux-source	Thu Oct 28 05:01:16 2010 +0000
     2.2 +++ b/linux-source/stuff/get-linux-source	Thu Oct 28 05:47:06 2010 +0000
     2.3 @@ -3,7 +3,7 @@
     2.4  source /etc/tazwok.conf
     2.5  VERSION=XXX
     2.6  
     2.7 -url=$(cat /usr/src/linux-$VERSION-slitaz/url)
     2.8 +url=$(cat /usr/src/kernel-patches/url)
     2.9  
    2.10  if [ -f $SOURCES_REPOSITORY/$(basename $url) ]; then
    2.11  	cd /usr/src/
    2.12 @@ -49,6 +49,6 @@
    2.13  To make a Slitaz package with the new kernel and the modules:
    2.14  $ make tazpkg
    2.15  
    2.16 -See /usr/src/linux-$VERSION-slitaz/README
    2.17 +See /usr/src/linux-$VERSION/README
    2.18  ----
    2.19  EOT
    2.20 \ No newline at end of file