Move user patches logging to prepare.log

This commit is contained in:
Tk-Glitch
2021-09-29 19:30:40 +02:00
parent c8d3602040
commit 29e08e7d87

View File

@@ -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