Annotation of /branches/R11-unstable/extras/kernel-lts/kernel-lts-3.4.74-r1.smage2
Parent Directory | Revision Log
Revision 20389 -
(hide annotations)
(download)
Thu Dec 12 08:47:00 2013 UTC (10 years, 9 months ago) by niro
Original Path: trunk/extras/kernel-lts/kernel-lts-3.4.74-r1.smage2
File size: 10469 byte(s)
Thu Dec 12 08:47:00 2013 UTC (10 years, 9 months ago) by niro
Original Path: trunk/extras/kernel-lts/kernel-lts-3.4.74-r1.smage2
File size: 10469 byte(s)
auto added: ver bump to 3.4.74-r1
1 | niro | 20389 | # $Id$ |
2 | |||
3 | # standard LTS kernel: | ||
4 | # using linux-3.4.74 | ||
5 | # enabled staging usbip drivers | ||
6 | # enabled staging nouveau driver | ||
7 | # enabled staging ms hyper-v drivers | ||
8 | # enabeld staging vmware drm driver | ||
9 | # do not set UEVENT_HELPER to "/sbin/hotplug" anymore but to "" as descripted in udev-176 README | ||
10 | # enabled linux-firmware | ||
11 | # use xz as default compression mode for bzimage | ||
12 | |||
13 | # global kernel setup | ||
14 | COMPRESS_MODULES="gzip" | ||
15 | LINUX_FIRMWARE="20120304" | ||
16 | |||
17 | BRANCH="lts" | ||
18 | |||
19 | PNAME="kernel-${BRANCH}" | ||
20 | |||
21 | # 2.6.x.x subver style | ||
22 | PSUBVER="" | ||
23 | |||
24 | PVER="3.4.74" | ||
25 | PBUILD="r1" | ||
26 | |||
27 | # set the right tarball version | ||
28 | # set the right tarball version | ||
29 | TARBALLPVER="${PVER%.*}" | ||
30 | |||
31 | KERNEL_IMAGE_DEPEND=">= virtual/module-tools | ||
32 | >= sys-fs/udev-185 | ||
33 | >= virtual/initramfs-tools | ||
34 | >= virtual/initscripts" | ||
35 | # kernel.sminc adds linux-firmware if requiered! | ||
36 | |||
37 | KERNEL_IMAGE_PROVIDE="virtual/kernel | ||
38 | virtual/alsa-drivers" | ||
39 | |||
40 | # include global kernel functions | ||
41 | sminclude kernel-split | ||
42 | |||
43 | # --- extra drivers included in this kernel: --- | ||
44 | # we do not bundle ati-drivers and nvidia-glx drivers anymore | ||
45 | # use our new module builders! | ||
46 | # --- eot extra drivers --- | ||
47 | |||
48 | SRC_URI=( | ||
49 | http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE} | ||
50 | mirror://kernel-${BRANCH}/${SRCFILE} | ||
51 | mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686 | ||
52 | mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64 | ||
53 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.4.1-all-fixes.patch | ||
54 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.4.2-all-fixes.patch | ||
55 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.4.3-all-fixes.patch | ||
56 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.4.4-all-fixes.patch | ||
57 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.4.5-all-fixes.patch | ||
58 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.4.6-all-fixes.patch | ||
59 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.4.7-all-fixes.patch | ||
60 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.4.8-all-fixes.patch | ||
61 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-3.4.9-all-fixes.patch | ||
62 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-3.4.10-all-fixes.patch | ||
63 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-3.4.11-all-fixes.patch | ||
64 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-3.4.12-all-fixes.patch | ||
65 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-3.4.13-all-fixes.patch | ||
66 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-3.4.14-all-fixes.patch | ||
67 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-3.4.15-all-fixes.patch | ||
68 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0115-3.4.16-all-fixes.patch | ||
69 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0116-3.4.17-all-fixes.patch | ||
70 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0117-3.4.18-all-fixes.patch | ||
71 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0118-3.4.19-all-fixes.patch | ||
72 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0119-3.4.20-all-fixes.patch | ||
73 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0120-3.4.21-all-fixes.patch | ||
74 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0121-3.4.22-all-fixes.patch | ||
75 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0122-3.4.23-all-fixes.patch | ||
76 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0123-3.4.24-all-fixes.patch | ||
77 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0124-3.4.25-all-fixes.patch | ||
78 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0125-3.4.26-all-fixes.patch | ||
79 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0126-3.4.27-all-fixes.patch | ||
80 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0127-3.4.28-all-fixes.patch | ||
81 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0128-3.4.29-all-fixes.patch | ||
82 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0129-3.4.30-all-fixes.patch | ||
83 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0130-3.4.31-all-fixes.patch | ||
84 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0131-3.4.32-all-fixes.patch | ||
85 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0132-3.4.33-all-fixes.patch | ||
86 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0133-3.4.34-all-fixes.patch | ||
87 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0134-3.4.35-all-fixes.patch | ||
88 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0135-3.4.36-all-fixes.patch | ||
89 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0136-3.4.37-all-fixes.patch | ||
90 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0137-3.4.38-all-fixes.patch | ||
91 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0138-3.4.39-all-fixes.patch | ||
92 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0139-3.4.40-all-fixes.patch | ||
93 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0140-3.4.41-all-fixes.patch | ||
94 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0141-3.4.42-all-fixes.patch | ||
95 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0142-3.4.43-all-fixes.patch | ||
96 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0143-3.4.44-all-fixes.patch | ||
97 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0144-3.4.45-all-fixes.patch | ||
98 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0145-3.4.46-all-fixes.patch | ||
99 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0146-3.4.47-all-fixes.patch | ||
100 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0147-3.4.48-all-fixes.patch | ||
101 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0148-3.4.49-all-fixes.patch | ||
102 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0149-3.4.50-all-fixes.patch | ||
103 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0150-3.4.51-all-fixes.patch | ||
104 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0151-3.4.52-all-fixes.patch | ||
105 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0152-3.4.53-all-fixes.patch | ||
106 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0153-3.4.54-all-fixes.patch | ||
107 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0154-3.4.55-all-fixes.patch | ||
108 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0155-3.4.56-all-fixes.patch | ||
109 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0156-3.4.57-all-fixes.patch | ||
110 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0157-3.4.58-all-fixes.patch | ||
111 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0158-3.4.59-all-fixes.patch | ||
112 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0159-3.4.60-all-fixes.patch | ||
113 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0160-3.4.61-all-fixes.patch | ||
114 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0161-3.4.62-all-fixes.patch | ||
115 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0162-3.4.63-all-fixes.patch | ||
116 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0163-3.4.64-all-fixes.patch | ||
117 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0164-3.4.65-all-fixes.patch | ||
118 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0165-3.4.66-all-fixes.patch | ||
119 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0166-3.4.67-all-fixes.patch | ||
120 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0167-3.4.68-all-fixes.patch | ||
121 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0168-3.4.69-all-fixes.patch | ||
122 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0169-3.4.70-all-fixes.patch | ||
123 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0170-3.4.71-all-fixes.patch | ||
124 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0171-3.4.72-all-fixes.patch | ||
125 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0172-3.4.73-all-fixes.patch | ||
126 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0173-3.4.74-all-fixes.patch | ||
127 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0300-3.4-fix-lpfc-compilation-without-debugfs.patch | ||
128 | ) | ||
129 | |||
130 | UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'" | ||
131 | |||
132 | kernel_apply_patches() | ||
133 | { | ||
134 | cd ${SRCDIR} | ||
135 | |||
136 | # 001-100 - ck patches | ||
137 | # 100-150 - official updates | ||
138 | mpatch 0100-3.4.1-all-fixes.patch || die | ||
139 | mpatch 0101-3.4.2-all-fixes.patch || die | ||
140 | mpatch 0102-3.4.3-all-fixes.patch || die | ||
141 | mpatch 0103-3.4.4-all-fixes.patch || die | ||
142 | mpatch 0104-3.4.5-all-fixes.patch || die | ||
143 | mpatch 0105-3.4.6-all-fixes.patch || die | ||
144 | mpatch 0106-3.4.7-all-fixes.patch || die | ||
145 | mpatch 0107-3.4.8-all-fixes.patch || die | ||
146 | mpatch 0108-3.4.9-all-fixes.patch || die | ||
147 | mpatch 0109-3.4.10-all-fixes.patch || die | ||
148 | mpatch 0110-3.4.11-all-fixes.patch || die | ||
149 | mpatch 0111-3.4.12-all-fixes.patch || die | ||
150 | mpatch 0112-3.4.13-all-fixes.patch || die | ||
151 | mpatch 0113-3.4.14-all-fixes.patch || die | ||
152 | mpatch 0114-3.4.15-all-fixes.patch || die | ||
153 | mpatch 0115-3.4.16-all-fixes.patch || die | ||
154 | mpatch 0116-3.4.17-all-fixes.patch || die | ||
155 | mpatch 0117-3.4.18-all-fixes.patch || die | ||
156 | mpatch 0118-3.4.19-all-fixes.patch || die | ||
157 | mpatch 0119-3.4.20-all-fixes.patch || die | ||
158 | mpatch 0120-3.4.21-all-fixes.patch || die | ||
159 | mpatch 0121-3.4.22-all-fixes.patch || die | ||
160 | mpatch 0122-3.4.23-all-fixes.patch || die | ||
161 | mpatch 0123-3.4.24-all-fixes.patch || die | ||
162 | mpatch 0124-3.4.25-all-fixes.patch || die | ||
163 | mpatch 0125-3.4.26-all-fixes.patch || die | ||
164 | mpatch 0126-3.4.27-all-fixes.patch || die | ||
165 | mpatch 0127-3.4.28-all-fixes.patch || die | ||
166 | mpatch 0128-3.4.29-all-fixes.patch || die | ||
167 | mpatch 0129-3.4.30-all-fixes.patch || die | ||
168 | mpatch 0130-3.4.31-all-fixes.patch || die | ||
169 | mpatch 0131-3.4.32-all-fixes.patch || die | ||
170 | mpatch 0132-3.4.33-all-fixes.patch || die | ||
171 | mpatch 0133-3.4.34-all-fixes.patch || die | ||
172 | mpatch 0134-3.4.35-all-fixes.patch || die | ||
173 | mpatch 0135-3.4.36-all-fixes.patch || die | ||
174 | mpatch 0136-3.4.37-all-fixes.patch || die | ||
175 | mpatch 0137-3.4.38-all-fixes.patch || die | ||
176 | mpatch 0138-3.4.39-all-fixes.patch || die | ||
177 | mpatch 0139-3.4.40-all-fixes.patch || die | ||
178 | mpatch 0140-3.4.41-all-fixes.patch || die | ||
179 | mpatch 0141-3.4.42-all-fixes.patch || die | ||
180 | mpatch 0142-3.4.43-all-fixes.patch || die | ||
181 | mpatch 0143-3.4.44-all-fixes.patch || die | ||
182 | mpatch 0144-3.4.45-all-fixes.patch || die | ||
183 | mpatch 0145-3.4.46-all-fixes.patch || die | ||
184 | mpatch 0146-3.4.47-all-fixes.patch || die | ||
185 | mpatch 0147-3.4.48-all-fixes.patch || die | ||
186 | mpatch 0148-3.4.49-all-fixes.patch || die | ||
187 | mpatch 0149-3.4.50-all-fixes.patch || die | ||
188 | mpatch 0150-3.4.51-all-fixes.patch || die | ||
189 | mpatch 0151-3.4.52-all-fixes.patch || die | ||
190 | mpatch 0152-3.4.53-all-fixes.patch || die | ||
191 | mpatch 0153-3.4.54-all-fixes.patch || die | ||
192 | mpatch 0154-3.4.55-all-fixes.patch || die | ||
193 | mpatch 0155-3.4.56-all-fixes.patch || die | ||
194 | mpatch 0156-3.4.57-all-fixes.patch || die | ||
195 | mpatch 0157-3.4.58-all-fixes.patch || die | ||
196 | mpatch 0158-3.4.59-all-fixes.patch || die | ||
197 | mpatch 0159-3.4.60-all-fixes.patch || die | ||
198 | mpatch 0160-3.4.61-all-fixes.patch || die | ||
199 | mpatch 0161-3.4.62-all-fixes.patch || die | ||
200 | mpatch 0162-3.4.63-all-fixes.patch || die | ||
201 | mpatch 0163-3.4.64-all-fixes.patch || die | ||
202 | mpatch 0164-3.4.65-all-fixes.patch || die | ||
203 | mpatch 0165-3.4.66-all-fixes.patch || die | ||
204 | mpatch 0166-3.4.67-all-fixes.patch || die | ||
205 | mpatch 0167-3.4.68-all-fixes.patch || die | ||
206 | mpatch 0168-3.4.69-all-fixes.patch || die | ||
207 | mpatch 0169-3.4.70-all-fixes.patch || die | ||
208 | mpatch 0170-3.4.71-all-fixes.patch || die | ||
209 | mpatch 0171-3.4.72-all-fixes.patch || die | ||
210 | mpatch 0172-3.4.73-all-fixes.patch || die | ||
211 | mpatch 0173-3.4.74-all-fixes.patch || die | ||
212 | # 150-300 - magellan patches, driver updates etc | ||
213 | # 300-400 - compilations fixes and other | ||
214 | mpatch 0300-3.4-fix-lpfc-compilation-without-debugfs.patch || die | ||
215 | } |