This commit is contained in:
Olivier 2024-03-20 12:51:39 +01:00
parent 4c532763b9
commit 63d4fb4a06
2 changed files with 2 additions and 21 deletions

View File

@ -44,6 +44,7 @@ sudo bash kernel.sh 6.x 6.8.1
- Suppression du 'Fast Kernel Headers' _(provoque de nombreuses erreurs de compilation)_
- Corrections de flags _(empêchant notamement l'exécution de dmesg)_
- Corrections de chemins
### 2024-03-19

View File

@ -282,7 +282,7 @@ doPermissions() {
cd $WORKDIR
doEchoStep "Define user/group"
chown -R 1000:1000 $CURRENT/$BRANCH/$VERSION/.
chown -R 1000:1000 $CURRENT/build/$BRANCH/$VERSION/.
result=$?
if [ ! result==0 ]; then
echo ">>> Error in chown !"
@ -351,25 +351,6 @@ doMoreUarch() {
fi
}
# Apply Fast Kernel Header patch
doFastKernelHeaders() {
if [ $FKH == 1 ]; then
cd $WORKDIR
doEchoStep "Apply 'fask kernel headers' patch"
if [ -f .config ]; then
cp .config .config.fastkernelheaders.before
fi
patch -p1 <../../../fast-kernel-headers.patch
result=$?
if [ ! result==0 ]; then
echo ">>> Error in 'fask kernel headers' !"
exit 1
fi
cp .config .config.fastkernelheaders.after
fi
}
# Generate defaults options for this kernel
doDefaultsDisable() {
if [ $DISABLE == 1 ]; then
@ -1159,7 +1140,6 @@ doDefaults() {
fi
doMoreUarch
doFastKernelHeaders
doEchoStep "Define options"
if [ "$CLANG" == "1" ]; then