Skip to content

Commit

Permalink
Try to disable a check...
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Jun 2, 2019
1 parent 9df24b6 commit 3dade01
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
13 changes: 10 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ fi

#_get_repo source https://github.com/ysurac/openmptcprouter-source "master"
#_get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "a3ccac6b1d693527befa73532a6cf5abda7134c0"
_get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "a1210f88882415f629cec272a0017fcb5a2ced3c"
_get_repo feeds/packages https://github.com/openwrt/packages "e053ce17c766c5adedb1c8bc472a9ca53ca802d3"
_get_repo feeds/luci https://github.com/openwrt/luci "4bbc033a968478d54a6c4bc2d8529abbfffdec6f"
_get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "master"
_get_repo feeds/packages https://github.com/openwrt/packages "master"
_get_repo feeds/luci https://github.com/openwrt/luci "master"

if [ -z "$OMR_FEED" ]; then
OMR_FEED=feeds/openmptcprouter
Expand Down Expand Up @@ -161,6 +161,13 @@ if [ "$OMR_TARGET" = "x86_64" ]; then
echo "Done"
fi

echo "Checking if No check patch is set or not"
if ! patch -Rf -N -p1 -s --dry-run < ../../patches/nocheck.patch; then
patch -N -p1 -s < ../../patches/nocheck.patch
fi
echo "Done"


#echo "Patch protobuf wrong hash"
#patch -N -R -p1 -s < ../../patches/protobuf_hash.patch
#echo "Done"
Expand Down
10 changes: 10 additions & 0 deletions patches/nocheck.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- include/package-ipkg.mk.1 2019-06-02 10:10:48.814882668 +0200
+++ include/package-ipkg.mk 2019-06-02 10:08:20.372736726 +0200
@@ -79,7 +79,6 @@
if [ -f "$(PKG_INFO_DIR)/$(1).missing" ]; then \
echo "Package $(1) is missing dependencies for the following libraries:" >&2; \
cat "$(PKG_INFO_DIR)/$(1).missing" >&2; \
- false; \
fi; \
)
endef

0 comments on commit 3dade01

Please sign in to comment.