[PATCH] base-files: sysupgrade: store status of system-services

Daniel Golle daniel at makrotopia.org
Sat Jan 9 08:08:03 EST 2021


On Sat, Jan 09, 2021 at 01:56:13PM +0200, Reiner Karlsberg wrote:
> Am 09.01.2021 um 13:28 schrieb Stijn Segers:
> 
> > Currently all services get enabled during image creation. This can cause
> > issues after upgrade with services explicitly disabled by the user.
> > With this created list sourced by a simple uci-defaults script the state
> > can be restored automatically.
> 
> Pls, do _NOT_ make this default.
> There might be other entities, besides me, who already have
> implemented methods to work around unnecessary enabled services.
> I.e. to disable service in uci-defaults, like I do.
> Auto-restore service state will break existing code.

Also note that ImageBuilder allows to generate images having
certain services installed but disabled using the
DISABLED_SERVICES="<pkg> ..." parameter.



More information about the openwrt-devel mailing list