# $Id$ # standard magellan kernel: # using linux-2.6.29.5 # 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.2 (http://www.linux-phc.org/ && https://www.dedigentoo.org/trac/linux-phc/) # 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 # disabled CONFIG_SYSFS_DEPRECATED && CONFIG_SYSFS_DEPRECATED_V2 to respect modern udev versions # what type are we building (sources or image) ? KERNEL_TYPE="image" # which branch we're using BRANCH="magellan" PNAME="kernel26-${BRANCH}" # 2.6.x.x subver style PSUBVER="" PVER="2.6.29${PSUBVER}" PBUILD="r7" PCATEGORIE="sys-kernel" STATE="unstable" DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel image with udev, fbsplash, vesa-tng, reiser4 support." HOMEPAGE="http://magellan-linux.net" DEPEND=">= sys-apps/module-init-tools-3.7 >= sys-fs/udev-140 >= sys-apps/mkinitrd-6.1.0 >= sys-apps/initscripts-0.5" PROVIDE="virtual/kernel virtual/alsa-drivers" SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2" SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}" # include global kernel26 functions sminclude kernel26 mtools # --- 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 --- 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}/0102-2.6.29.3-all-fixes.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0103-2.6.29.4-all-fixes.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0104-2.6.29.5-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.2.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}" ) UP2PVER="${PVER}.5" 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 mpatch patches-${PVER}-${PBUILD}/0102-2.6.29.3-all-fixes.patch || die mpatch patches-${PVER}-${PBUILD}/0103-2.6.29.4-all-fixes.patch || die mpatch patches-${PVER}-${PBUILD}/0104-2.6.29.5-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.2.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 }