Skip to content

Commit 52de04a

Browse files
committed
[OPENJDK-2519] tzdata module depend upon pkg-update
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]>
1 parent 45ab242 commit 52de04a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

modules/util/tzdata/module.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
schema_version: 1
22
name: jboss.container.util.tzdata
33
version: '1.0'
4-
description: Reinstall the tzdata package, to ensure zoneinfo is present
4+
description: Reinstall the tzdata package, to ensure zoneinfo is present.
5+
6+
# if the base image tzdata version is not available on the RPM mirrors (such as
7+
# when it has been updated), the reinstall action will fail. To prevent this,
8+
# run pkg-update first.
9+
modules:
10+
install:
11+
- name: jboss.container.util.pkg-update
512

613
execute:
714
- script: execute.sh

0 commit comments

Comments
 (0)