Skip to content

Commit

Permalink
[OPENJDK-2587] tzdata module depend upon pkg-update
Browse files Browse the repository at this point in the history
Document (as a comment) the issue of ordering pkg-update and
tzdata modules. Depend upon the pkg-update module from tzdata,
to ensure it runs first always. This has no effect on the
container images as they stand now, since they have pkg-config
occurring first already, but if that changed, this would catch
it.

Signed-off-by: Jonathan Dowland <[email protected]>
  • Loading branch information
jmtd committed Feb 13, 2024
1 parent cf906c7 commit 95d3bc4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion modules/util/tzdata/module.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
schema_version: 1
name: jboss.container.util.tzdata
version: '1.0'
description: Reinstall the tzdata package, to ensure zoneinfo is present
description: Reinstall the tzdata package, to ensure zoneinfo is present.

# if the base image tzdata version is not available on the RPM mirrors (such as
# when it has been updated), the reinstall action will fail. To prevent this,
# run pkg-update first.
modules:
install:
- name: jboss.container.util.pkg-update

execute:
- script: execute.sh

0 comments on commit 95d3bc4

Please sign in to comment.