Move user patches logging to prepare.log
This commit is contained in:
@@ -277,6 +277,8 @@ user_patcher() {
|
|||||||
break
|
break
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo -e "linux-tkg user patches, if any:\n" >> "$_where"/prepare.log
|
||||||
|
|
||||||
# To patch the user because all your base are belong to us
|
# To patch the user because all your base are belong to us
|
||||||
local _patches=("$_where"/linux"$_basever"-tkg-userpatches/*."${_userpatch_ext}revert")
|
local _patches=("$_where"/linux"$_basever"-tkg-userpatches/*."${_userpatch_ext}revert")
|
||||||
if [ ${#_patches[@]} -ge 2 ] || [ -e "${_patches}" ]; then
|
if [ ${#_patches[@]} -ge 2 ] || [ -e "${_patches}" ]; then
|
||||||
@@ -294,7 +296,7 @@ user_patcher() {
|
|||||||
msg2 ""
|
msg2 ""
|
||||||
msg2 "######################################################"
|
msg2 "######################################################"
|
||||||
patch -Np1 -R < "${_f}"
|
patch -Np1 -R < "${_f}"
|
||||||
echo "Reverted your own patch ${_f}" >> "$_where"/last_build_config.log
|
echo "Reverted your own patch ${_f}" >> "$_where"/prepare.log
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
@@ -316,7 +318,7 @@ user_patcher() {
|
|||||||
msg2 ""
|
msg2 ""
|
||||||
msg2 "######################################################"
|
msg2 "######################################################"
|
||||||
patch -Np1 < "${_f}"
|
patch -Np1 < "${_f}"
|
||||||
echo "Applied your own patch ${_f}" >> "$_where"/last_build_config.log
|
echo "Applied your own patch ${_f}" >> "$_where"/prepare.log
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user