Skip to content
Snippets Groups Projects
Verified Commit cb2c5963 authored by Karel Koci's avatar Karel Koci :metal: Committed by Karel Koci
Browse files

compile_pkgs: do not warn about white spaces in patches

This is not clean patching and we do not pretend it is so just ignore
those warnings.
parent 71b12da3
Branches
Tags
1 merge request!123Turris OS 5.0 (HBK)
......@@ -354,7 +354,7 @@ available_commands+=( ["patch_openwrt"]="Patch the main OpenWRT repository" )
patch_openwrt() {
_report "Patching OpenWRT repository"
for patch in "$src_dir/patches/openwrt"/*/*.patch; do
_git am --reject "$patch"
_git am --whitespace=nowarn --reject "$patch"
done
if [ -d "$src_dir/patches/openwrt"/*/"$TARGET_BOARD" ]; then
for patch in "$src_dir/patches/openwrt"/*/"$TARGET_BOARD"/*.patch; do
......@@ -418,7 +418,7 @@ repatch_feeds() {
for patch in "$feed"/*/*.patch; do
[ -f "$patch" ] || continue
pushd "$build_dir/feeds/$feed_name" >/dev/null
_git am --reject "$patch"
_git am --whitespace=nowarn --reject "$patch"
popd >/dev/null
done
[ -d "$feed"/*/"$TARGET_BOARD" ] || continue
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment