/[smage]/branches/magellan-next/core/kernel26-sources-magellan/kernel26-sources-magellan-2.6.39-r1.smage2 |
Contents of /branches/magellan-next/core/kernel26-sources-magellan/kernel26-sources-magellan-2.6.39-r1.smage2
Parent Directory | Revision Log
Revision 7595 -
(show annotations)
(download)
Fri May 27 13:05:06 2011 UTC (13 years ago) by niro
File size: 2493 byte(s)
Fri May 27 13:05:06 2011 UTC (13 years ago) by niro
File size: 2493 byte(s)
2.6.39-magellan-r1: using linux-2.6.39, fbcondecor-0.9.6, unionfs-2.5.9.1. dropped reiser4 and tuxonice support
1 | # $Id$ |
2 | |
3 | # standard magellan kernel: |
4 | # using linux-2.6.39 |
5 | # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/) |
6 | # using unionfs-2.5.9.1 (http://www.filesystems.org/project-unionfs.html) |
7 | # dropped tuxonice support atm |
8 | # dropped reiser4 support |
9 | # enabled all options needed to use lxc conatiners (see: http://lxc.teegra.net/) |
10 | # removed deprecated ATA support, only use PATA drivers |
11 | # enabled btrfs filesystem |
12 | # added patch to mount cgroupfs under /sys/fs/cgroup |
13 | |
14 | # what type are we building (sources or image) ? |
15 | KERNEL_TYPE="sources" |
16 | |
17 | # which branch we're using |
18 | BRANCH="magellan" |
19 | |
20 | PNAME="kernel26-sources-${BRANCH}" |
21 | |
22 | # 2.6.x.x subver style |
23 | PSUBVER="" |
24 | |
25 | PVER="2.6.39${PSUBVER}" |
26 | PBUILD="r1" |
27 | |
28 | PCATEGORIE="sys-kernel" |
29 | STATE="unstable" |
30 | |
31 | DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources." |
32 | HOMEPAGE="http://magellan-linux.net" |
33 | |
34 | DEPEND="" |
35 | |
36 | PROVIDE="virtual/kernel-sources" |
37 | |
38 | # we are providing a realpkg from now on ! |
39 | # note: for srcinstall only ! no package exists |
40 | #PKGTYPE="sources" |
41 | |
42 | SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2" |
43 | SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}" |
44 | |
45 | # include global kernel26 functions |
46 | sminclude kernel26 |
47 | |
48 | # --- extra drivers included in this kernel: --- |
49 | # we do not bundle ati-drivers and nvidia-glx drivers anymore |
50 | # use our new module builders! |
51 | # --- eot extra drivers --- |
52 | |
53 | # we are providing a realpkg from now on ! |
54 | # note2: we prevent to build a package here (smage2) |
55 | #NOPKGBUILD=true |
56 | |
57 | # no need to waste time here |
58 | NOSTRIP=true |
59 | |
60 | SRC_URI=( |
61 | http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE} |
62 | mirror://kernel26-${BRANCH}/${SRCFILE} |
63 | mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686 |
64 | mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64 |
65 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.39-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}" |
66 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.39-unionfs-2.5.9.1.patch patches-${PVER}-${PBUILD}" |
67 | ) |
68 | |
69 | UP2PVER="${PVER}" |
70 | UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'" |
71 | |
72 | src_prepare() |
73 | { |
74 | kernel26_src_prepare || die |
75 | |
76 | # 001-100 - ck patches (deprecated atm) |
77 | # 100-150 - official updates |
78 | # 150-300 - magellan patches, driver updates etc |
79 | mpatch patches-${PVER}-${PBUILD}/0150-2.6.39-fbcondecor-0.9.6.patch || die |
80 | mpatch patches-${PVER}-${PBUILD}/0153-2.6.39-unionfs-2.5.9.1.patch || die |
81 | # 300-400 - compilations fixes and other |
82 | } |