luci icon indicating copy to clipboard operation
luci copied to clipboard

[Feature Request] luci-app-attendedsysupgrade: LOG of packages

Open lars18th opened this issue 2 years ago • 7 comments

Hi @aparcar ,

This is a request related/similar to #6312 but not the same. Here the PROBLEM:

  • When you use the "luci-app-attendedsysupgrade" a LOG the packages requested to be introduced in the firmware image aren't saved. Therefore you can't manually reproduce the firmware.

Another question:

  • If you want to get the firmware to upload it to other identical devices, then you can't. Because the downloaded image is not provided (a simple link will be sufficient; or an automatic download).

Therefore I suggest (if you agree), to generate a LOG file and store it in a preserved directory (i.e. "/etc/attendedsysupgrade/log/"). Futhermore, perhaps you can provide inside the interface a box to edit the list of the packages.

I hope you want to consider this. Regards.

lars18th avatar Dec 26 '23 16:12 lars18th

auc -n in command line provides link to cached custom image.

brada4 avatar Dec 30 '23 20:12 brada4

auc -n in command line provides link to cached custom image.

Nice! But this is not executed when you use the LUCI app. So, I suggest to add this enhancement to the LUCI interface. And also to preserve the LOG.

Regards.

lars18th avatar Jan 01 '24 11:01 lars18th

no idea what are you talking about.server side log?

brada4 avatar Jan 01 '24 12:01 brada4

Normal sys upgrade can stash a log of installed packages text file.

systemcrash avatar Jan 01 '24 12:01 systemcrash

@aparcar is it possible to add download links for config backup/package list/image file download before hitting yes on attended sysupgrade?

brada4 avatar Jan 01 '24 13:01 brada4

no idea what are you talking about.server side log?

With the current implementation of the LUCI interface you can only do: click&install. Nothing more. However, using the auc CLI tool you can do more. For example, you can obtain the link of the firmware; or you can see the list of packages inside the request, etc. The idea is to store all of this data inside a LOG file that will be preserved over the update. This will improve the update of two or three similar devices that we can have at home.

lars18th avatar Jan 02 '24 09:01 lars18th

id like to get hard copy of firmware from the web for the record before applying.

brada4 avatar Jan 02 '24 10:01 brada4