/[smage]/branches/magellan-next/core/kernel26-sources-magellan/kernel26-sources-magellan-2.6.35-r4.smage2 |
Contents of /branches/magellan-next/core/kernel26-sources-magellan/kernel26-sources-magellan-2.6.35-r4.smage2
Parent Directory | Revision Log
Revision 6684 -
(show annotations)
(download)
Tue Sep 21 15:05:17 2010 UTC (14 years ago) by niro
File size: 4442 byte(s)
Tue Sep 21 15:05:17 2010 UTC (14 years ago) by niro
File size: 4442 byte(s)
auto added: ver bump to 2.6.35-r4
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.35.5 |
5 | # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/) |
6 | # using unionfs-2.5.5 (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 | # removed deprecated ATA support, only use PATA drivers |
13 | # enabled btrfs filesystem |
14 | # added patch to mount cgroupfs under /sys/fs/cgroup |
15 | |
16 | # what type are we building (sources or image) ? |
17 | KERNEL_TYPE="sources" |
18 | |
19 | # which branch we're using |
20 | BRANCH="magellan" |
21 | |
22 | PNAME="kernel26-sources-${BRANCH}" |
23 | |
24 | # 2.6.x.x subver style |
25 | PSUBVER="" |
26 | |
27 | PVER="2.6.35${PSUBVER}" |
28 | PBUILD="r4" |
29 | |
30 | PCATEGORIE="sys-kernel" |
31 | STATE="unstable" |
32 | |
33 | DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources." |
34 | HOMEPAGE="http://magellan-linux.net" |
35 | |
36 | DEPEND="" |
37 | |
38 | PROVIDE="virtual/kernel-sources" |
39 | |
40 | # we are providing a realpkg from now on ! |
41 | # note: for srcinstall only ! no package exists |
42 | #PKGTYPE="sources" |
43 | |
44 | SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2" |
45 | SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}" |
46 | |
47 | # include global kernel26 functions |
48 | sminclude kernel26 |
49 | |
50 | # --- extra drivers included in this kernel: --- |
51 | # we do not bundle ati-drivers and nvidia-glx drivers anymore |
52 | # use our new module builders! |
53 | # --- eot extra drivers --- |
54 | |
55 | # we are providing a realpkg from now on ! |
56 | # note2: we prevent to build a package here (smage2) |
57 | #NOPKGBUILD=true |
58 | |
59 | # no need to waste time here |
60 | NOSTRIP=true |
61 | |
62 | SRC_URI=( |
63 | http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE} |
64 | mirror://kernel26-${BRANCH}/${SRCFILE} |
65 | mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686 |
66 | mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64 |
67 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0100-2.6.35.1-all-fixes.patch patches-${PVER}-${PBUILD}" |
68 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0101-2.6.35.2-all-fixes.patch patches-${PVER}-${PBUILD}" |
69 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0102-2.6.35.3-all-fixes.patch patches-${PVER}-${PBUILD}" |
70 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0103-2.6.35.4-all-fixes.patch patches-${PVER}-${PBUILD}" |
71 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0104-2.6.35.5-all-fixes.patch patches-${PVER}-${PBUILD}" |
72 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.35-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}" |
73 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.35.4-unionfs-2.5.5.patch patches-${PVER}-${PBUILD}" |
74 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0154-2.6.35-tuxonice-3.1.1.1.patch patches-${PVER}-${PBUILD}" |
75 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0159-2.6.35-reiser4-10.patch patches-${PVER}-${PBUILD}" |
76 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0300-2.6.35-cgroup.patch patches-${PVER}-${PBUILD}" |
77 | ) |
78 | |
79 | UP2PVER="${PVER}.5" |
80 | UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'" |
81 | |
82 | src_prepare() |
83 | { |
84 | kernel26_src_prepare || die |
85 | |
86 | # 001-100 - ck patches (deprecated atm) |
87 | # 100-150 - official updates |
88 | mpatch patches-${PVER}-${PBUILD}/0100-2.6.35.1-all-fixes.patch || die |
89 | mpatch patches-${PVER}-${PBUILD}/0101-2.6.35.2-all-fixes.patch || die |
90 | mpatch patches-${PVER}-${PBUILD}/0102-2.6.35.3-all-fixes.patch || die |
91 | mpatch patches-${PVER}-${PBUILD}/0103-2.6.35.4-all-fixes.patch || die |
92 | mpatch patches-${PVER}-${PBUILD}/0104-2.6.35.5-all-fixes.patch || die |
93 | # 150-300 - magellan patches, driver updates etc |
94 | mpatch patches-${PVER}-${PBUILD}/0150-2.6.35-fbcondecor-0.9.6.patch || die |
95 | mpatch patches-${PVER}-${PBUILD}/0153-2.6.35.4-unionfs-2.5.5.patch || die |
96 | mpatch patches-${PVER}-${PBUILD}/0154-2.6.35-tuxonice-3.1.1.1.patch || die |
97 | mpatch patches-${PVER}-${PBUILD}/0159-2.6.35-reiser4-10.patch || die |
98 | # 300-400 - compilations fixes and other |
99 | # mount cgroupfs under /sys/fs/cgroup |
100 | # see: http://cgit.freedesktop.org/systemd/commit/?id=77d5f105bf63330350c7bddacdeda914f945590f |
101 | mpatch patches-${PVER}-${PBUILD}/0300-2.6.35-cgroup.patch || die |
102 | } |