Hi Esben,
On 29.07.25 14:08, 'Esben Haabendal' via swupdate wrote:
> "Stefano Babic" <
stefan...@swupdate.org> writes:
>
>> Hi Clement,
>>
>> On 7/11/25 14:04, Clément Ramirez (DiyVE) wrote:
>>> Hi,
>>>
>>> After every successful update, with or without reboot, a “Restarting
>>> System” badge is shown (just above the progress bar).
>>
>> There is also a "please don't turn off", even if in most projects an
>> update is power-cut safe.
>>
>>> By reading the web page source code it seems this badge is shown when
>>> the update status received is DONE :
>>>
>>> <div id="swu-done" class="alert alert-info" style="display:
>>> none;">
>>>
>>> <i class="fas fa-sync"></i> Restarting system.
>>>
>>> </div>
>>>
>>> Is this an excepted behavior or this is something which needs to be fixed ?
>>
>> Something should be "restarted", nevertheless nobody complained about
>> this behavior up now.
>
> For what it is worth, it is quite reasonable for an A/B system to allow
> installing update asynchronous to the actual restart. The new SW can
> thus sit waiting for the next restart, which can be orchestrated
> completely separate from swupdate.
Yes, and this is a supported use case.
>
> In that case, it is confusing to see a "Restarting system" message.
> The fact that nobody have complained about it yet, does not mean it is
> correct. It is just a (log) message after all.
In most cases, branding will take place and the web-app, at least for
background, icons, etc., will be adjusted for the product. And the
message will be removed if required.
The best way should be to build the web-app from sources instead of
installing a pre-compiled version, and using some configuration to
enable / disable. However, due to weak support for npm in OE, a
precompiled version is used, and customizing the GUI is then not possible.
Best regards,
Stefano Babic
>
> /Esben
>