wok-current rev 20169

Add linux-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 16 11:15:42 2018 +0100 (2018-01-16)
parents 7027755306af
children e564e12169b9
files linux-debug/receipt linux-without-modules-debug/receipt linux/receipt linux64-debug/receipt linux64-without-modules-debug/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/linux-debug/receipt	Tue Jan 16 11:15:42 2018 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="linux-debug"
     1.7 +VERSION="3.2.98"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="The Linux kernel debug files."
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WANTED="linux"
    1.13 +WEB_SITE="http://www.kernel.org/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/boot   
    1.19 +	cp $src/System.map-modules $fs/boot/System.map-$VERSION
    1.20 +	cp $src/vmlinux-modules $fs/boot/vmlinux-$VERSION
    1.21 +	cp $install/boot/vmlinuz-$VERSION $fs/boot/
    1.22 +	cp $src/Module.symvers-modules $fs/boot/Module.symvers-$VERSION
    1.23 +	cp $stuff/linux-slitaz.config $fs/boot/config-$VERSION
    1.24 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/linux-without-modules-debug/receipt	Tue Jan 16 11:15:42 2018 +0100
     2.3 @@ -0,0 +1,21 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="linux-without-modules-debug"
     2.7 +VERSION="3.2.98"
     2.8 +CATEGORY="base-system"
     2.9 +SHORT_DESC="The Linux kernel debug files."
    2.10 +MAINTAINER="devel@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WANTED="linux"
    2.13 +WEB_SITE="http://www.kernel.org/"
    2.14 +PROVIDE="linux-debug:linux-without-modules"
    2.15 +
    2.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 +genpkg_rules()
    2.18 +{
    2.19 +	mkdir -p $fs/boot   
    2.20 +	cp $src/System.map-without-modules $fs/boot/System.map-$VERSION
    2.21 +	cp $src/vmlinux-without-modules $fs/boot/vmlinux-$VERSION
    2.22 +	cp $install/linux/bzImage $fs/boot/vmlinuz-$VERSION
    2.23 +	cp $src/config-without-modules $fs/boot/config-$VERSION
    2.24 +}
     3.1 --- a/linux/receipt	Thu Jan 11 21:11:24 2018 +0100
     3.2 +++ b/linux/receipt	Tue Jan 16 11:15:42 2018 +0100
     3.3 @@ -259,6 +259,8 @@
     3.4  			[ -d $DESTDIR ] || mkdir -p $DESTDIR/linux64
     3.5  			mv arch/x86/boot/bzImage $DESTDIR/linux64
     3.6  			mv System.map System.map-without-modules64
     3.7 +			mv vmlinux vmlinux-without-modules64
     3.8 +			mv .config config-without-modules64
     3.9  		fi
    3.10  		
    3.11  		# Build bzImage64 with modules
    3.12 @@ -277,6 +279,7 @@
    3.13  		KVERSION=$VERSION-slitaz64
    3.14  		install_module_headers $DESTDIR/linux64
    3.15  		ln System.map System.map-modules64
    3.16 +		ln vmlinux vmlinux-modules64
    3.17  		ln Module.symvers Module.symvers-modules64
    3.18  	else
    3.19  		echo "* Skipping: x86_64 Kernel..."
    3.20 @@ -302,6 +305,8 @@
    3.21  		[ -d $DESTDIR ] || mkdir -p $DESTDIR
    3.22  		mv arch/x86/boot/bzImage $DESTDIR
    3.23  		mv System.map System.map-without-modules
    3.24 +		mv vmlinux vmlinux-without-modules
    3.25 +		mv .config config-without-modules
    3.26  	fi
    3.27  	
    3.28  	# Build bzImage with modules
    3.29 @@ -330,6 +335,7 @@
    3.30  		$stuff/gztazmod.sh $DESTDIR/linux64/lib/modules/$VERSION-slitaz64
    3.31  	fi
    3.32  	ln System.map System.map-modules
    3.33 +	ln vmlinux vmlinux-modules
    3.34  	ln Module.symvers Module.symvers-modules
    3.35  }
    3.36  
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/linux64-debug/receipt	Tue Jan 16 11:15:42 2018 +0100
     4.3 @@ -0,0 +1,22 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="linux64-debug"
     4.7 +VERSION="3.2.98"
     4.8 +CATEGORY="base-system"
     4.9 +SHORT_DESC="The Linux kernel debug files."
    4.10 +MAINTAINER="devel@slitaz.org"
    4.11 +LICENSE="GPL2"
    4.12 +WANTED="linux"
    4.13 +WEB_SITE="http://www.kernel.org/"
    4.14 +PROVIDE="linux-debug:linux64"
    4.15 +
    4.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.17 +genpkg_rules()
    4.18 +{
    4.19 +	mkdir -p $fs/boot   
    4.20 +	cp $src/System.map-modules64 $fs/boot/System.map-$VERSION
    4.21 +	cp $src/vmlinux-modules64 $fs/boot/vmlinux-$VERSION
    4.22 +	cp $install/linux64/boot/vmlinuz-$VERSION $fs/boot/
    4.23 +	cp $src/Module.symvers-modules64 $fs/boot/Module.symvers-$VERSION
    4.24 +	cp $stuff/linux-slitaz.config64 $fs/boot/config-$VERSION
    4.25 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/linux64-without-modules-debug/receipt	Tue Jan 16 11:15:42 2018 +0100
     5.3 @@ -0,0 +1,21 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="linux64-without-modules-debug"
     5.7 +VERSION="3.2.98"
     5.8 +CATEGORY="base-system"
     5.9 +SHORT_DESC="The Linux kernel debug files."
    5.10 +MAINTAINER="devel@slitaz.org"
    5.11 +LICENSE="GPL2"
    5.12 +WANTED="linux"
    5.13 +WEB_SITE="http://www.kernel.org/"
    5.14 +PROVIDE="linux-debug:linux64-without-modules"
    5.15 +
    5.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.17 +genpkg_rules()
    5.18 +{
    5.19 +	mkdir -p $fs/boot   
    5.20 +	cp $src/System.map-without-modules64 $fs/boot/System.map-$VERSION
    5.21 +	cp $src/vmlinux-without-modules64 $fs/boot/vmlinux-$VERSION
    5.22 +	cp $install/linux64/bzImage $fs/boot/vmlinuz-$VERSION
    5.23 +	cp $src/config-without-modules64 $fs/boot/config-$VERSION
    5.24 +}