# HG changeset patch # User Pascal Bellard # Date 1366019370 -7200 # Node ID a62a3bf42fb032ff137c397a55ed89eb2d506a57 # Parent cadb930e57f8aa50df3ee0f560b643208ada5182 linux: add EXTRA_SOURCE_FILES diff -r cadb930e57f8 -r a62a3bf42fb0 linux-api-headers/receipt --- a/linux-api-headers/receipt Mon Apr 15 10:46:09 2013 +0200 +++ b/linux-api-headers/receipt Mon Apr 15 11:49:30 2013 +0200 @@ -14,7 +14,9 @@ BUILD_DEPENDS="bash wget" -[ "$KBASEVER" != "$VERSION" ] && PATCH="http://www.kernel.org/pub/linux/kernel/v3.0/patch-$VERSION.xz" +[ "$KBASEVER" != "$VERSION" ] && +PATCH="$(dirname $WGET_URL)/patch-$VERSION.xz" && +EXTRA_SOURCE_FILES="$(basename $PATCH)" # Rules to compile & install the temporary toolchain. cook_tmp_toolchain() diff -r cadb930e57f8 -r a62a3bf42fb0 linux-uml/receipt --- a/linux-uml/receipt Mon Apr 15 10:46:09 2013 +0200 +++ b/linux-uml/receipt Mon Apr 15 11:49:30 2013 +0200 @@ -11,13 +11,15 @@ TARBALL="$SOURCE-$KBASEVER.tar.xz" WEB_SITE="http://www.kernel.org/" WGET_URL="ftp://ftp.kernel.org/pub/linux/kernel/v3.0/$TARBALL" +[ "$KBASEVER" != "$VERSION" ] && +PATCH="$(dirname $WGET_URL)/patch-$VERSION.xz" && +EXTRA_SOURCE_FILES="$(basename $PATCH)" # Rules to configure and make the package. compile_rules() { cd $src if [ "$KBASEVER" != "$VERSION" ]; then - PATCH="$(dirname $WGET_URL)/patch-$VERSION.xz" [ -s $SRC/$(basename $PATCH) ] || wget $PATCH -O $SRC/$(basename $PATCH) xzcat $SRC/$(basename $PATCH) | patch -Np1 diff -r cadb930e57f8 -r a62a3bf42fb0 linux/receipt --- a/linux/receipt Mon Apr 15 10:46:09 2013 +0200 +++ b/linux/receipt Mon Apr 15 11:49:30 2013 +0200 @@ -15,8 +15,9 @@ BUILD_DEPENDS="slitaz-toolchain perl git xz lzma patch uclibc-cross-compiler-x86_64" # Use version patch so we dont dl full kernel source on each minor update -[ "$KBASEVER" != "$VERSION" ] && \ - PATCH="ftp://ftp.kernel.org/pub/linux/kernel/v3.0/patch-$VERSION.xz" +[ "$KBASEVER" != "$VERSION" ] && +PATCH="$(dirname $WGET_URL)/patch-$VERSION.xz" && +EXTRA_SOURCE_FILES="$(basename $PATCH)" # Aufs enable chroot AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("