fixes
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user