mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-18 09:15:23 +01:00
Add linux headers 5.10.41.
Needed for kexec-tools. Not equivalent to kernel version; kernel API is stable and does not change. Therefore we can use any (latest) version.
This commit is contained in:
parent
4c6e7afa42
commit
c41d2817e8
9 changed files with 1146 additions and 1 deletions
18
sysa/linux-headers-5.10.41/patches/sed-args.patch
Normal file
18
sysa/linux-headers-5.10.41/patches/sed-args.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
We do not have the '-E' argument in our version of sed. But it is
|
||||
functionally equivalent to '-r' (at least for this purpose).
|
||||
|
||||
--- scripts/headers_install.shk 2021-06-01 18:48:44.732934584 +1000
|
||||
+++ scripts/headers_install.sh 2021-06-01 18:48:56.954050654 +1000
|
||||
@@ -29,7 +29,7 @@
|
||||
exit 1
|
||||
fi
|
||||
|
||||
-sed -E -e '
|
||||
+sed -r -e '
|
||||
s/([[:space:](])(__user|__force|__iomem)[[:space:]]/\1/g
|
||||
s/__attribute_const__([[:space:]]|$)/\1/g
|
||||
s@^#include <linux/compiler(|_types).h>@@
|
||||
20
sysa/linux-headers-5.10.41/patches/winsize.patch
Normal file
20
sysa/linux-headers-5.10.41/patches/winsize.patch
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
--- include/uapi/asm-generic/termios.h.bak 2021-07-23 14:23:51.330460544 +1000
|
||||
+++ include/uapi/asm-generic/termios.h 2021-07-23 19:08:27.112810109 +1000
|
||||
@@ -12,13 +12,6 @@
|
||||
#include <asm/termbits.h>
|
||||
#include <asm/ioctls.h>
|
||||
|
||||
-struct winsize {
|
||||
- unsigned short ws_row;
|
||||
- unsigned short ws_col;
|
||||
- unsigned short ws_xpixel;
|
||||
- unsigned short ws_ypixel;
|
||||
-};
|
||||
-
|
||||
#define NCC 8
|
||||
struct termio {
|
||||
unsigned short c_iflag; /* input mode flags */
|
||||
Loading…
Add table
Add a link
Reference in a new issue