Magellan Linux

Annotation of /smage/trunk/core/kernel-sources-alx/kernel-sources-alx-3.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2959 - (hide annotations) (download)
Wed Sep 7 13:38:19 2011 UTC (12 years, 8 months ago) by niro
File size: 2819 byte(s)
auto added: ver bump to 3.0-r1
1 niro 2959 # $Id$
2    
3     # base alx kernel:
4     # using linux-3.0.4
5     # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/)
6     # using unionfs-2.5.9.2 (http://www.filesystems.org/project-unionfs.html)
7     # enabled cgroups support
8     # enabled devtmpfs automount
9     # dropped deprecated ata support, rely on pata/sata
10     # enabled verbose ata error reporting
11     # removed deprecated Intersil Prism GT/Duette/Indigo PCI/Cardbus driver in favor of the softmac driver
12    
13     # what type are we building (sources or image) ?
14     KERNEL_TYPE="sources"
15    
16     # which branch we're using
17     BRANCH="alx"
18    
19     PNAME="kernel-sources-${BRANCH}"
20    
21     PVER="3.0"
22     PBUILD="r1"
23    
24     PCATEGORIE="sys-kernel"
25    
26     DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources."
27     HOMEPAGE="http://magellan-linux.net"
28    
29     DEPEND=""
30    
31     PROVIDE="virtual/kernel-sources"
32    
33     SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
34     SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
35    
36     # include global kernel functions
37     sminclude kernel alx
38    
39     # --- extra drivers included in this kernel: ---
40     # we do not bundle ati-drivers and nvidia-glx drivers anymore
41     # use our new module builders!
42     # --- eot extra drivers ---
43    
44     # no need to waste time here
45     NOSTRIP=true
46    
47     SRC_URI=(
48     http://www.kernel.org/pub/linux/kernel/v${PVER%%.*}/${SRCFILE}
49     mirror://kernel-${BRANCH}/${SRCFILE}
50     mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
51     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0100-3.0.1-all-fixes.patch patches-${PVER}-${PBUILD}"
52     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0101-3.0.2-all-fixes.patch patches-${PVER}-${PBUILD}"
53     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0102-3.0.3-all-fixes.patch patches-${PVER}-${PBUILD}"
54     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0103-3.0.4-all-fixes.patch patches-${PVER}-${PBUILD}"
55     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0150-3.0-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}"
56     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0153-3.0-unionfs-2.5.9.2.patch patches-${PVER}-${PBUILD}"
57     )
58    
59     UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
60    
61     src_prepare()
62     {
63     kernel_src_prepare || die
64    
65     # 001-100 - ck patches (deprecated atm)
66     # 100-150 - official updates
67     mpatch patches-${PVER}-${PBUILD}/0100-3.0.1-all-fixes.patch || die
68     mpatch patches-${PVER}-${PBUILD}/0101-3.0.2-all-fixes.patch || die
69     mpatch patches-${PVER}-${PBUILD}/0102-3.0.3-all-fixes.patch || die
70     mpatch patches-${PVER}-${PBUILD}/0103-3.0.4-all-fixes.patch || die
71     # 150-300 - magellan patches, driver updates etc
72     mpatch patches-${PVER}-${PBUILD}/0150-3.0-fbcondecor-0.9.6.patch || die
73     mpatch patches-${PVER}-${PBUILD}/0153-3.0-unionfs-2.5.9.2.patch || die
74     # 300-400 - compilations fixes and other
75     }
76    
77     postinstall()
78     {
79     kernel_sources_postinstall
80     alx_postinstall
81     }