From 832361fd6f6fe73616100c8af711dcbf9193f191 Mon Sep 17 00:00:00 2001 From: phanes Date: Sun, 28 May 2023 00:29:16 -0400 Subject: [PATCH] reduction of ISO size to 1.9 GB - milestone --- configs/kernel_config | 2 +- rex.project/x86_64/components/livecd/asciidoc.bash | 5 ++++- rex.project/x86_64/components/stage5/linux.bash | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/configs/kernel_config b/configs/kernel_config index cdda6a0..4825f16 100644 --- a/configs/kernel_config +++ b/configs/kernel_config @@ -10099,7 +10099,7 @@ CONFIG_DEBUG_KERNEL=y # # Compile-time checks and compiler options # -CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO=n CONFIG_AS_HAS_NON_CONST_LEB128=y # CONFIG_DEBUG_INFO_NONE is not set CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y diff --git a/rex.project/x86_64/components/livecd/asciidoc.bash b/rex.project/x86_64/components/livecd/asciidoc.bash index d37bb53..311fa69 100755 --- a/rex.project/x86_64/components/livecd/asciidoc.bash +++ b/rex.project/x86_64/components/livecd/asciidoc.bash @@ -137,7 +137,10 @@ mode_build() { autoreconf -i assert_zero $? - ./configure + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --docdir=/usr/share/doc/${APPNAME}-${VERSION} assert_zero $? logprint "Compiling docs..." diff --git a/rex.project/x86_64/components/stage5/linux.bash b/rex.project/x86_64/components/stage5/linux.bash index cdcc352..e15c82e 100755 --- a/rex.project/x86_64/components/stage5/linux.bash +++ b/rex.project/x86_64/components/stage5/linux.bash @@ -154,7 +154,7 @@ mode_install() { assert_zero $? logprint "Installing modules..." - make modules_install + make INSTALL_MOD_STRIP=1 modules_install assert_zero $? logprint "Installing kernel"