Magellan Linux

Contents of /trunk/core/kernel26-sources-magellan/kernel26-sources-magellan-2.6.34-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5679 - (show annotations) (download)
Mon Aug 2 13:55:05 2010 UTC (13 years, 9 months ago) by niro
File size: 3255 byte(s)
auto added: ver bump to 2.6.34-r1
1 # $Id: kernel26-sources-magellan-2.6.33-r3.smage2 5607 2010-07-12 15:31:22Z niro $
2
3 # standard magellan kernel:
4 # using linux-2.6.34.1
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.1.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.34${PSUBVER}"
25 PBUILD="r1"
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.34.1-all-fixes.patch patches-${PVER}-${PBUILD}"
65 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.34-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}"
66 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.34-unionfs-2.5.4.patch patches-${PVER}-${PBUILD}"
67 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0154-2.6.34-tuxonice-3.1.1.1.patch patches-${PVER}-${PBUILD}"
68 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0159-2.6.34-reiser4-9.patch patches-${PVER}-${PBUILD}"
69 )
70
71 UP2PVER="${PVER}.1"
72 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
73
74 src_prepare()
75 {
76 kernel26_src_prepare || die
77
78 # 001-100 - ck patches (deprecated atm)
79 # 100-150 - official updates
80 mpatch patches-${PVER}-${PBUILD}/0100-2.6.34.1-all-fixes.patch || die
81 # 150-300 - magellan patches, driver updates etc
82 mpatch patches-${PVER}-${PBUILD}/0150-2.6.34-fbcondecor-0.9.6.patch || die
83 mpatch patches-${PVER}-${PBUILD}/0153-2.6.34-unionfs-2.5.4.patch || die
84 mpatch patches-${PVER}-${PBUILD}/0154-2.6.34-tuxonice-3.1.1.1.patch || die
85 mpatch patches-${PVER}-${PBUILD}/0159-2.6.34-reiser4-9.patch || die
86 # 300-400 - compilations fixes and other
87 }