# HG changeset patch # User Pascal Bellard # Date 1292443013 -3600 # Node ID 440ca7d32058cc966f1f14aea9343d6af0c66aba # Parent 875321632a17e00fc2c90a82aa96362ee9446133 Add linux-without-modules diff -r 875321632a17 -r 440ca7d32058 linux-without-modules/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-without-modules/receipt Wed Dec 15 20:56:53 2010 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="linux-without-modules" +VERSION="2.6.36" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel without module support." +MAINTAINER="devel@slitaz.org" +WANTED="linux" +WEB_SITE="http://www.kernel.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/boot + cp -a $_pkg/bzImage $fs/boot/vmlinuz-$VERSION-slitaz-without-modules +} + diff -r 875321632a17 -r 440ca7d32058 linux/receipt --- a/linux/receipt Wed Dec 15 11:46:40 2010 +0000 +++ b/linux/receipt Wed Dec 15 20:56:53 2010 +0100 @@ -81,9 +81,17 @@ make -j 4 modules && make INSTALL_MOD_PATH=$PWD/_pkg modules_install && make INSTALL_HDR_PATH=$PWD/_pkg/usr headers_install && - [ -s arch/x86/boot/bzImage ] + [ -s arch/x86/boot/bzImage ] || return 1 # Compress all modules. $WOK/$PACKAGE/stuff/gztazmod.sh $PWD/_pkg/lib/modules/$VERSION-slitaz + mv System.map System.map-modules + sed -i 's/CONFIG_MODULES=y/# CONFIG_MODULES is not set/' .config + # We can't keep every driver in staging + sed -i -e 's/^CONFIG_RTL8192/#&/' \ + -e 's/^CONFIG_R8187SE/#&/' \ + -e 's/^CONFIG_RT2870/#&/' .config + yes '' | make oldconfig + make -j 4 bzImage && mv arch/x86/boot/bzImage $PWD/_pkg } # Rules to gen a SliTaz package suitable for Tazpkg.