<p dir="ltr">Hi guys,</p>
<p dir="ltr">Le 18 juin 2015 17:18, "Stefan Tomanek" <<a href="mailto:stefan.tomanek%2Bopenwrt@wertarbyte.de">stefan.tomanek+openwrt@wertarbyte.de</a>> a écrit :<br>
><br>
> Dies schrieb Bastian Bittorf (<a href="mailto:bittorf@bluebottle.com">bittorf@bluebottle.com</a>):<br>
><br>
> > > Can anyone supply any different ideas or provide some feedback?<br>
> ><br>
> > maybe: disabled services are stored during sysupgrade in<br>
> > e.g. /lib/upgrade/keep.d/services_disabled<br>
> ><br>
> > and this file will be read line by line during firstboot/uci-defaults<br>
> > (and services diabled again) and the file is then deleted.<br>
><br>
> Yes, I was thinking in that direction as well - however, /lib/upgrade/keep.d/<br>
> seems to contain file locations that should be kept during an upgrade; is there<br>
> a safe place where temporary data can be stashed during a sysupgrade? I'd like<br>
> to save the list of installed packages as well, since remembering what packages<br>
> were installed is often a kind of PITA.<br>
> At the moment, I am using these commands, but I'd like to see something like that<br>
> integrated into sysupgrade as well:<br>
><br>
>   opkg list_installed > /etc/installed_packages<br>
>   sysupgrade -c ......<br>
><br>
>   opkg update<br>
>   opkg install $(awk '{print $1}' /etc/installed_packages}<br></p>
<p dir="ltr">While you're at it, please also handle backup (not only sysupgrade)</p>
<p dir="ltr">Thanks in advance<br>
Etienne<br>
</p>