Skip to content

feat(ns-api): add update-timezone script for post-commit processing#1545

Open
m-dilorenzi wants to merge 1 commit intomainfrom
timezone_not_applied
Open

feat(ns-api): add update-timezone script for post-commit processing#1545
m-dilorenzi wants to merge 1 commit intomainfrom
timezone_not_applied

Conversation

@m-dilorenzi
Copy link
Collaborator

This pull request adds timezone update functionality to the ns-api package. The main change is the introduction of a new post-commit hook script that updates the system timezone when relevant configuration changes are detected. Additionally, the installation process is updated to include this new script.

Timezone update feature:

  • Added new post-commit hook update-timezone.py to update the /etc/localtime symlink and /tmp/TZ variable when system timezone or zonename changes are detected. (packages/ns-api/files/post-commit/update-timezone.py)
  • Modified the installation process in the Makefile to install the new update-timezone.py script as part of the post-commit hooks. (packages/ns-api/Makefile)

Closes: #1454

@m-dilorenzi m-dilorenzi self-assigned this Mar 3, 2026
@m-dilorenzi m-dilorenzi requested a review from Tbaile March 3, 2026 09:21
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.

Timezone is not applied

1 participant