Magellan Linux

Annotation of /branches/magellan-next/core/kernel26-magellan/kernel26-magellan-2.6.39-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8407 - (hide annotations) (download)
Mon Jul 18 14:35:56 2011 UTC (12 years, 11 months ago) by niro
File size: 2957 byte(s)
-fixed typos
1 niro 8406 # $Id$
2    
3     # standard magellan kernel:
4     # using linux-2.6.39.3
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     # disabled deprecated acpi procfs features
14    
15     # what type are we building (sources or image) ?
16     KERNEL_TYPE="image"
17    
18     # which branch we're using
19     BRANCH="magellan"
20    
21     PNAME="kernel26-${BRANCH}"
22    
23     # 2.6.x.x subver style
24     PSUBVER=""
25    
26     PVER="2.6.39${PSUBVER}"
27     PBUILD="r2"
28    
29     PCATEGORIE="sys-kernel"
30    
31     DESCRIPTION="Magellan ${PVER}-${BRANCH}-${PBUILD} kernel image with udev, fbsplash, unionfs 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}/0100-2.6.39.1-all-fixes.patch patches-${PVER}-${PBUILD}"
59     "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0101-2.6.39.2-all-fixes.patch patches-${PVER}-${PBUILD}"
60     "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0102-2.6.39.3-all-fixes.patch patches-${PVER}-${PBUILD}"
61     "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.39-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}"
62     "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.39-unionfs-2.5.9.1.patch patches-${PVER}-${PBUILD}"
63     )
64    
65     UP2PVER="${PVER}.3"
66     UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
67    
68     src_prepare()
69     {
70     kernel26_src_prepare || die
71    
72     # 001-100 - ck patches (deprecated atm)
73     # 100-150 - official updates
74 niro 8407 mpatch patches-${PVER}-${PBUILD}/0100-2.6.39.1-all-fixes.patch || die
75     mpatch patches-${PVER}-${PBUILD}/0101-2.6.39.2-all-fixes.patch || die
76     mpatch patches-${PVER}-${PBUILD}/0102-2.6.39.3-all-fixes.patch || die
77 niro 8406 # 150-300 - magellan patches, driver updates etc
78     mpatch patches-${PVER}-${PBUILD}/0150-2.6.39-fbcondecor-0.9.6.patch || die
79     mpatch patches-${PVER}-${PBUILD}/0153-2.6.39-unionfs-2.5.9.1.patch || die
80     # 300-400 - compilations fixes and other
81     }