Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Handle reboot for transactional update systems #256

Merged

Conversation

HVSharma12
Copy link
Contributor

Enhancement: - Added a block to identify and handle reboots for transactional update systems on package changes. Update README. Rename ALP-Dolomite var file to SL-Micro as the name is no longer used.

Reason: Ensure necessary reboots are managed, as changes on transactional update systems are applied in a separate snapshot and require a reboot to take effect.

Result: Manages system reboots for transactional update systems when a package is installed.

Issue Tracker Tickets (Jira or BZ if any):na

README.md Outdated
@@ -112,6 +112,14 @@ timesync_ntp_provider: chrony
timesync_chrony_custom_settings:
- "logdir /var/log/chrony"
- "log measurements statistics tracking"

#This variable is used to handle reboots required by transactional updates.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#This variable is used to handle reboots required by transactional updates.
# This variable is used to handle reboots required by transactional updates.

Missing spaces on each comment line

README.md Outdated
#reboot if `timesync_transactional_update_reboot_ok` is set to `true`. If set
#to `false`, the role will notify the user that a reboot is required, allowing
#for custom handling of the reboot requirement. If this variable is not set,
#the role will fail to ensure the reboot requirement is not overlooked.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please mention that this variable is only applicable for transactional update systems and is ignored otherwise. Now it sounds like this variable is required in any case.

@spetrosi
Copy link
Contributor

spetrosi commented Aug 6, 2024

[citest]

@spetrosi spetrosi merged commit 2a6ed11 into linux-system-roles:main Aug 8, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants