# HG changeset patch # User Pascal Bellard # Date 1516097742 -3600 # Node ID 6ebbd98ea342b096499c193a6cd6ec8ac5600141 # Parent 7027755306af03f98e0f3971ae90b70df2c9081e Add linux-dev diff -r 7027755306af -r 6ebbd98ea342 linux-debug/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-debug/receipt Tue Jan 16 11:15:42 2018 +0100 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="linux-debug" +VERSION="3.2.98" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel debug files." +MAINTAINER="devel@slitaz.org" +LICENSE="GPL2" +WANTED="linux" +WEB_SITE="http://www.kernel.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/boot + cp $src/System.map-modules $fs/boot/System.map-$VERSION + cp $src/vmlinux-modules $fs/boot/vmlinux-$VERSION + cp $install/boot/vmlinuz-$VERSION $fs/boot/ + cp $src/Module.symvers-modules $fs/boot/Module.symvers-$VERSION + cp $stuff/linux-slitaz.config $fs/boot/config-$VERSION +} diff -r 7027755306af -r 6ebbd98ea342 linux-without-modules-debug/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-without-modules-debug/receipt Tue Jan 16 11:15:42 2018 +0100 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="linux-without-modules-debug" +VERSION="3.2.98" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel debug files." +MAINTAINER="devel@slitaz.org" +LICENSE="GPL2" +WANTED="linux" +WEB_SITE="http://www.kernel.org/" +PROVIDE="linux-debug:linux-without-modules" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/boot + cp $src/System.map-without-modules $fs/boot/System.map-$VERSION + cp $src/vmlinux-without-modules $fs/boot/vmlinux-$VERSION + cp $install/linux/bzImage $fs/boot/vmlinuz-$VERSION + cp $src/config-without-modules $fs/boot/config-$VERSION +} diff -r 7027755306af -r 6ebbd98ea342 linux/receipt --- a/linux/receipt Thu Jan 11 21:11:24 2018 +0100 +++ b/linux/receipt Tue Jan 16 11:15:42 2018 +0100 @@ -259,6 +259,8 @@ [ -d $DESTDIR ] || mkdir -p $DESTDIR/linux64 mv arch/x86/boot/bzImage $DESTDIR/linux64 mv System.map System.map-without-modules64 + mv vmlinux vmlinux-without-modules64 + mv .config config-without-modules64 fi # Build bzImage64 with modules @@ -277,6 +279,7 @@ KVERSION=$VERSION-slitaz64 install_module_headers $DESTDIR/linux64 ln System.map System.map-modules64 + ln vmlinux vmlinux-modules64 ln Module.symvers Module.symvers-modules64 else echo "* Skipping: x86_64 Kernel..." @@ -302,6 +305,8 @@ [ -d $DESTDIR ] || mkdir -p $DESTDIR mv arch/x86/boot/bzImage $DESTDIR mv System.map System.map-without-modules + mv vmlinux vmlinux-without-modules + mv .config config-without-modules fi # Build bzImage with modules @@ -330,6 +335,7 @@ $stuff/gztazmod.sh $DESTDIR/linux64/lib/modules/$VERSION-slitaz64 fi ln System.map System.map-modules + ln vmlinux vmlinux-modules ln Module.symvers Module.symvers-modules } diff -r 7027755306af -r 6ebbd98ea342 linux64-debug/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux64-debug/receipt Tue Jan 16 11:15:42 2018 +0100 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="linux64-debug" +VERSION="3.2.98" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel debug files." +MAINTAINER="devel@slitaz.org" +LICENSE="GPL2" +WANTED="linux" +WEB_SITE="http://www.kernel.org/" +PROVIDE="linux-debug:linux64" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/boot + cp $src/System.map-modules64 $fs/boot/System.map-$VERSION + cp $src/vmlinux-modules64 $fs/boot/vmlinux-$VERSION + cp $install/linux64/boot/vmlinuz-$VERSION $fs/boot/ + cp $src/Module.symvers-modules64 $fs/boot/Module.symvers-$VERSION + cp $stuff/linux-slitaz.config64 $fs/boot/config-$VERSION +} diff -r 7027755306af -r 6ebbd98ea342 linux64-without-modules-debug/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux64-without-modules-debug/receipt Tue Jan 16 11:15:42 2018 +0100 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="linux64-without-modules-debug" +VERSION="3.2.98" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel debug files." +MAINTAINER="devel@slitaz.org" +LICENSE="GPL2" +WANTED="linux" +WEB_SITE="http://www.kernel.org/" +PROVIDE="linux-debug:linux64-without-modules" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/boot + cp $src/System.map-without-modules64 $fs/boot/System.map-$VERSION + cp $src/vmlinux-without-modules64 $fs/boot/vmlinux-$VERSION + cp $install/linux64/bzImage $fs/boot/vmlinuz-$VERSION + cp $src/config-without-modules64 $fs/boot/config-$VERSION +}