Magellan Linux

Contents of /smage/trunk/core/kernel26-sources-mcore/kernel26-sources-mcore-2.6.33-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 150 - (show annotations) (download)
Mon Apr 26 18:46:58 2010 UTC (14 years ago) by niro
File size: 3230 byte(s)
auto added: ver bump to 2.6.33-r1
1 # $Id$
2
3 # based on the standard magellan kernel (2.6.33-magellan-r1):
4 # using linux-2.6.33.2
5 # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/)
6 # using unionfs-2.5.4 (http://www.filesystems.org/project-unionfs.html)
7 # using tuxonice-3.1 (suspend2) (http://www.suspend2.net/)
8 # -> disabled tuxonice-cluster modules; seems to be broken
9 # using reiser4 (http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/)
10 # -> using mm-patch from http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/
11
12 # what type are we building (sources or image) ?
13 KERNEL_TYPE="sources"
14
15 # which branch we're using
16 BRANCH="mcore"
17
18 PNAME="kernel26-sources-${BRANCH}"
19
20 # 2.6.x.x subver style
21 PSUBVER=""
22
23 PVER="2.6.33${PSUBVER}"
24 PBUILD="r1"
25
26 PCATEGORIE="sys-kernel"
27 STATE="unstable"
28
29 DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources."
30 HOMEPAGE="http://magellan-linux.net"
31
32 DEPEND=""
33
34 PROVIDE="virtual/kernel-sources"
35
36 # we are providing a realpkg from now on !
37 # note: for srcinstall only ! no package exists
38 #PKGTYPE="sources"
39
40 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
41 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
42
43 # include global kernel26 functions
44 sminclude kernel26
45
46 # --- extra drivers included in this kernel: ---
47 # we do not bundle ati-drivers and nvidia-glx drivers anymore
48 # use our new module builders!
49 # --- eot extra drivers ---
50
51 # we are providing a realpkg from now on !
52 # note2: we prevent to build a package here (smage2)
53 #NOPKGBUILD=true
54
55 # no need to waste time here
56 NOSTRIP=true
57
58 SRC_URI=(
59 http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
60 mirror://kernel26-${BRANCH}/${SRCFILE}
61 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
62 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0100-2.6.33.1-all-fixes.patch patches-${PVER}-${PBUILD}"
63 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0101-2.6.33.2-all-fixes.patch patches-${PVER}-${PBUILD}"
64 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.33-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}"
65 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.33-unionfs-2.5.4.patch patches-${PVER}-${PBUILD}"
66 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0154-2.6.33-tuxonice-3.1.patch patches-${PVER}-${PBUILD}"
67 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0159-2.6.33-reiser4-8.patch patches-${PVER}-${PBUILD}"
68 )
69
70 UP2PVER="${PVER}.2"
71 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
72
73 src_prepare()
74 {
75 kernel26_src_prepare || die
76
77 # 001-100 - ck patches (deprecated atm)
78 # 100-150 - official updates
79 mpatch patches-${PVER}-${PBUILD}/0100-2.6.33.1-all-fixes.patch || die
80 mpatch patches-${PVER}-${PBUILD}/0101-2.6.33.2-all-fixes.patch || die
81 # 150-300 - magellan patches, driver updates etc
82 mpatch patches-${PVER}-${PBUILD}/0150-2.6.33-fbcondecor-0.9.6.patch || die
83 mpatch patches-${PVER}-${PBUILD}/0153-2.6.33-unionfs-2.5.4.patch || die
84 mpatch patches-${PVER}-${PBUILD}/0154-2.6.33-tuxonice-3.1.patch || die
85 mpatch patches-${PVER}-${PBUILD}/0159-2.6.33-reiser4-8.patch || die
86 # 300-400 - compilations fixes and other
87 }

Properties

Name Value
svn:keywords Id