From d988e8cee9c2fa4809657ce4ce0df06dbe746256 Mon Sep 17 00:00:00 2001 From: NewUse <7342068+NewUse@users.noreply.github.com> Date: Thu, 26 Sep 2024 00:06:00 +0300 Subject: [PATCH] Update build_howto_openwrt.txt Change build method to custom feed --- docs/compile/build_howto_openwrt.txt | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/docs/compile/build_howto_openwrt.txt b/docs/compile/build_howto_openwrt.txt index ddcffb8..61be7d1 100644 --- a/docs/compile/build_howto_openwrt.txt +++ b/docs/compile/build_howto_openwrt.txt @@ -14,18 +14,26 @@ How to compile native programs for use in openwrt cd openwrt -2) ./scripts/feeds update -a - ./scripts/feeds install -a -3) #add zapret packages to build root - #copy package descriptions - copy compile/openwrt/* to ~/openwrt +2) #go to openwrt directory + cd ~/openwrt + #Create custom feed: + mkdir custom-feed + cp feeds.conf.default feeds.conf + echo "src-link custom ~/openwrt/custom-feed/" >> ~/openwrt/feeds.conf + +3) #add zapret packages to custom feed + #create zapret directory structure + mkdir -p ~/openwrt/custom-feed/zapret #copy source code of tpws - copy tpws to ~/openwrt/package/zapret/tpws + copy tpws to ~/openwrt/custom-feed/zapret/tpws #copy source code of nfq - copy nfq to ~/openwrt/package/zapret/nfq + copy nfq to ~/openwrt/custom-feed/zapret/nfq #copy source code of ip2net - copy ip2net to ~/openwrt/package/zapret/ip2net + copy ip2net to ~/openwrt/custom-feed/zapret/ip2net + +4) ./scripts/feeds update -a + ./scripts/feeds install -a 4) make menuconfig #select your target architecture