Individual extensions in /root/extensions no longer included on automatic updates [solved, v1.807]

edited April 4 in Problems Now Fixed

When automatic updates are applied, individual extensions in /root/extensions are no longer included in the build.

And even when using "Force software build - Build now" in Admin-Update GUI they're not included either.

I now need to do a "make force" manually each time after the KiwiSDR receives an update.

I understand there have been optimizations using some precompiled components to speed up the build process. Is there any flag that I can set to force the build process to always do a full build (including /root/extensions) on automatic updates?

Comments

  • edited March 15

    I found that it would be possible to include make variable assignments in

    ../kiwi.config/Makefile.kiwi.inc

    Which variable should I set?

    BINARY_DIST := false

    (maybe BINARY_INSTALL := false as well, but this case should already be covered by BINARY_DIST)?

    Or just

    MAKE_FORCE := true

    The best solution might be to check PVT_EXT_DIRS - if non-empty there are extensions in ../extensions

    btw: As of v1.806, there are no precompiled binaries for BBAI64 (my dev system), so this problem only occurs on the "production" system (BBG_BBB) where plain "make clean; make; make install" prefers to use the precompiled binaries.

    EDIT: Looks like including "MAKE_FORCE := true" does the job.

  • jksjks
    edited March 14

    Do you have your own extension that requires this? My impression was that, aside from the antenna switch (which is of course now integrated), that no one ever used the external extension interface.

  • edited March 16

    I did ;-) - you can see it in action here (at a friend's site, my own KiwiSDR is currently not reachable from the internet):

    http://kiwijo53cn.ddnss.org:8073/?ext=shack_control

    I consider it a prototype/experimental only, because it is based on shell scripts that allow very flexible configuration and tinkering, but meanwhile it has been in "production use" for 5 years (but just at this single site). However, I didn't publish the code yet, because I always felt it is not ready to be installed by other users without possibly causing trouble.

    The extension makes it possible to control gadgets beyond just an antenna switch (which was originally included as well, but now I started to remove that code and use ant_switch instead--the buttons for up to 8 antennas are still there for convenience, however).

    The main feature is a dialog that allows to control the Heros SCR Preselector-CAT, including its preamp and attenuators and additional builtin antenna relay. Another switch (spare relays in the Arduino that connects to the 2x6 rx antenna switch, either ELAD ASA-62 or a custom-built relay box) allows to switch the selected loop or dipole inside the LZ1AQ antenna.

    Both, the preselector and the Arduino controlling the antenna switches, are connected to the KiwiSDR via USB.

    My ultimate plan is to leave this prototype (more or less) as is and create new extensions that make some of these features available to other users, who are not familiar with shell programming.

  • Okay, for the next release the Makefile will do a "make force" if $(PVT_EXT_DIRS) is not empty.

    I have not yet started to do pre-compiled binaries for BBAI & BBAI-64 (or BBG/B running anything other than D8.x for that matter).

Sign In or Register to comment.