wok diff linux/receipt @ rev 8639
Up: slitaz-menus to 1.8. Added Education directory for menu. Also add applications-engineering and applications-science icons from gnome-icon-theme. Both 16 and 32 sizes.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 15 03:49:26 2011 +0000 (2011-02-15) |
parents | 0b4cf0d9e1b5 |
children | 1d89aa1672da |
line diff
1.1 --- a/linux/receipt Mon Feb 14 19:09:46 2011 +0100 1.2 +++ b/linux/receipt Tue Feb 15 03:49:26 2011 +0000 1.3 @@ -5,7 +5,7 @@ 1.4 CATEGORY="base-system" 1.5 SHORT_DESC="The Linux kernel and modules." 1.6 DEPENDS="depmod" 1.7 -BUILD_DEPENDS="slitaz-toolchain perl git lzma" 1.8 +BUILD_DEPENDS="slitaz-toolchain perl git lzma patch" 1.9 MAINTAINER="devel@slitaz.org" 1.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.11 WEB_SITE="http://www.kernel.org/" 1.12 @@ -21,13 +21,13 @@ 1.13 #do 1.14 # sed -i 's|VERSION="OLDVERSION"|VERSION="NEWVERSION"|g' $i 1.15 #done 1.16 - local _AUFSVER=`grep ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.17 - local AUFSDIR="aufs-${_AUFSVER}" 1.18 + report open-bloc 1.19 + 1.20 + report step "Installing aufs source" 1.21 + AUFSDIR=$WOK/$PACKAGE/aufs 1.22 tazwok get-src aufs --target=$AUFSDIR 1.23 cp -a $AUFSDIR/Documentation $AUFSDIR/fs $AUFSDIR/include $src 1.24 cp -a $AUFSDIR/*.patch $WOK/$PACKAGE/stuff 1.25 - # We need the real GNU patch 1.26 - [ -L /usr/bin/patch ] && tazpkg get-install patch --forced 1.27 cd $src 1.28 # SliTaz db 1.29 [ -d slitaz ] && rm -rf slitaz 2> /dev/null 1.30 @@ -36,6 +36,7 @@ 1.31 cp ../stuff/gztazmod.sh ../stuff/list_modules.sh slitaz 1.32 cp ../stuff/bootloader.sh slitaz 1.33 # Apply patches 1.34 + report step "Applying patches" 1.35 while read patch_file; do 1.36 echo "$patch_file" >> slitaz/patches 1.37 cp ../stuff/$patch_file slitaz 1.38 @@ -59,11 +60,13 @@ 1.39 004-squashfs-add-xz-compression-support.patch 1.40 005-squashfs-add-xz-compression-configuration-option.patch 1.41 EOT 1.42 + report step "Make kernel proper and then build lguest" 1.43 make mrproper 1.44 cd Documentation/lguest 1.45 make lguest || return 1 1.46 cd ../.. 1.47 1.48 + report step "Make bzImage without modules first" 1.49 # Build bzImage without modules first 1.50 cp -f ../stuff/$PACKAGE-$VERSION-slitaz.config .config 1.51 sed -i 's/CONFIG_MODULES=y/# CONFIG_MODULES is not set/' .config 1.52 @@ -77,6 +80,7 @@ 1.53 mv arch/x86/boot/bzImage $PWD/_pkg 1.54 mv System.map System.map-without-modules 1.55 1.56 + report step "Now build bzImage with modules" 1.57 # Build bzImage with modules 1.58 cp -f ../stuff/$PACKAGE-$VERSION-slitaz.config .config 1.59 make oldconfig 1.60 @@ -89,9 +93,11 @@ 1.61 mkdir -p $PWD/_pkg/boot 2> /dev/null 1.62 mv arch/x86/boot/bzImage $PWD/_pkg/boot/vmlinuz-$VERSION-slitaz 1.63 # Compress all modules. 1.64 + report step "Compressing all modules" 1.65 $WOK/$PACKAGE/stuff/gztazmod.sh $PWD/_pkg/lib/modules/$VERSION-slitaz 1.66 ln System.map System.map-modules 1.67 ln Module.symvers Module.symvers-modules 1.68 + report close-bloc 1.69 } 1.70 1.71 # Rules to gen a SliTaz package suitable for Tazpkg.