fixes
This commit is contained in:
parent
4c532763b9
commit
63d4fb4a06
@ -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
|
||||
|
||||
|
22
kernel.sh
22
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
|
||||
|
Loading…
Reference in New Issue
Block a user