corrections de stabilités

This commit is contained in:
Olivier 2024-02-23 12:52:55 +01:00
parent a1f4db4f96
commit 8740df74a9
2 changed files with 18 additions and 14 deletions

View File

@ -40,6 +40,10 @@ sudo bash kernel.sh 6.x 6.6.10
## CHANGELOG
### 2024-02-23
- Correction de problèmes de configuration produisant un kernel défaillant
### 2024-02-22
- Mise à jour de la configuration du patch 'more uarch' (6.1.79-6.8-rc3)

View File

@ -1,5 +1,5 @@
#!/bin/bash
UPDATED="2024-02-22"
UPDATED="2024-02-23"
TESTING=0
CLANG=0
@ -203,18 +203,18 @@ doOldOne() {
doAllMods() {
cd $WORKDIR
doEchoStep "Set all modules to be 'module'"
if [ "$CLANG" == "1" ]; then
make -j$(nproc) LLVM=1 CC="ccache clang" allmodconfig
else
make -j$(nproc) CC="ccache gcc" allmodconfig
fi
result=$?
if [ ! result==0 ]; then
echo ">>> Error in set all modules not in kernel !"
exit 1
fi
cp .config .config.3.allmodconfig
# doEchoStep "Set all modules to be 'module'"
# if [ "$CLANG" == "1" ]; then
# make -j$(nproc) LLVM=1 CC="ccache clang" allmodconfig
# else
# make -j$(nproc) CC="ccache gcc" allmodconfig
# fi
# result=$?
# if [ ! result==0 ]; then
# echo ">>> Error in set all modules not in kernel !"
# exit 1
# fi
# cp .config .config.3.allmodconfig
}
# Define permissions (user/group) to first user created (default 1000)
@ -1155,7 +1155,7 @@ doKernel() {
doCleanup > >(tee -a $LOGFILE) 2>&1
doConfigCloud > >(tee -a $LOGFILE) 2>&1
doOldOne > >(tee -a $LOGFILE) 2>&1
doAllMods > >(tee -a $LOGFILE) 2>&1
# doAllMods > >(tee -a $LOGFILE) 2>&1
doDefaults > >(tee -a $LOGFILE) 2>&1
doPermissions > >(tee -a $LOGFILE) 2>&1
doEditSettings