aosc-os-abbs icon indicating copy to clipboard operation
aosc-os-abbs copied to clipboard

Marking Packages with "Reboot Required" Tag

Open MingcongBai opened this issue 5 years ago • 1 comments

This is a standard defined in Debian/Ubuntu, and thus used by their motd/profiles and the PackageKit APTCC backend to notify users about updates which requires a reboot to take effect.

To adapt this to AOSC OS, several things must be done:

  • Start tasking some packages with creating /var/run/reboot-required in postinst.
    • Autobuild3 task: A switch to automatically append this operation?
  • bash-config/aosc-aaa: detect the file and output a notification.

MingcongBai avatar Feb 14 '20 03:02 MingcongBai

And... restart required: https://manpages.ubuntu.com/manpages/man1/needrestart.1.html

KexyBiscuit avatar Oct 15 '21 09:10 KexyBiscuit