# $Header: /magellan-cvs/smage/kernel26-sources-magellan/kernel26-sources-magellan-2.6.25-r1.smage2,v 1.1 2008/05/21 09:41:27 niro Exp $ # standard magellan kernel: # using linux-2.6.25.4 # using fbcondecor-0.9.4 (fbsplash) # using squashfs-3.3 # -> updated to a version which works with 2.6.25 # added unionfs-2.3.3 (http://www.filesystems.org/project-unionfs.html) # using tuxonice-3.0-rc7 (suspend2) (http://www.suspend2.net/) # -> disabled tuxonice-cluster modules; seems to be broken # enabled 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.9a (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/) # -> updated to a version which works with 2.6.25 # added 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 ## added xen-patches from opensuse # what type are we building (sources or image) ? KERNEL_TYPE="sources" # which branch we're using BRANCH="xen" PNAME="kernel26-sources-${BRANCH}" # 2.6.x.x subver style PSUBVER="" PVER="2.6.25${PSUBVER}" PBUILD="r1" 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.25.1-all-fixes.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0101-2.6.25.2-all-fixes.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0102-2.6.25.3-all-fixes.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0103-2.6.25.4-all-fixes.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.25-fbcondecor-0.9.4.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0152-2.6.25-squashfs-3.3-2.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.25-unionfs-2.3.3.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0154-2.6.25-tuxonice-3.0-rc7.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0156-2.6.25-linux-phc-0.3.1-teknohog.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0157-2.6.25-acpi-dsdt-initrd-0.9a.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0159-2.6.25-reiser4-2.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0160-2.6.25-ipw3945-1.2.2.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0301-2.6.25-mptbase-vmware-fix.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0302-2.6.25-powertop-fixes.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1001-2.6.25-xen-linux-2.6.19-rc1-kexec-move_segment_code-i386.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1002-2.6.25-xen-linux-2.6.19-rc1-kexec-move_segment_code-x86_64.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1003-2.6.25-xen-ipv6-no-autoconf.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1004-2.6.25-xen-sfc-network-driver.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1005-2.6.25-xen-sfc-resource-driver.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1006-2.6.25-xen-sfc-fixup.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1007-2.6.25-xen-auto-xen-arch.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1008-2.6.25-xen-auto-xen-drivers.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1009-2.6.25-xen-auto-include-xen-interface.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1010-2.6.25-xen-auto-xen-kconfig.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1011-2.6.25-xen-auto-common.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1012-2.6.25-xen-auto-arch-x86.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1013-2.6.25-xen-auto-arch-i386.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1014-2.6.25-xen-auto-arch-x86_64.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1015-2.6.25-xen-fixup-xen.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1016-2.6.25-xen-fixup-kconfig.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1017-2.6.25-xen-fixup-common.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1018-2.6.25-xen-fixup-arch-x86.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1019-2.6.25-xen-patch-2.6.18.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1020-2.6.25-xen-patch-2.6.19.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1021-2.6.25-xen-patch-2.6.20.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1022-2.6.25-xen-patch-2.6.21.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1023-2.6.25-xen-patch-2.6.22.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1024-2.6.25-xen-patch-2.6.23.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1025-2.6.25-xen-patch-2.6.24.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1026-2.6.25-xen-patch-2.6.25-rc5.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1027-2.6.25-xen-patch-2.6.25-rc5-rc6.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1028-2.6.25-xen-patch-2.6.25-rc6-rc7.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1029-2.6.25-xen-patch-2.6.25-rc7-rc8.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1030-2.6.25-xen-patch-2.6.25-rc8-rc9.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1031-2.6.25-xen-seccomp-disable-tsc-option.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1032-2.6.25-xen-silent-stack-overflow.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1033-2.6.25-xen-sysfs-crash-debugging.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1034-2.6.25-xen-stack-unwind.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1035-2.6.25-xen-modular-blktap.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1036-2.6.25-xen-x86-panic-no-reboot.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1037-2.6.25-xen-i386-panic-on-oops.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1038-2.6.25-xen-configurable-console.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1039-2.6.25-xen-x86_64-init-cleanup.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1040-2.6.25-xen-balloon-max-target.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1041-2.6.25-xen-x86-dcr-fallback.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1042-2.6.25-xen-x86-consistent-nmi.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1043-2.6.25-xen-x86-no-lapic.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1044-2.6.25-xen-blkback-bimodal-suse.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1045-2.6.25-xen-blkif-protocol-fallback-hack.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1046-2.6.25-xen-blkback-cdrom.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1047-2.6.25-xen-sections.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/1048-2.6.25-xen-add-console-use-vt.patch patches-${PVER}-${PBUILD}" ) src_prepare() { kernel26_src_prepare || die # 001-100 - ck patches (deprecated atm) # 100-150 - official updates mpatch patches-${PVER}-${PBUILD}/0100-2.6.25.1-all-fixes.patch || die mpatch patches-${PVER}-${PBUILD}/0101-2.6.25.2-all-fixes.patch || die mpatch patches-${PVER}-${PBUILD}/0102-2.6.25.3-all-fixes.patch || die mpatch patches-${PVER}-${PBUILD}/0103-2.6.25.4-all-fixes.patch || die # 150-300 - magellan patches, driver updates etc mpatch patches-${PVER}-${PBUILD}/0150-2.6.25-fbcondecor-0.9.4.patch || die mpatch patches-${PVER}-${PBUILD}/0152-2.6.25-squashfs-3.3-2.patch || die mpatch patches-${PVER}-${PBUILD}/0153-2.6.25-unionfs-2.3.3.patch || die mpatch patches-${PVER}-${PBUILD}/0154-2.6.25-tuxonice-3.0-rc7.patch || die mpatch patches-${PVER}-${PBUILD}/0156-2.6.25-linux-phc-0.3.1-teknohog.patch || die # mpatch patches-${PVER}-${PBUILD}/0157-2.6.25-acpi-dsdt-initrd-0.9a.patch || die mpatch patches-${PVER}-${PBUILD}/0159-2.6.25-reiser4-2.patch || die mpatch patches-${PVER}-${PBUILD}/0160-2.6.25-ipw3945-1.2.2.patch || die # 300-400 - compilations fixes and other mpatch patches-${PVER}-${PBUILD}/0301-2.6.25-mptbase-vmware-fix.patch || die mpatch patches-${PVER}-${PBUILD}/0302-2.6.25-powertop-fixes.patch || die # 1000-2000 - xen specific patches # (these patches create new files, use -Np1 here to be safe) mpatch -Np1 patches-${PVER}-${PBUILD}/1001-2.6.25-xen-linux-2.6.19-rc1-kexec-move_segment_code-i386.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1002-2.6.25-xen-linux-2.6.19-rc1-kexec-move_segment_code-x86_64.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1003-2.6.25-xen-ipv6-no-autoconf.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1004-2.6.25-xen-sfc-network-driver.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1005-2.6.25-xen-sfc-resource-driver.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1006-2.6.25-xen-sfc-fixup.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1007-2.6.25-xen-auto-xen-arch.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1008-2.6.25-xen-auto-xen-drivers.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1009-2.6.25-xen-auto-include-xen-interface.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1010-2.6.25-xen-auto-xen-kconfig.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1011-2.6.25-xen-auto-common.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1012-2.6.25-xen-auto-arch-x86.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1013-2.6.25-xen-auto-arch-i386.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1014-2.6.25-xen-auto-arch-x86_64.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1015-2.6.25-xen-fixup-xen.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1016-2.6.25-xen-fixup-kconfig.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1017-2.6.25-xen-fixup-common.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1018-2.6.25-xen-fixup-arch-x86.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1019-2.6.25-xen-patch-2.6.18.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1020-2.6.25-xen-patch-2.6.19.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1021-2.6.25-xen-patch-2.6.20.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1022-2.6.25-xen-patch-2.6.21.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1023-2.6.25-xen-patch-2.6.22.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1024-2.6.25-xen-patch-2.6.23.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1025-2.6.25-xen-patch-2.6.24.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1026-2.6.25-xen-patch-2.6.25-rc5.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1027-2.6.25-xen-patch-2.6.25-rc5-rc6.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1028-2.6.25-xen-patch-2.6.25-rc6-rc7.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1029-2.6.25-xen-patch-2.6.25-rc7-rc8.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1030-2.6.25-xen-patch-2.6.25-rc8-rc9.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1031-2.6.25-xen-seccomp-disable-tsc-option.patch || die # mpatch -Np1 patches-${PVER}-${PBUILD}/1032-2.6.25-xen-silent-stack-overflow.patch || die # mpatch -Np1 patches-${PVER}-${PBUILD}/1033-2.6.25-xen-sysfs-crash-debugging.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1034-2.6.25-xen-stack-unwind.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1035-2.6.25-xen-modular-blktap.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1036-2.6.25-xen-x86-panic-no-reboot.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1037-2.6.25-xen-i386-panic-on-oops.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1038-2.6.25-xen-configurable-console.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1039-2.6.25-xen-x86_64-init-cleanup.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1040-2.6.25-xen-balloon-max-target.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1041-2.6.25-xen-x86-dcr-fallback.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1042-2.6.25-xen-x86-consistent-nmi.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1043-2.6.25-xen-x86-no-lapic.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1044-2.6.25-xen-blkback-bimodal-suse.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1045-2.6.25-xen-blkif-protocol-fallback-hack.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1046-2.6.25-xen-blkback-cdrom.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1047-2.6.25-xen-sections.patch || die mpatch -Np1 patches-${PVER}-${PBUILD}/1048-2.6.25-xen-add-console-use-vt.patch || die }