Annotation of /smage/trunk/core/linux-libc-headers/linux-libc-headers-5.15.83-r1.smage2
Parent Directory | Revision Log
Revision 15646 -
(hide annotations)
(download)
Sun Dec 18 19:09:00 2022 UTC (16 months, 3 weeks ago) by niro
File size: 3133 byte(s)
Sun Dec 18 19:09:00 2022 UTC (16 months, 3 weeks ago) by niro
File size: 3133 byte(s)
auto added: ver bump to 5.15.83-r1
1 | niro | 15646 | # $Id$ |
2 | |||
3 | PNAME="linux-libc-headers" | ||
4 | PVER="5.15.83" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | # when upgrading linux headers, glibc must be rebuilded | ||
8 | # on system bootstrap you should rebuild the whole toolchain | ||
9 | # linux-libc-headers -> binutils -> gcc-full -> libc -> binutils -> gcc-full -> libc | ||
10 | # | ||
11 | # or one-way solution (not always safe, use this only for interim gcc releases) | ||
12 | # linux-libc-headers -> libc -> binutils -> gcc-full -> binutils -> libc | ||
13 | # | ||
14 | # each new gcc release needs a rebuild of libtool | ||
15 | |||
16 | # no need to waste time here | ||
17 | msetfeature "!strip" | ||
18 | |||
19 | KERNEL_TYPE="headers" | ||
20 | BRANCH="alx" | ||
21 | sminclude kernel | ||
22 | |||
23 | # stable-tree | ||
24 | #UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'" | ||
25 | # longterm tree | ||
26 | UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'" | ||
27 | |||
28 | kernel_apply_patches() | ||
29 | { | ||
30 | cd ${SRCDIR} | ||
31 | |||
32 | # 100-150 - official updates | ||
33 | mpatch 0100-5.4.1-all-fixes.patch || die | ||
34 | mpatch 0101-5.4.2-all-fixes.patch || die | ||
35 | mpatch 0102-5.4.3-all-fixes.patch || die | ||
36 | mpatch 0103-5.4.4-all-fixes.patch || die | ||
37 | mpatch 0104-5.4.5-all-fixes.patch || die | ||
38 | mpatch 0105-5.4.6-all-fixes.patch || die | ||
39 | mpatch 0106-5.4.7-all-fixes.patch || die | ||
40 | mpatch 0107-5.4.8-all-fixes.patch || die | ||
41 | mpatch 0108-5.4.9-all-fixes.patch || die | ||
42 | mpatch 0109-5.4.10-all-fixes.patch || die | ||
43 | mpatch 0110-5.4.11-all-fixes.patch || die | ||
44 | mpatch 0111-5.4.12-all-fixes.patch || die | ||
45 | mpatch 0112-5.4.13-all-fixes.patch || die | ||
46 | mpatch 0113-5.4.14-all-fixes.patch || die | ||
47 | mpatch 0114-5.4.15-all-fixes.patch || die | ||
48 | mpatch 0115-5.4.16-all-fixes.patch || die | ||
49 | mpatch 0116-5.4.17-all-fixes.patch || die | ||
50 | mpatch 0117-5.4.18-all-fixes.patch || die | ||
51 | mpatch 0118-5.4.19-all-fixes.patch || die | ||
52 | mpatch 0119-5.4.20-all-fixes.patch || die | ||
53 | mpatch 0120-5.4.21-all-fixes.patch || die | ||
54 | mpatch 0121-5.4.22-all-fixes.patch || die | ||
55 | mpatch 0122-5.4.23-all-fixes.patch || die | ||
56 | mpatch 0123-5.4.24-all-fixes.patch || die | ||
57 | mpatch 0124-5.4.25-all-fixes.patch || die | ||
58 | mpatch 0125-5.4.26-all-fixes.patch || die | ||
59 | mpatch 0126-5.4.27-all-fixes.patch || die | ||
60 | mpatch 0127-5.4.28-all-fixes.patch || die | ||
61 | mpatch 0128-5.4.29-all-fixes.patch || die | ||
62 | mpatch 0129-5.4.30-all-fixes.patch || die | ||
63 | mpatch 0130-5.4.31-all-fixes.patch || die | ||
64 | mpatch 0131-5.4.32-all-fixes.patch || die | ||
65 | mpatch 0132-5.4.33-all-fixes.patch || die | ||
66 | mpatch 0133-5.4.34-all-fixes.patch || die | ||
67 | mpatch 0134-5.4.35-all-fixes.patch || die | ||
68 | mpatch 0135-5.4.36-all-fixes.patch || die | ||
69 | mpatch 0136-5.4.37-all-fixes.patch || die | ||
70 | mpatch 0137-5.4.38-all-fixes.patch || die | ||
71 | mpatch 0138-5.4.39-all-fixes.patch || die | ||
72 | mpatch 0139-5.4.40-all-fixes.patch || die | ||
73 | mpatch 0140-5.4.41-all-fixes.patch || die | ||
74 | mpatch 0141-5.4.42-all-fixes.patch || die | ||
75 | mpatch 0142-5.4.43-all-fixes.patch || die | ||
76 | mpatch 0143-5.4.44-all-fixes.patch || die | ||
77 | mpatch 0144-5.4.45-all-fixes.patch || die | ||
78 | mpatch 0145-5.4.46-all-fixes.patch || die | ||
79 | mpatch 0146-5.4.47-all-fixes.patch || die | ||
80 | mpatch 0147-5.4.48-all-fixes.patch || die | ||
81 | mpatch 0148-5.4.49-all-fixes.patch || die | ||
82 | } | ||
83 | |||
84 | src_install() | ||
85 | { | ||
86 | kernel_src_install | ||
87 | |||
88 | # use always drm headers from libdrm | ||
89 | mdelete -r /usr/include/drm || die | ||
90 | } |