-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Reuse timezone code from containers/common #21332
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Ephemeral COPR build failed. @containers/packit-build please check. |
LGTM but you have build failures |
LGTM |
d20f529
to
69060e4
Compare
@dfr PTAL Won't work on freebsd? |
I think this should work on FreeBSD - it uses /etc/localtime in the same way as Linux. |
I tested this on FreeBSD and it doesn't work correctly - I think the /etc/localtime symlink is wrong:
(ignore the 'unexpected OS' error - l think thats a bug in one of my PRs from last year) |
@umohnani8 Looks like your filter changes are breaking when containers/common tries to get vendored in. |
de285ac
to
a8512ea
Compare
Does the symlink option work correctly on Linux? For me, it includes the full host path to the container's usr/share/zoneinfo directory. Perhaps we should always copy since these files are tiny? |
@dfr working on another fix. |
The latest iteration with the relative symlink works fine on FreeBSD |
1666f23
to
f1fc48e
Compare
Signed-off-by: Daniel J Walsh <[email protected]>
Replaces: containers#21077 [NO NEW TESTS NEEDED] Existing tests should handle this. Signed-off-by: Sohan Kunkerkar <[email protected]> Signed-off-by: Daniel J Walsh <[email protected]>
5e081e4
into
containers:main
Replaces: #21077
[NO NEW TESTS NEEDED] Existing tests should handle this.
Does this PR introduce a user-facing change?