# $Id$ # standard magellan kernel: # using linux-2.6.29.2 # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/) # using unionfs-2.5.1 (http://www.filesystems.org/project-unionfs.html) # using tuxonice-3.0.1 (suspend2) (http://www.suspend2.net/) # -> disabled tuxonice-cluster modules; seems to be broken # using linux-phc-0.3.1 (https://www.dedigentoo.org/trac/linux-phc/) # -> using a patched version from http://hoo.homeunix.net/~teknohog/hacks/linux-phc-kernel-vanilla-2.6.25-teknohog.patch # disabled acpi-dsdt-0.9c (http://acpi.sourceforge.net/ && http://gaugusch.at/kernel.shtml) # -> disabled cause of "runaway loop request module binfmt-0000" # using reiser4 (http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/) # -> using mm-patch from http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/ # added fix for mptbase; vmware does not detect any scsi disk # - see: http://bbs.archlinux.org/viewtopic.php?pid=249283 # dropped fixes for powertop # use modular ide-framework to fix udma issues with nforce boards # dropped some fb drivers (FB_S3, FB_VT8623, FB_ARK) to disable the FB_TILEBLITTING symbol to enable FB_CON_DECOR # enabled ufs filesystem support in kernel-configs # added multiple patches to fix several ext4 issues # what type are we building (sources or image) ? KERNEL_TYPE="sources" # which branch we're using BRANCH="magellan" PNAME="kernel26-sources-${BRANCH}" # 2.6.x.x subver style PSUBVER="" PVER="2.6.29${PSUBVER}" PBUILD="r3" PCATEGORIE="sys-kernel" STATE="unstable" DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources." HOMEPAGE="http://magellan-linux.net" DEPEND="" PROVIDE="virtual/kernel-sources" # we are providing a realpkg from now on ! # note: for srcinstall only ! no package exists #PKGTYPE="sources" SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2" SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}" # include global kernel26 functions sminclude kernel26 # --- extra drivers included in this kernel: --- # we do not bundle ati-drivers and nvidia-glx drivers anymore # use our new module builders! # --- eot extra drivers --- # we are providing a realpkg from now on ! # note2: we prevent to build a package here (smage2) #NOPKGBUILD=true # no need to waste time here NOSTRIP=true SRC_URI=( http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE} mirror://kernel26-${BRANCH}/${SRCFILE} mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0100-2.6.29.1-all-fixes.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0101-2.6.29.2-all-fixes.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.29-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.29-unionfs-2.5.1-2.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0154-2.6.29-tuxonice-3.0.1.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0156-2.6.29-linux-phc-0.3.1-teknohog.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0157-2.6.29-acpi-dsdt-initrd-0.9c.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0159-2.6.29-reiser4-6.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0301-2.6.29-mptbase-vmware-fix.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0303-2.6.29-ext4-automatically-allocate-delay-allocated-blocks-on-rename.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0304-2.6.29-ext4-automatically-allocate-delay-allocated-blocks-on-close.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0305-2.6.29-ext4-add-EXT4_IOC_ALLOC_DA_BLKS-ioctl.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0306-2.6.29-ext4-fix-discard-of-inode-prealloc-space-with-delayed-allocation.patch patches-${PVER}-${PBUILD}" ) UP2PVER="${PVER}.2" UP2DATE="updatecmd http://www.kernel.org/ | grep 'latest stable' | sed 's/.*\([0-9].[0-9].[0-9].*\).*/\1/'" src_prepare() { kernel26_src_prepare || die # 001-100 - ck patches (deprecated atm) # 100-150 - official updates mpatch patches-${PVER}-${PBUILD}/0100-2.6.29.1-all-fixes.patch || die mpatch patches-${PVER}-${PBUILD}/0101-2.6.29.2-all-fixes.patch || die # 150-300 - magellan patches, driver updates etc mpatch patches-${PVER}-${PBUILD}/0150-2.6.29-fbcondecor-0.9.6.patch || die mpatch patches-${PVER}-${PBUILD}/0153-2.6.29-unionfs-2.5.1-2.patch || die # disabled - build errors on modular builds # mpatch patches-${PVER}-${PBUILD}/0154-2.6.29-tuxonice-3.0.1.patch || die mpatch patches-${PVER}-${PBUILD}/0156-2.6.29-linux-phc-0.3.1-teknohog.patch || die # mpatch patches-${PVER}-${PBUILD}/0157-2.6.29-acpi-dsdt-initrd-0.9c.patch || die mpatch patches-${PVER}-${PBUILD}/0159-2.6.29-reiser4-6.patch || die # 300-400 - compilations fixes and other mpatch patches-${PVER}-${PBUILD}/0301-2.6.29-mptbase-vmware-fix.patch || die mpatch patches-${PVER}-${PBUILD}/0303-2.6.29-ext4-automatically-allocate-delay-allocated-blocks-on-rename.patch || die mpatch patches-${PVER}-${PBUILD}/0304-2.6.29-ext4-automatically-allocate-delay-allocated-blocks-on-close.patch || die mpatch patches-${PVER}-${PBUILD}/0305-2.6.29-ext4-add-EXT4_IOC_ALLOC_DA_BLKS-ioctl.patch || die mpatch patches-${PVER}-${PBUILD}/0306-2.6.29-ext4-fix-discard-of-inode-prealloc-space-with-delayed-allocation.patch || die }