Skip to content

[FEATURE] Put a brief explanation in /run/reboot-required #1574

@jcpunk

Description

@jcpunk

Currently [tracer](https://github.com/FrostyX/tracer/blob/master/tracer/controllers/default.py#L146) puts a message into /run/reboot-required with a brief explanation of why the reboot is required.

Id would be nice if bootc also put a message into /run/reboot-required. This way I could a something like this to /etc/profile.d as a notice to folks:

if [[ -e /run/reboot-required ]]; then
  cat /run/reboot-required
fi

I was thinking something like:

bootc says a reboot is required to load staged image: XYZ

Metadata

Metadata

Assignees

No one assigned

    Labels

    gain/mediumMedium gaintriagedThis looks like a valid issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions