[Ovmsdev] Config backup & restore

Craig Leres leres at xse.com
Sun Oct 14 00:05:21 HKT 2018


On 10/3/18 5:38 AM, Michael Balzer wrote:
> I've added ZIP archive support. This is based on zlib and libzip, which 
> are included as new submodules, so you'll need to do "git submodule 
> update" after pulling the update.

My update script already does that:

     #!/bin/sh
     set -x
     git fetch upstream
     git checkout master
     git submodule update
     git merge upstream/master
     git push

Which updates my fork but I could not build after due to the lack of 
zip.h. I found this:

     https://stackoverflow.com/a/38673595

which suggests:

     git submodule init
     git submodule update
     # or
     git submodule update --init

The latter pulled in the new submodules and I then was able to build.

		Craig



More information about the OvmsDev mailing list