Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9618 - (hide annotations) (download)
Tue Jan 3 13:15:51 2012 UTC (12 years, 5 months ago) by niro
File size: 2962 byte(s)
-moved to 'deprecated'
1 niro 8408 # $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="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.39${PSUBVER}"
27     PBUILD="r2"
28    
29     PCATEGORIE="sys-kernel"
30    
31     DESCRIPTION="Magellan ${PVER}-${BRANCH}-${PBUILD} kernel sources."
32     HOMEPAGE="http://magellan-linux.net"
33    
34     DEPEND=""
35    
36     PROVIDE="virtual/kernel-sources"
37    
38     SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
39     SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
40    
41     # include global kernel26 functions
42     sminclude kernel26
43    
44     # --- extra drivers included in this kernel: ---
45     # we do not bundle ati-drivers and nvidia-glx drivers anymore
46     # use our new module builders!
47     # --- eot extra drivers ---
48    
49     # we are providing a realpkg from now on !
50     # note2: we prevent to build a package here (smage2)
51     #NOPKGBUILD=true
52    
53     # no need to waste time here
54     NOSTRIP=true
55    
56     SRC_URI=(
57     http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
58     mirror://kernel26-${BRANCH}/${SRCFILE}
59     mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
60     mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
61     "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0100-2.6.39.1-all-fixes.patch patches-${PVER}-${PBUILD}"
62     "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0101-2.6.39.2-all-fixes.patch patches-${PVER}-${PBUILD}"
63     "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0102-2.6.39.3-all-fixes.patch patches-${PVER}-${PBUILD}"
64     "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.39-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}"
65     "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.39-unionfs-2.5.9.1.patch patches-${PVER}-${PBUILD}"
66     )
67    
68     UP2PVER="${PVER}.3"
69     UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
70    
71     src_prepare()
72     {
73     kernel26_src_prepare || die
74    
75     # 001-100 - ck patches (deprecated atm)
76     # 100-150 - official updates
77     mpatch patches-${PVER}-${PBUILD}/0100-2.6.39.1-all-fixes.patch || die
78     mpatch patches-${PVER}-${PBUILD}/0101-2.6.39.2-all-fixes.patch || die
79     mpatch patches-${PVER}-${PBUILD}/0102-2.6.39.3-all-fixes.patch || die
80     # 150-300 - magellan patches, driver updates etc
81     mpatch patches-${PVER}-${PBUILD}/0150-2.6.39-fbcondecor-0.9.6.patch || die
82     mpatch patches-${PVER}-${PBUILD}/0153-2.6.39-unionfs-2.5.9.1.patch || die
83     # 300-400 - compilations fixes and other
84     }