[Ovmsdev] Config backup & restore

Mark Webb-Johnson mark at webb-johnson.net
Sun Oct 14 10:32:43 HKT 2018


I have:

# First, update the IDF
echo Updating ESP IDF...
cd $IDF_PATH
/usr/bin/git pull
/usr/bin/git submodule init
/usr/bin/git submodule update
echo

# Next, update the OVMS code
echo Updating OVMS code...
cd $OVMS_TREE
/usr/bin/git pull
/usr/bin/git submodule init
/usr/bin/git submodule update
echo

Which seems to work for me.

Regards, Mark.

> On 14 Oct 2018, at 12:05 AM, Craig Leres <leres at xse.com> wrote:
> 
> 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
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20181014/33cbbee6/attachment.htm>


More information about the OvmsDev mailing list