This commit is contained in:
2023-07-14 09:53:18 +08:00
parent f05295f306
commit fc9988287a
2 changed files with 10 additions and 5 deletions

View File

@@ -29,5 +29,5 @@ jobs:
sudo apt install neofetch -y sudo apt install neofetch -y
neofetch neofetch
df -H / df -H /
bash build_action-aarch64.sh 0 bash build_action-aarch64.sh 1

View File

@@ -33,11 +33,16 @@ cd linux-"$VERSION" || exit
cp ../config-arm64 .config cp ../config-arm64 .config
# #
# disable DEBUG_INFO to speedup build # disable DEBUG_INFO to speedup build
scripts/config --disable DEBUG_INFO # scripts/config --disable DEBUG_INFO
scripts/config --set-str SYSTEM_TRUSTED_KEYS "" scripts/config --set-str SYSTEM_TRUSTED_KEYS ""
# apply patches scripts/config --set-str SYSTEM_REVOCATION_KEYS ""
# shellcheck source=src/util.sh scripts/config --undefine DEBUG_INFO
# source ../patch.d/*.sh scripts/config --undefine DEBUG_INFO_COMPRESSED
scripts/config --undefine DEBUG_INFO_REDUCED
scripts/config --undefine DEBUG_INFO_SPLIT
scripts/config --undefine GDB_SCRIPTS
scripts/config --set-val DEBUG_INFO_DWARF5 n
scripts/config --set-val DEBUG_INFO_NONE y
# build deb packages # build deb packages
CPU_CORES=$(($(grep -c processor < /proc/cpuinfo)*2)) CPU_CORES=$(($(grep -c processor < /proc/cpuinfo)*2))