Magellan Linux

Contents of /smage/trunk/core/kernel26-alx/kernel26-alx-2.6.28-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 901 - (show annotations) (download)
Mon Aug 3 21:04:38 2009 UTC (14 years, 10 months ago) by niro
File size: 5115 byte(s)
-2.6.28-alx-r2: disabled config_sysfs_deprecated{,_v2}
1 # $Id$
2
3 # based on the standard magellan kernel (2.6.24-magellan-r7):
4 # using linux-2.6.28
5 # using fbcondecor-0.9.5 (http://dev.gentoo.org/~spock/projects/fbcondecor/)
6 # using squashfs-3.4 (http://squashfs.sourceforge.net/)
7 # -> re-diffed, added a fix to work with linux-2.6.28 (see http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg598003.html)
8 # added unionfs-2.5 (http://www.filesystems.org/project-unionfs.html)
9 # using tuxonice-3.0-rc8 (suspend2) (http://www.suspend2.net/)
10 # -> disabled tuxonice-cluster modules; seems to be broken
11 # using linux-phc-0.3.1 (https://www.dedigentoo.org/trac/linux-phc/)
12 # -> using a patched version from http://hoo.homeunix.net/~teknohog/hacks/linux-phc-kernel-vanilla-2.6.25-teknohog.patch
13 # disabled acpi-dsdt-0.9c (http://acpi.sourceforge.net/ && http://gaugusch.at/kernel.shtml)
14 # -> disabled cause of "runaway loop request module binfmt-0000"
15 # -> using re-diff for 2.6.28
16 # using reiser4 (http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/)
17 # -> using mm-patch from http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/
18 # added fix for mptbase; vmware does not detect any scsi disk
19 # - see: http://bbs.archlinux.org/viewtopic.php?pid=249283
20 # added some fixes for powertop (http://www.lesswatts.org/projects/powertop/)
21 # use modular ide-framework to fix udma issues with nforce boards
22 # using atl2-2.0.4 ethernet driver (http://people.redhat.com/csnook/atl2/; http://atl2.sourceforge.net/)
23 # -> using a version from fedora which works with linux-2.6.27
24 # dropped some fb drivers (FB_S3, FB_VT8623, FB_ARK) to disable the FB_TILEBLITTING symbol to enable FB_CON_DECOR
25 # enabled ufs filesystem support in kernel-configs
26 # disabled CONFIG_SYSFS_DEPRECATED && CONFIG_SYSFS_DEPRECATED_V2 to respect modern udev versions
27 # removed i686 kernel-config - alx is i468 only!
28
29 # what type are we building (sources or image) ?
30 KERNEL_TYPE="image"
31
32 # which branch we're using
33 BRANCH="alx"
34
35 PNAME="kernel26-${BRANCH}"
36
37 # 2.6.x.x subver style
38 PSUBVER=""
39
40 PVER="2.6.28${PSUBVER}"
41 PBUILD="r2"
42
43 PCATEGORIE="sys-kernel"
44 STATE="unstable"
45
46 DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel image with udev, fbsplash, vesa-tng, reiser4 support."
47 HOMEPAGE="http://magellan-linux.net"
48
49 DEPEND=">= sys-apps/module-init-tools-3.4
50 >= sys-fs/udev-135
51 >= sys-apps/mkinitrd-6.0.9
52 >= virtual/initscripts"
53
54 PROVIDE="virtual/kernel
55 virtual/alsa-drivers"
56
57 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
58 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
59
60 # include global kernel26 functions
61 sminclude kernel26 mtools alx
62
63 # --- extra drivers included in this kernel: ---
64 # we do not bundle ati-drivers and nvidia-glx drivers anymore
65 # use our new module builders!
66 # --- eot extra drivers ---
67
68 SRC_URI=(
69 http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
70 mirror://kernel26-${BRANCH}/${SRCFILE}
71 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
72 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.28-fbcondecor-0.9.5.patch patches-${PVER}-${PBUILD}"
73 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0152-2.6.28-squashfs-3.4-2.patch patches-${PVER}-${PBUILD}"
74 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.28-unionfs-2.5.patch patches-${PVER}-${PBUILD}"
75 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0154-2.6.28-tuxonice-3.0-rc8.patch patches-${PVER}-${PBUILD}"
76 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0156-2.6.28-linux-phc-0.3.1-teknohog.patch patches-${PVER}-${PBUILD}"
77 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0157-2.6.28-acpi-dsdt-initrd-0.9c-2.patch patches-${PVER}-${PBUILD}"
78 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0159-2.6.28-reiser4-5.patch patches-${PVER}-${PBUILD}"
79 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0161-2.6.28-atl2-2.0.4-2.patch patches-${PVER}-${PBUILD}"
80 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0301-2.6.28-mptbase-vmware-fix.patch patches-${PVER}-${PBUILD}"
81 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0303-2.6.28-strip-debug.patch patches-${PVER}-${PBUILD}"
82 )
83
84 src_prepare()
85 {
86 kernel26_src_prepare || die
87
88 # 001-100 - ck patches (deprecated atm)
89 # 100-150 - official updates
90 # 150-300 - magellan patches, driver updates etc
91 mpatch patches-${PVER}-${PBUILD}/0150-2.6.28-fbcondecor-0.9.5.patch || die
92 mpatch patches-${PVER}-${PBUILD}/0152-2.6.28-squashfs-3.4-2.patch || die
93 mpatch patches-${PVER}-${PBUILD}/0153-2.6.28-unionfs-2.5.patch || die
94 mpatch patches-${PVER}-${PBUILD}/0154-2.6.28-tuxonice-3.0-rc8.patch || die
95 mpatch patches-${PVER}-${PBUILD}/0156-2.6.28-linux-phc-0.3.1-teknohog.patch || die
96 # mpatch patches-${PVER}-${PBUILD}/0157-2.6.28-acpi-dsdt-initrd-0.9c-2.patch || die
97 mpatch patches-${PVER}-${PBUILD}/0159-2.6.28-reiser4-5.patch || die
98 mpatch patches-${PVER}-${PBUILD}/0161-2.6.28-atl2-2.0.4-2.patch || die
99 # 300-400 - compilations fixes and other
100 mpatch patches-${PVER}-${PBUILD}/0301-2.6.28-mptbase-vmware-fix.patch || die
101 mpatch patches-${PVER}-${PBUILD}/0303-2.6.28-strip-debug.patch || die
102 }

Properties

Name Value
svn:keywords Id