...
 
Commits (7)
......@@ -2,21 +2,22 @@
# Customized version of linux for seblu computers
pkgname=linux-seblu
pkgver=4.14
pkgver=4.14.15
pkgrel=1
pkgdesc='The Linux Kernel cooked by Seblu'
arch=('x86_64')
license=('GPL2')
url='http://www.kernel.org'
options=('!strip')
makedepends=('kmod' 'git' 'make' 'gcc' 'bc' 'sed')
makedepends=('glibc' 'libelf' 'kmod' 'git' 'make' 'gcc' 'bc' 'sed')
depends=('linux-firmware' 'kernel-install-hook')
install=linux-seblu.install
_repourl='git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
#_repourl='git+https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git'
#_repourl='git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
_repourl='git+https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git'
source=("$_repourl#tag=v${pkgver/_/-}"
"config.$CARCH")
md5sums=('SKIP' 'SKIP')
md5sums=('SKIP'
'a8c6363882dc7408954ee13cbe6b3db3')
prepare() {
# fake linux directory if necessary
......@@ -135,6 +136,9 @@ install_sources() {
cp Module.symvers "$kernsrc"
cp -a scripts "$kernsrc"
# remove broken symlinks of unneeded architectures in scripts
rm -r "$kernsrc/scripts/dtc/include-prefixes"
# fix permissions on scripts dir
chmod og-w -R "$kernsrc/scripts"
......@@ -197,6 +201,11 @@ install_sources() {
[[ "${i##*/}" != x86 ]] && rm -rf "$i"
done
# add objtool for external module building when enabled VALIDATION_STACK option
# this is adding dependencty to glibc and libelf to the kernel package
install -d "$kernsrc/tools/objtool"
cp tools/objtool/objtool "$kernsrc/tools/objtool"
# fix permissions
chown -R root:root "$kernsrc"
find "$kernsrc" -type d -exec chmod 755 {} \;
......
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.14.0 Kernel Configuration
# Linux/x86 4.14.15 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
......@@ -154,7 +154,7 @@ CONFIG_CGROUPS=y
CONFIG_PAGE_COUNTER=y
CONFIG_MEMCG=y
CONFIG_MEMCG_SWAP=y
CONFIG_MEMCG_SWAP_ENABLED=y
# CONFIG_MEMCG_SWAP_ENABLED is not set
CONFIG_BLK_CGROUP=y
# CONFIG_DEBUG_BLK_CGROUP is not set
CONFIG_CGROUP_WRITEBACK=y
......@@ -328,6 +328,7 @@ CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
CONFIG_STRICT_KERNEL_RWX=y
CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
CONFIG_STRICT_MODULE_RWX=y
CONFIG_ARCH_HAS_REFCOUNT=y
# CONFIG_REFCOUNT_FULL is not set
#
......@@ -437,8 +438,9 @@ CONFIG_SMP=y
CONFIG_X86_FEATURE_NAMES=y
CONFIG_X86_FAST_FEATURE_TESTS=y
CONFIG_X86_X2APIC=y
CONFIG_X86_MPPARSE=y
# CONFIG_X86_MPPARSE is not set
# CONFIG_GOLDFISH is not set
CONFIG_RETPOLINE=y
CONFIG_INTEL_RDT=y
# CONFIG_X86_EXTENDED_PLATFORM is not set
CONFIG_X86_INTEL_LPSS=y
......@@ -637,8 +639,11 @@ CONFIG_CRASH_DUMP=y
CONFIG_KEXEC_JUMP=y
CONFIG_PHYSICAL_START=0x1000000
CONFIG_RELOCATABLE=y
# CONFIG_RANDOMIZE_BASE is not set
CONFIG_RANDOMIZE_BASE=y
CONFIG_X86_NEED_RELOCS=y
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_RANDOMIZE_MEMORY=y
CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0x0
CONFIG_HOTPLUG_CPU=y
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
# CONFIG_DEBUG_HOTPLUG_CPU0 is not set
......@@ -1676,6 +1681,7 @@ CONFIG_DEV_COREDUMP=y
CONFIG_SYS_HYPERVISOR=y
# CONFIG_GENERIC_CPU_DEVICES is not set
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_GENERIC_CPU_VULNERABILITIES=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_SPI=y
......@@ -7000,8 +7006,7 @@ CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
CONFIG_FRAME_POINTER=y
# CONFIG_STACK_VALIDATION is not set
CONFIG_STACK_VALIDATION=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_MAGIC_SYSRQ_SERIAL=y
......@@ -7118,8 +7123,8 @@ CONFIG_IO_DELAY_0X80=y
CONFIG_DEFAULT_IO_DELAY_TYPE=0
# CONFIG_OPTIMIZE_INLINING is not set
# CONFIG_PUNIT_ATOM_DEBUG is not set
CONFIG_FRAME_POINTER_UNWINDER=y
# CONFIG_ORC_UNWINDER is not set
CONFIG_UNWINDER_ORC=y
# CONFIG_UNWINDER_FRAME_POINTER is not set
#
# Security options
......@@ -7134,6 +7139,7 @@ CONFIG_ENCRYPTED_KEYS=m
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
CONFIG_SECURITYFS=y
CONFIG_PAGE_TABLE_ISOLATION=y
# CONFIG_INTEL_TXT is not set
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
CONFIG_HARDENED_USERCOPY=y
......
#!/bin/bash -e
[[ -e src/linux/.config ]] || makepkg --nobuild --force
(cd src/linux && make oldconfig)
if ! diff -q -s src/linux/.config config.x86_64; then
cp src/linux/.config config.x86_64
updpkgsums
fi