From f16429be49e8ec16120ccf0cf05f94a0ce0efe28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 29 Jul 2020 09:09:41 +0200 Subject: turris: drop patch that is now in all branches --- files/openwrt-hash.patch | 13 ------------- templates/turris.run | 1 - 2 files changed, 14 deletions(-) delete mode 100644 files/openwrt-hash.patch diff --git a/files/openwrt-hash.patch b/files/openwrt-hash.patch deleted file mode 100644 index 35a06c4..0000000 --- a/files/openwrt-hash.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/compile_pkgs b/compile_pkgs -index 3a04a5c..30d1ce7 100755 ---- a/compile_pkgs -+++ b/compile_pkgs -@@ -62,7 +62,7 @@ openwrt_feed() { - # OpenWRT git repository URL - OPENWRT_URL="$(sed -n 's/# openwrt \([^;^]\+\).*/\1/p' "$src_dir/feeds.conf")" - # Git reference used to checkout OpenWRT repository -- OPENWRT_BRANCH="$(sed -n 's/# openwrt [^;^]\+[;^]\([^\s]\+\).*/\1/p' "$src_dir/feeds.conf")" -+ OPENWRT_BRANCH="$(sed -n 's/# openwrt [^;^]\+[;^]\([^[:blank:]]\+\).*/\1/p' "$src_dir/feeds.conf")" - # Check if ^ is used to separate URL and branch and in such case it is hash not branch - grep -E '^# openwrt [^;^]+\^.+' "$src_dir/feeds.conf" && OPENWRT_BRANCH="#$OPENWRT_BRANCH" - [ -n "$OPENWRT_BRANCH" ] || OPENWRT_BRANCH="master" diff --git a/templates/turris.run b/templates/turris.run index 6402019..34357bd 100755 --- a/templates/turris.run +++ b/templates/turris.run @@ -28,7 +28,6 @@ else cd turris-build "$FILES/turris_checkout_repo_branch.sh" "$ANIMAL" cat feeds.conf - patch -Np1 -r - < "$FILES/openwrt-hash.patch" || true # just ignore if it fails patch -Np1 -r - < "$FILES/git-fetch-lock.patch" || true # just ignore if it fails ) -- cgit v1.2.3