diff options
Diffstat (limited to 'PATCHCFG')
-rw-r--r-- | PATCHCFG | 24 |
1 files changed, 10 insertions, 14 deletions
@@ -1,19 +1,15 @@ # Kernel source file -SRC="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.39.tar.bz2" +KVER=2.6.39.3 +SRC="http://linux-libre.fsfla.org/pub/linux-libre/releases/${KVER}-libre/linux-${KVER}-libre.tar.bz2" # Original source directory -SRCORIG="linux-2.6.39" +SRCORIG="linux-${KVER}" # Our source directory -SRCNAME="linux-2.6.39-ARCH" +SRCNAME="linux-2.6.39-LIBRE" # Patches: # URL%patchlevel # or # filename%patchlevel (file must be in patches/ subdirectory) PATCHES=( - # add upstream patch from 2.6.39 series - ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-2.6.39.3.bz2%1 - - # add latest fixes from stable queue, if needed - # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git # fix #19234 i1915 display size fix-i915.patch%1 @@ -27,7 +23,7 @@ PATCHES=( # aufs2-standalone-20110519.patch%1 ) # Name of the resulting patch (will be bzipped afterwards) -PATCHNAME="patch-2.6.39.3-1-ARCH" +PATCHNAME="patch-${KVER}-1-LIBRE" # Run this before applying patches pre_apply() { @@ -37,14 +33,14 @@ pre_apply() { # Run this after applying patches post_apply() { # remove the extraversion from Makefile - # this ensures our kernel version is always 2.6.XX-ARCH + # this ensures our kernel version is always 2.6.XX-LIBRE # this way, minor kernel updates will not break external modules sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION = |g' Makefile - # Add Arch logo! - #cp ${startdir}/patches/logo_linux_clut224.ppm drivers/video/logo/ - #cp ${startdir}/patches/logo_linux_mono.pbm drivers/video/logo/ - #cp ${startdir}/patches/logo_linux_vga16.ppm drivers/video/logo/ + # Add Linux-Libre logo! + cp ${startdir}/patches/logo_linux_clut224.ppm drivers/video/logo/ + cp ${startdir}/patches/logo_linux_mono.pbm drivers/video/logo/ + cp ${startdir}/patches/logo_linux_vga16.ppm drivers/video/logo/ # Kill some files find . -name '*~' -or -name '*.orig' -exec rm -f {} \; 2>/dev/null |