# $Header: /magellan-cvs/smage/kernel26-magellan/kernel26-magellan-2.6.25-r5.smage2,v 1.1 2008/10/06 22:05:48 niro Exp $ # standard magellan kernel: # using linux-2.6.27.2 # using fbcondecor-0.9.4 (http://dev.gentoo.org/~spock/projects/fbcondecor/) # using squashfs-3.4 (http://squashfs.sourceforge.net/) # using unionfs-2.5 (http://www.filesystems.org/project-unionfs.html) # using tuxonice-3.0-rc7a (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 new patch from http://zen-sources.org/files/reiser4-for-2.6.27-rc1.patch # dropped ipw3945-1.2.2 wlan driver (http://ipw3945.sf.net) # added fix for mptbase; vmware does not detect any scsi disk # - see: http://bbs.archlinux.org/viewtopic.php?pid=249283 # added some fixes for powertop (http://www.lesswatts.org/projects/powertop/) # use modular ide-framework to fix udma issues with nforce boards # using atl2-2.0.4 ethernet driver (http://people.redhat.com/csnook/atl2/; http://atl2.sourceforge.net/) # -> using a version from fedora which works with linux-2.6.27 # dropped some fb drivers (FB_S3, FB_VT8623, FB_ARK) to disable the FB_TILEBLITTING symbol to enable FB_CON_DECOR # 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.27${PSUBVER}" PBUILD="r1" 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.4 >= sys-fs/udev-130 >= sys-apps/hotplug-20040401 >= sys-apps/mkinitrd-6.0.9 >= sys-apps/initscripts-0.4.13" 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.27.1-all-fixes.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0101-2.6.27.2-all-fixes.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.27-fbcondecor-0.9.4.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0152-2.6.27-squashfs-3.4.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.27-unionfs-2.5.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0154-2.6.27-tuxonice-3.0-rc7a.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0156-2.6.27-linux-phc-0.3.1-teknohog.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0157-2.6.27-acpi-dsdt-initrd-0.9c.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0159-2.6.27-reiser4-4.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0161-2.6.27-atl2-2.0.4-2.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0301-2.6.27-mptbase-vmware-fix.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0302-2.6.27-powertop-fixes.patch patches-${PVER}-${PBUILD}" ) # only x.y.z releases not x.y.z.patchlevel UP2DATE="updatecmd http://www.kernel.org/ | grep 'latest stable' | sed 's/.*\([0-9].[0-9].[0-9].*\) .*/\1/' | cut -d. -f1-3" src_prepare() { kernel26_src_prepare || die # 001-100 - ck patches (deprecated atm) # 100-150 - official updates mpatch patches-${PVER}-${PBUILD}/0100-2.6.27.1-all-fixes.patch || die mpatch patches-${PVER}-${PBUILD}/0101-2.6.27.2-all-fixes.patch || die # 150-300 - magellan patches, driver updates etc mpatch patches-${PVER}-${PBUILD}/0150-2.6.27-fbcondecor-0.9.4.patch || die mpatch patches-${PVER}-${PBUILD}/0152-2.6.27-squashfs-3.4.patch || die mpatch patches-${PVER}-${PBUILD}/0153-2.6.27-unionfs-2.5.patch || die # disabled atm, needs re-diff # mpatch patches-${PVER}-${PBUILD}/0154-2.6.27-tuxonice-3.0-rc7a.patch || die mpatch patches-${PVER}-${PBUILD}/0156-2.6.27-linux-phc-0.3.1-teknohog.patch || die # mpatch patches-${PVER}-${PBUILD}/0157-2.6.27-acpi-dsdt-initrd-0.9c.patch || die mpatch patches-${PVER}-${PBUILD}/0159-2.6.27-reiser4-4.patch || die mpatch patches-${PVER}-${PBUILD}/0161-2.6.27-atl2-2.0.4-2.patch || die # 300-400 - compilations fixes and other mpatch patches-${PVER}-${PBUILD}/0301-2.6.27-mptbase-vmware-fix.patch || die # disabled atm, needs re-diff # mpatch patches-${PVER}-${PBUILD}/0302-2.6.27-powertop-fixes.patch || die }