Magellan Linux

Contents of /trunk/core/kernel26-magellan/kernel26-magellan-2.6.27-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 270 - (show annotations) (download)
Mon Oct 20 09:31:41 2008 UTC (15 years, 6 months ago) by niro
File size: 5582 byte(s)
-using new patch from http://zen-sources.org/files/reiser4-for-2.6.27-rc1.patch
1 # $Header: /magellan-cvs/smage/kernel26-magellan/kernel26-magellan-2.6.25-r5.smage2,v 1.1 2008/10/06 22:05:48 niro Exp $
2
3 # standard magellan kernel:
4 # using linux-2.6.27.2
5 # using fbcondecor-0.9.4 (http://dev.gentoo.org/~spock/projects/fbcondecor/)
6 # using squashfs-3.4 (http://squashfs.sourceforge.net/)
7 # using unionfs-2.5 (http://www.filesystems.org/project-unionfs.html)
8 # using tuxonice-3.0-rc7a (suspend2) (http://www.suspend2.net/)
9 # -> disabled tuxonice-cluster modules; seems to be broken
10 # using linux-phc-0.3.1 (https://www.dedigentoo.org/trac/linux-phc/)
11 # -> using a patched version from http://hoo.homeunix.net/~teknohog/hacks/linux-phc-kernel-vanilla-2.6.25-teknohog.patch
12 # disabled acpi-dsdt-0.9c (http://acpi.sourceforge.net/ && http://gaugusch.at/kernel.shtml)
13 # -> disabled cause of "runaway loop request module binfmt-0000"
14 # using reiser4 (http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/)
15 # -> using new patch from http://zen-sources.org/files/reiser4-for-2.6.27-rc1.patch
16 # dropped ipw3945-1.2.2 wlan driver (http://ipw3945.sf.net)
17 # added fix for mptbase; vmware does not detect any scsi disk
18 # - see: http://bbs.archlinux.org/viewtopic.php?pid=249283
19 # added some fixes for powertop (http://www.lesswatts.org/projects/powertop/)
20 # use modular ide-framework to fix udma issues with nforce boards
21 # using atl2-2.0.4 ethernet driver (http://people.redhat.com/csnook/atl2/; http://atl2.sourceforge.net/)
22 # -> using a version from fedora which works with linux-2.6.27
23 # dropped some fb drivers (FB_S3, FB_VT8623, FB_ARK) to disable the FB_TILEBLITTING symbol to enable FB_CON_DECOR
24
25 # what type are we building (sources or image) ?
26 KERNEL_TYPE="image"
27
28 # which branch we're using
29 BRANCH="magellan"
30
31 PNAME="kernel26-${BRANCH}"
32
33 # 2.6.x.x subver style
34 PSUBVER=""
35
36 PVER="2.6.27${PSUBVER}"
37 PBUILD="r1"
38
39 PCATEGORIE="sys-kernel"
40 STATE="unstable"
41
42 DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel image with udev, fbsplash, vesa-tng, reiser4 support."
43 HOMEPAGE="http://magellan-linux.net"
44
45 DEPEND=">= sys-apps/module-init-tools-3.4
46 >= sys-fs/udev-130
47 >= sys-apps/hotplug-20040401
48 >= sys-apps/mkinitrd-6.0.9
49 >= sys-apps/initscripts-0.4.13"
50
51 PROVIDE="virtual/kernel
52 virtual/alsa-drivers"
53
54 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
55 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
56
57 # include global kernel26 functions
58 sminclude kernel26 mtools
59
60 # --- extra drivers included in this kernel: ---
61 # we do not bundle ati-drivers and nvidia-glx drivers anymore
62 # use our new module builders!
63 # --- eot extra drivers ---
64
65 SRC_URI=(
66 http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
67 mirror://kernel26-${BRANCH}/${SRCFILE}
68 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
69 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
70 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0100-2.6.27.1-all-fixes.patch patches-${PVER}-${PBUILD}"
71 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0101-2.6.27.2-all-fixes.patch patches-${PVER}-${PBUILD}"
72 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.27-fbcondecor-0.9.4.patch patches-${PVER}-${PBUILD}"
73 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0152-2.6.27-squashfs-3.4.patch patches-${PVER}-${PBUILD}"
74 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.27-unionfs-2.5.patch patches-${PVER}-${PBUILD}"
75 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0154-2.6.27-tuxonice-3.0-rc7a.patch patches-${PVER}-${PBUILD}"
76 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0156-2.6.27-linux-phc-0.3.1-teknohog.patch patches-${PVER}-${PBUILD}"
77 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0157-2.6.27-acpi-dsdt-initrd-0.9c.patch patches-${PVER}-${PBUILD}"
78 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0159-2.6.27-reiser4-4.patch patches-${PVER}-${PBUILD}"
79 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0161-2.6.27-atl2-2.0.4-2.patch patches-${PVER}-${PBUILD}"
80 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0301-2.6.27-mptbase-vmware-fix.patch patches-${PVER}-${PBUILD}"
81 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0302-2.6.27-powertop-fixes.patch patches-${PVER}-${PBUILD}"
82 )
83
84 # only x.y.z releases not x.y.z.patchlevel
85 UP2DATE="updatecmd http://www.kernel.org/ | grep 'latest stable' | sed 's/.*\([0-9].[0-9].[0-9].*\) .*/\1/' | cut -d. -f1-3"
86
87 src_prepare()
88 {
89 kernel26_src_prepare || die
90
91 # 001-100 - ck patches (deprecated atm)
92 # 100-150 - official updates
93 mpatch patches-${PVER}-${PBUILD}/0100-2.6.27.1-all-fixes.patch || die
94 mpatch patches-${PVER}-${PBUILD}/0101-2.6.27.2-all-fixes.patch || die
95 # 150-300 - magellan patches, driver updates etc
96 mpatch patches-${PVER}-${PBUILD}/0150-2.6.27-fbcondecor-0.9.4.patch || die
97 mpatch patches-${PVER}-${PBUILD}/0152-2.6.27-squashfs-3.4.patch || die
98 mpatch patches-${PVER}-${PBUILD}/0153-2.6.27-unionfs-2.5.patch || die
99 # disabled atm, needs re-diff
100 # mpatch patches-${PVER}-${PBUILD}/0154-2.6.27-tuxonice-3.0-rc7a.patch || die
101 mpatch patches-${PVER}-${PBUILD}/0156-2.6.27-linux-phc-0.3.1-teknohog.patch || die
102 # mpatch patches-${PVER}-${PBUILD}/0157-2.6.27-acpi-dsdt-initrd-0.9c.patch || die
103 mpatch patches-${PVER}-${PBUILD}/0159-2.6.27-reiser4-4.patch || die
104 mpatch patches-${PVER}-${PBUILD}/0161-2.6.27-atl2-2.0.4-2.patch || die
105 # 300-400 - compilations fixes and other
106 mpatch patches-${PVER}-${PBUILD}/0301-2.6.27-mptbase-vmware-fix.patch || die
107 # disabled atm, needs re-diff
108 # mpatch patches-${PVER}-${PBUILD}/0302-2.6.27-powertop-fixes.patch || die
109 }

Properties

Name Value
svn:keywords Id