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