[PATCH] base-files: sysupgrade: store status of system-services
Sven Roederer
devel-sven at geroedel.de
Sun Jan 10 16:28:03 EST 2021
Am Samstag, 9. Januar 2021, 12:28:31 CET schrieb Stijn Segers:
> > @@ -228,6 +229,7 @@ do_save_conffiles() {
> >
> > if [ "$SAVE_INSTALLED_PKGS" -eq 1 ]; then
> > echo "${INSTALLED_PACKAGES}" >> "$CONFFILES"
> > + echo "${SERVICE_STATUS}" >> "$CONFFILES"
> > mkdir -p "$ETCBACKUP_DIR"
>
> Am I reading this correctly and is this only keeping track of service
> status if you tell sysupgrade to save packages? What's the rationale
> behind that?
>
> I have a personal build with all packages preinstalled, so I don't need
> that. Would like to keep track of service status though. Can those two
> things be entangled?
>
Stijn,
my intention was to not change the current behavior by default, so an extra
switch or extending an existing switch looked like the way. I've choosen the
lazy one, based on "when the user is storing the packages-list, he is for sure
interested in the services".
But I'm happy to add a separate switch to sysupgrade. Any preference of the
letter? What about using "-s"?
Sven
More information about the openwrt-devel
mailing list