@@ -45,8 +45,7 @@ Then install one of the `latest builds <http://downloads.openwisp.io/openwisp-co
4545
4646 opkg install < URL>
4747
48- Where ``<URL> `` is the URL of the image that is suitable for your case
49- (we suggest ``openssl `` or alternatively ``mbedtls ``).
48+ Where ``<URL> `` is the URL of the precompiled openwisp-config package.
5049
5150For a list of the latest built images, take a look at `downloads.openwisp.io/openwisp-config/
5251<http://downloads.openwisp.io/openwisp-config/> `_.
@@ -296,20 +295,13 @@ Path to an executable script that will be called after the registration is compl
296295Compiling openwisp-config
297296-------------------------
298297
299- There are 4 variants of *openwisp-config*:
300-
301- - **openwisp-config-openssl**: depends on *ca-certificates* and *libopenssl*
302- - **openwisp-config-mbedtls**: depends on *ca-certificates* and *libmbedtls*
303- - **openwisp-config-wolfssl**: depends on *ca-certificates* and *libwolfssl*
304- - **openwisp-config-nossl**: doesn't depend on any SSL library and doesn't install trusted CA certificates
305-
306- The following procedure illustrates how to compile all the *openwisp-config* variants and their dependencies:
298+ The following procedure illustrates how to compile *openwisp-config* and its dependencies:
307299
308300.. code-block:: shell
309301
310302 git clone https://github.com/openwrt/openwrt.git openwrt
311303 cd openwrt
312- git checkout openwrt-19.07
304+ git checkout < openwrt-branch>
313305
314306 # configure feeds
315307 echo "src-git openwisp https://github.com/openwisp/openwisp-config.git" > feeds.conf
@@ -319,23 +311,20 @@ The following procedure illustrates how to compile all the *openwisp-config* var
319311 # any arch/target is fine because the package is architecture indipendent
320312 arch="ar71xx"
321313 echo "CONFIG_TARGET_$arch =y" > .config;
322- echo "CONFIG_PACKAGE_openwisp-config-openssl=y" >> .config
323- echo "CONFIG_PACKAGE_openwisp-config-mbedtls=y" >> .config
324- echo "CONFIG_PACKAGE_openwisp-config-wolfssl=y" >> .config
325- echo "CONFIG_PACKAGE_openwisp-config-nossl=y" >> .config
314+ echo "CONFIG_PACKAGE_openwisp-config=y" >> .config
326315 make defconfig
327316 make tools/install
328317 make toolchain/install
329318 make package/openwisp-config/compile
330319
331320Alternatively, you can configure your build interactively with ` ` make menuconfig` ` , in this case
332- you will need to select the *openwisp-config* variant by going to ` ` Administration > openwisp` ` :
321+ you will need to select *openwisp-config* by going to ` ` Administration > openwisp` ` :
333322
334323.. code-block:: shell
335324
336325 git clone https://github.com/openwrt/openwrt.git openwrt
337326 cd openwrt
338- git checkout openwrt-19.07
327+ git checkout < openwrt-branch>
339328
340329 # configure feeds
341330 echo "src-git openwisp https://github.com/openwisp/openwisp-config.git" > feeds.conf
@@ -358,14 +347,14 @@ each new device, you should switch to using a custom OpenWRT firmware image that
358347 hence saving extra time and effort to register each device on the controller app
359348* if you happen to reset the firmware to initial settings, these precompiled settings will be restored as well
360349
361- The following procedure illustrates how to compile a custom ` OpenWRT 19.07 < https://openwrt.org/> ` _
350+ The following procedure illustrates how to compile a custom ` OpenWRT < https://openwrt.org/> ` _
362351image with a precompiled minimal ` ` /etc/config/openwisp` ` configuration file:
363352
364353.. code-block:: shell
365354
366355 git clone https://github.com/openwrt/openwrt.git openwrt
367356 cd openwrt
368- git checkout openwrt-19.07
357+ git checkout < openwrt-branch>
369358
370359 # include precompiled file
371360 mkdir -p files/etc/config
@@ -384,8 +373,7 @@ image with a precompiled minimal ``/etc/config/openwisp`` configuration file:
384373 # replace with your desired arch target
385374 arch="ar71xx"
386375 echo "CONFIG_TARGET_$arch =y" > .config
387- echo "CONFIG_PACKAGE_openwisp-config-openssl=y" >> .config
388- echo "CONFIG_LIBCURL_OPENSSL=y" >> .config
376+ echo "CONFIG_PACKAGE_openwisp-config=y" >> .config
389377 make defconfig
390378 # compile with verbose output
391379 make -j1 V=s
0 commit comments