Contents of /branches/magellan-next/core/kernel26-magellan/kernel26-magellan-2.6.39-r1.smage2
Parent Directory | Revision Log
Revision 7898 -
(show annotations)
(download)
Fri Jun 3 19:01:50 2011 UTC (13 years, 3 months ago) by niro
File size: 2455 byte(s)
Fri Jun 3 19:01:50 2011 UTC (13 years, 3 months ago) by niro
File size: 2455 byte(s)
-use virtuals for initramfs-tools and initscripts
1 | # $Id: kernel26-magellan-2.6.33-r3.smage2 5605 2010-07-12 13:44:55Z niro $ |
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="image" |
16 | |
17 | # which branch we're using |
18 | BRANCH="magellan" |
19 | |
20 | PNAME="kernel26-${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 image with udev, fbsplash, vesa-tng, reiser4 support." |
32 | HOMEPAGE="http://magellan-linux.net" |
33 | |
34 | DEPEND=">= sys-apps/module-init-tools-3.12 |
35 | >= sys-fs/udev-170 |
36 | >= virtual/initramfs-tools |
37 | >= virtual/initscripts" |
38 | |
39 | PROVIDE="virtual/kernel |
40 | virtual/alsa-drivers" |
41 | |
42 | SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2" |
43 | SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}" |
44 | |
45 | # include global kernel26 functions |
46 | sminclude kernel26 mtools |
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 | SRC_URI=( |
54 | http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE} |
55 | mirror://kernel26-${BRANCH}/${SRCFILE} |
56 | mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686 |
57 | mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64 |
58 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.39-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}" |
59 | "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.39-unionfs-2.5.9.1.patch patches-${PVER}-${PBUILD}" |
60 | ) |
61 | |
62 | UP2PVER="${PVER}" |
63 | UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'" |
64 | |
65 | src_prepare() |
66 | { |
67 | kernel26_src_prepare || die |
68 | |
69 | # 001-100 - ck patches (deprecated atm) |
70 | # 100-150 - official updates |
71 | # 150-300 - magellan patches, driver updates etc |
72 | mpatch patches-${PVER}-${PBUILD}/0150-2.6.39-fbcondecor-0.9.6.patch || die |
73 | mpatch patches-${PVER}-${PBUILD}/0153-2.6.39-unionfs-2.5.9.1.patch || die |
74 | # 300-400 - compilations fixes and other |
75 | } |