Added menuconfig prompt

This commit is contained in:
dbroqua 2020-04-21 11:30:55 +02:00
parent 68ec8b4775
commit 30e688c79a

View file

@ -17,7 +17,19 @@ DIR="/usr/src/${KERNEL}"
mkdir "${DIR}"
# Install build dependancies
apt install build-essential fakeroot dpkg-dev perl libssl-dev bc gnupg dirmngr libelf-dev flex bison
apt install \
build-essential \
fakeroot \
dpkg-dev \
perl \
libssl-dev \
bc \
gnupg \
dirmngr \
libelf-dev \
flex \
bison \
libncurses-dev
# Go to build dir
cd "${DIR}" || exit
@ -34,6 +46,9 @@ cd "linux-${KERNEL}" || exit
# Get old config
make olddefconfig
# Show kernel menu
make menuconfig
# Some optimizations
./scripts/config -d CONFIG_MODULE_SIG_ALL -d CONFIG_MODULE_SIG_KEY -d CONFIG_SYSTEM_TRUSTED_KEYS
./scripts/config -d CONFIG_DEBUG_INFO