Re: [LEDE-DEV] how to make sysupgrade not drop user-installed packages

2017-01-11 Thread Oswald Buddenhagen
On Wed, Jan 11, 2017 at 10:54:10AM +0100, Jo-Philipp Wich wrote: > > there doesn't appear to be anything hard about having the build bots > > include a file into /etc which contains the _current_ repository > > url, subdirectory, and image name. > > you forget that up until very recently the same

Re: [LEDE-DEV] how to make sysupgrade not drop user-installed packages

2017-01-11 Thread Jo-Philipp Wich
Hi, > i actually had that typed out already, but deleted it because it seems > like a complete no-brainer to me. there doesn't appear to be anything > hard about having the build bots include a file into /etc which contains > the _current_ repository url, subdirectory, and image name. you forget

Re: [LEDE-DEV] how to make sysupgrade not drop user-installed packages

2017-01-10 Thread Oswald Buddenhagen
On Sun, Jan 08, 2017 at 08:38:04PM +0100, Jo-Philipp Wich wrote: > Right now it cannot be provided unless we provide suitable meta data for > that on the server side or - preferably - inside the image itself. > i actually had that typed out already, but deleted it because it seems like a complete

Re: [LEDE-DEV] how to make sysupgrade not drop user-installed packages

2017-01-08 Thread Jo-Philipp Wich
Hi Oswald, > scripts for doing just that have been posted years ago, so i'm wondering > why such a mechanism wasn't integrated upstream. am i missing something, > or did just nobody think it important enough to do? as far as I remember there never was a clean patch series proposed to implement su

Re: [LEDE-DEV] how to make sysupgrade not drop user-installed packages

2017-01-08 Thread Oswald Buddenhagen
On Sat, Jan 07, 2017 at 11:31:01PM +0100, Magnus Kroken wrote: > On 07.01.2017 19.04, Oswald Buddenhagen wrote: > > the idea would be to simply dump the list of user-installed packages into > > a config file which is preserved by sysupgrade. now, firstboot would see > > that file and start opgk wit

Re: [LEDE-DEV] how to make sysupgrade not drop user-installed packages

2017-01-07 Thread Luiz Angelo Daros de Luca
When I do upgrades, I save the list of "extra" installed packages (looking at /overlay/upper/usr/lib/opkg/info/*.control). Maybe we could save this "list of extra packages" when the configuration is saved (like before the upgrade) somewhere. It's useful and very "cheap". When this "list" is presen

Re: [LEDE-DEV] how to make sysupgrade not drop user-installed packages

2017-01-07 Thread Magnus Kroken
Hi Oswald On 07.01.2017 19.04, Oswald Buddenhagen wrote: the idea would be to simply dump the list of user-installed packages into a config file which is preserved by sysupgrade. now, firstboot would see that file and start opgk with it - that's usually going to just work, as the network configu

[LEDE-DEV] how to make sysupgrade not drop user-installed packages

2017-01-07 Thread Oswald Buddenhagen
moin, i'm wondering what could be done about the nuisance that after a sysupgrade one needs to manually re-install the user-installed packages. the documented process is pretty much algorithmic, so it seems like a shame that it's not (mostly) automated. the idea would be to simply dump the list o