diff --git a/README.md b/README.md index eda4b84..ad26b67 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/kernel.sh b/kernel.sh index 1773bd1..3ed3c0b 100644 --- a/kernel.sh +++ b/kernel.sh @@ -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