Skip to content

Commit

Permalink
Enable ZSTD module compression
Browse files Browse the repository at this point in the history
  • Loading branch information
bwarden authored and clrpackages committed Jun 6, 2024
1 parent f6ac6ec commit 2918f67
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
15 changes: 8 additions & 7 deletions config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.9.1 Kernel Configuration
# Linux/x86 6.9.3 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Clear Linux OS for Intel Architecture) 14.1.1 20240507 releases/gcc-14.1.0-5-g23cf010768"
CONFIG_CC_VERSION_TEXT="gcc (Clear Linux OS for Intel Architecture) 14.1.1 20240603 releases/gcc-14.1.0-99-g955202eb2c"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=140101
CONFIG_CLANG_VERSION=0
Expand All @@ -12,7 +12,6 @@ CONFIG_LD_IS_BFD=y
CONFIG_LD_VERSION=24200
CONFIG_LLD_VERSION=0
CONFIG_CC_CAN_LINK=y
CONFIG_CC_CAN_LINK_STATIC=y
CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y
CONFIG_TOOLS_SUPPORT_RELR=y
Expand Down Expand Up @@ -943,10 +942,11 @@ CONFIG_MODULE_SIG_SHA512=y
# CONFIG_MODULE_SIG_SHA3_384 is not set
# CONFIG_MODULE_SIG_SHA3_512 is not set
CONFIG_MODULE_SIG_HASH="sha512"
CONFIG_MODULE_COMPRESS_NONE=y
# CONFIG_MODULE_COMPRESS_NONE is not set
# CONFIG_MODULE_COMPRESS_GZIP is not set
# CONFIG_MODULE_COMPRESS_XZ is not set
# CONFIG_MODULE_COMPRESS_ZSTD is not set
CONFIG_MODULE_COMPRESS_ZSTD=y
# CONFIG_MODULE_DECOMPRESS is not set
# CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set
CONFIG_MODPROBE_PATH="/usr/bin/modprobe"
# CONFIG_TRIM_UNUSED_KSYMS is not set
Expand Down Expand Up @@ -9752,6 +9752,7 @@ CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_SIG=y
CONFIG_CRYPTO_SIG2=y
CONFIG_CRYPTO_SKCIPHER=y
CONFIG_CRYPTO_SKCIPHER2=y
Expand Down Expand Up @@ -10220,9 +10221,9 @@ CONFIG_AS_HAS_NON_CONST_ULEB128=y
# CONFIG_DEBUG_INFO_DWARF4 is not set
CONFIG_DEBUG_INFO_DWARF5=y
# CONFIG_DEBUG_INFO_REDUCED is not set
CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
# CONFIG_DEBUG_INFO_COMPRESSED_NONE is not set
# CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set
# CONFIG_DEBUG_INFO_COMPRESSED_ZSTD is not set
CONFIG_DEBUG_INFO_COMPRESSED_ZSTD=y
# CONFIG_DEBUG_INFO_SPLIT is not set
CONFIG_DEBUG_INFO_BTF=y
CONFIG_PAHOLE_HAS_SPLIT_BTF=y
Expand Down
12 changes: 6 additions & 6 deletions linux.spec
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@ createCPIO() {

mkdir -p cpiofile${ModDir}/kernel/drivers/input/{serio,keyboard}
mkdir -p cpiofile${ModDir}/kernel/drivers/hid
cp %{buildroot}${ModDir}/kernel/drivers/input/serio/i8042.ko cpiofile${ModDir}/kernel/drivers/input/serio
cp %{buildroot}${ModDir}/kernel/drivers/input/serio/libps2.ko cpiofile${ModDir}/kernel/drivers/input/serio
cp %{buildroot}${ModDir}/kernel/drivers/input/keyboard/atkbd.ko cpiofile${ModDir}/kernel/drivers/input/keyboard
cp %{buildroot}${ModDir}/kernel/drivers/hid/hid-logitech-dj.ko cpiofile${ModDir}/kernel/drivers/hid
cp %{buildroot}${ModDir}/kernel/drivers/hid/hid-logitech-hidpp.ko cpiofile${ModDir}/kernel/drivers/hid
cp %{buildroot}${ModDir}/kernel/drivers/hid/hid-apple.ko cpiofile${ModDir}/kernel/drivers/hid
cp %{buildroot}${ModDir}/kernel/drivers/input/serio/i8042.ko.zst cpiofile${ModDir}/kernel/drivers/input/serio
cp %{buildroot}${ModDir}/kernel/drivers/input/serio/libps2.ko.zst cpiofile${ModDir}/kernel/drivers/input/serio
cp %{buildroot}${ModDir}/kernel/drivers/input/keyboard/atkbd.ko.zst cpiofile${ModDir}/kernel/drivers/input/keyboard
cp %{buildroot}${ModDir}/kernel/drivers/hid/hid-logitech-dj.ko.zst cpiofile${ModDir}/kernel/drivers/hid
cp %{buildroot}${ModDir}/kernel/drivers/hid/hid-logitech-hidpp.ko.zst cpiofile${ModDir}/kernel/drivers/hid
cp %{buildroot}${ModDir}/kernel/drivers/hid/hid-apple.ko.zst cpiofile${ModDir}/kernel/drivers/hid
cp %{buildroot}${ModDir}/modules.order cpiofile${ModDir}
cp %{buildroot}${ModDir}/modules.builtin cpiofile${ModDir}

Expand Down

0 comments on commit 2918f67

Please sign in to comment.