Magellan Linux

Contents of /smage/trunk/core/kernel26-mcore/kernel26-mcore-2.6.36-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 991 - (show annotations) (download)
Thu Dec 16 19:47:45 2010 UTC (13 years, 4 months ago) by niro
File size: 2577 byte(s)
-rev bump to 2.6.36-mcore-r4; really use linux-2.6.36.2 patch
1 # $Id: kernel26-mcore-2.6.33-r2.smage2 379 2010-05-04 22:44:05Z niro $
2
3 # based on the standard magellan kernel (2.6.33-magellan-r1):
4 # using linux-2.6.36.2
5 # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/)
6 # using unionfs-2.5.6 (http://www.filesystems.org/project-unionfs.html)
7 # dropped tuxonice support
8 # dropped reiser4 support
9 # enabled ipv6 support
10
11 # what type are we building (sources or image) ?
12 KERNEL_TYPE="image"
13
14 # which branch we're using
15 BRANCH="mcore"
16
17 PNAME="kernel26-${BRANCH}"
18
19 # 2.6.x.x subver style
20 PSUBVER=""
21
22 PVER="2.6.36${PSUBVER}"
23 PBUILD="r4"
24
25 PCATEGORIE="sys-kernel"
26 STATE="unstable"
27
28 DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel image with udev, fbsplash, vesa-tng, reiser4 support."
29 HOMEPAGE="http://magellan-linux.net"
30
31 DEPEND=">= sys-apps/module-init-tools-3.12
32 >= sys-fs/udev-165
33 >= sys-apps/mkinitrd-6.3
34 >= virtual/initscripts"
35
36 PROVIDE="virtual/kernel
37 virtual/alsa-drivers"
38
39 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
40 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
41
42 # include global kernel26 functions
43 sminclude kernel26 mtools
44
45 # --- extra drivers included in this kernel: ---
46 # we do not bundle ati-drivers and nvidia-glx drivers anymore
47 # use our new module builders!
48 # --- eot extra drivers ---
49
50 SRC_URI=(
51 http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
52 mirror://kernel26-${BRANCH}/${SRCFILE}
53 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
54 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0100-2.6.36.1-all-fixes.patch patches-${PVER}-${PBUILD}"
55 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0101-2.6.36.2-all-fixes.patch patches-${PVER}-${PBUILD}"
56 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.36-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}"
57 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.36-unionfs-2.5.6.patch patches-${PVER}-${PBUILD}"
58 )
59
60 UP2PVER="${PVER}.2"
61 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
62
63 src_prepare()
64 {
65 kernel26_src_prepare || die
66
67 # 001-100 - ck patches (deprecated atm)
68 # 100-150 - official updates
69 mpatch patches-${PVER}-${PBUILD}/0100-2.6.36.1-all-fixes.patch || die
70 mpatch patches-${PVER}-${PBUILD}/0101-2.6.36.2-all-fixes.patch || die
71 # 150-300 - magellan patches, driver updates etc
72 mpatch patches-${PVER}-${PBUILD}/0150-2.6.36-fbcondecor-0.9.6.patch || die
73 mpatch patches-${PVER}-${PBUILD}/0153-2.6.36-unionfs-2.5.6.patch || die
74 # 300-400 - compilations fixes and other
75 }