Magellan Linux

Contents of /trunk/core/kernel26-sources-magellan/kernel26-sources-magellan-2.6.33-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5607 - (show annotations) (download)
Mon Jul 12 15:31:22 2010 UTC (13 years, 11 months ago) by niro
File size: 4087 byte(s)
2.6.33-magellan-r3:
-updated to linux-2.6.33.6
-enabled all options needed to run lxc containers
1 # $Id$
2
3 # standard magellan kernel:
4 # using linux-2.6.33.6
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 # enabled all options needed to use lxc conatiners (see: http://lxc.teegra.net/)
12
13 # what type are we building (sources or image) ?
14 KERNEL_TYPE="sources"
15
16 # which branch we're using
17 BRANCH="magellan"
18
19 PNAME="kernel26-sources-${BRANCH}"
20
21 # 2.6.x.x subver style
22 PSUBVER=""
23
24 PVER="2.6.33${PSUBVER}"
25 PBUILD="r3"
26
27 PCATEGORIE="sys-kernel"
28 STATE="unstable"
29
30 DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources."
31 HOMEPAGE="http://magellan-linux.net"
32
33 DEPEND=""
34
35 PROVIDE="virtual/kernel-sources"
36
37 # we are providing a realpkg from now on !
38 # note: for srcinstall only ! no package exists
39 #PKGTYPE="sources"
40
41 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
42 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
43
44 # include global kernel26 functions
45 sminclude kernel26
46
47 # --- extra drivers included in this kernel: ---
48 # we do not bundle ati-drivers and nvidia-glx drivers anymore
49 # use our new module builders!
50 # --- eot extra drivers ---
51
52 # we are providing a realpkg from now on !
53 # note2: we prevent to build a package here (smage2)
54 #NOPKGBUILD=true
55
56 # no need to waste time here
57 NOSTRIP=true
58
59 SRC_URI=(
60 http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
61 mirror://kernel26-${BRANCH}/${SRCFILE}
62 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
63 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
64 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0100-2.6.33.1-all-fixes.patch patches-${PVER}-${PBUILD}"
65 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0101-2.6.33.2-all-fixes.patch patches-${PVER}-${PBUILD}"
66 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0102-2.6.33.3-all-fixes.patch patches-${PVER}-${PBUILD}"
67 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0103-2.6.33.4-all-fixes.patch patches-${PVER}-${PBUILD}"
68 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0104-2.6.33.5-all-fixes.patch patches-${PVER}-${PBUILD}"
69 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0105-2.6.33.6-all-fixes.patch patches-${PVER}-${PBUILD}"
70 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.33-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}"
71 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.33-unionfs-2.5.4.patch patches-${PVER}-${PBUILD}"
72 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0154-2.6.33-tuxonice-3.1.patch patches-${PVER}-${PBUILD}"
73 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0159-2.6.33-reiser4-8.patch patches-${PVER}-${PBUILD}"
74 )
75
76 UP2PVER="${PVER}.6"
77 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
78
79 src_prepare()
80 {
81 kernel26_src_prepare || die
82
83 # 001-100 - ck patches (deprecated atm)
84 # 100-150 - official updates
85 mpatch patches-${PVER}-${PBUILD}/0100-2.6.33.1-all-fixes.patch || die
86 mpatch patches-${PVER}-${PBUILD}/0101-2.6.33.2-all-fixes.patch || die
87 mpatch patches-${PVER}-${PBUILD}/0102-2.6.33.3-all-fixes.patch || die
88 mpatch patches-${PVER}-${PBUILD}/0103-2.6.33.4-all-fixes.patch || die
89 mpatch patches-${PVER}-${PBUILD}/0104-2.6.33.5-all-fixes.patch || die
90 mpatch patches-${PVER}-${PBUILD}/0105-2.6.33.6-all-fixes.patch || die
91 # 150-300 - magellan patches, driver updates etc
92 mpatch patches-${PVER}-${PBUILD}/0150-2.6.33-fbcondecor-0.9.6.patch || die
93 mpatch patches-${PVER}-${PBUILD}/0153-2.6.33-unionfs-2.5.4.patch || die
94 mpatch patches-${PVER}-${PBUILD}/0154-2.6.33-tuxonice-3.1.patch || die
95 mpatch patches-${PVER}-${PBUILD}/0159-2.6.33-reiser4-8.patch || die
96 # 300-400 - compilations fixes and other
97 }

Properties

Name Value
svn:keywords Id