Merge ~vpa1977/ubuntu/+source/openjdk-19:ca-certificates-java-dpkg into ubuntu/+source/openjdk-19:ubuntu/devel

Proposed by Vladimir Petko
Status: Needs review
Proposed branch: ~vpa1977/ubuntu/+source/openjdk-19:ca-certificates-java-dpkg
Merge into: ubuntu/+source/openjdk-19:ubuntu/devel
Diff against target: 47 lines (+14/-2)
3 files modified
debian/JB-jre-headless.postinst.in (+4/-0)
debian/changelog (+8/-0)
debian/tests/control (+2/-2)
Reviewer Review Type Date Requested Status
Steve Langasek (community) Approve
git-ubuntu import Pending
Review via email: mp+438187@code.launchpad.net

Description of the change

This merge proposal is a pre-requisite for ca-certificates-java MP[1]

Summary of changes:
  * debian/JB-jre-headless.postinst.in: trigger ca-certificates-java after jre is set up.

PPA: ppa:vpa1977/ca-certificates-java-dpkg [2]

Steps to test:
 autopkgtests should pass

Autopkgtest results:
autopkgtest [23:58:52]: @@@@@@@@@@@@@@@@@@@@ summary
command1 PASS (superficial)
command2 PASS (superficial)

[1] https://code.launchpad.net/~vpa1977/ubuntu/+source/ca-certificates-java/+git/ca-certificates-java/+merge/438150
[2] https://launchpad.net/~vpa1977/+archive/ubuntu/ca-certificates-java-dpkg

To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) :
review: Approve

Unmerged commits

e54ee5d... by Vladimir Petko

changelog

f1c2348... by Vladimir Petko

use openjdk-19 for testing

2a421c8... by Vladimir Petko

changelog

1bba3a5... by Vladimir Petko

  * debian/JB-jre-headless.postinst.in: trigger ca-certificates-java after jre is set up.

166762e... by Vladimir Petko

19.0.2+7-0ubuntu3~22.10 (patches unapplied)

Imported using git-ubuntu import.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/JB-jre-headless.postinst.in b/debian/JB-jre-headless.postinst.in
2index c40abb8..b764c47 100644
3--- a/debian/JB-jre-headless.postinst.in
4+++ b/debian/JB-jre-headless.postinst.in
5@@ -93,6 +93,10 @@ configure)
6 update-binfmts --package @basename@ --import jar || true
7 fi
8
9+ # Now that java is fully registered and configured,
10+ # call update-ca-certificates-java
11+ dpkg-trigger update-ca-certificates-java
12+
13 ;;
14
15 esac
16diff --git a/debian/changelog b/debian/changelog
17index 804597f..cad2c46 100644
18--- a/debian/changelog
19+++ b/debian/changelog
20@@ -1,3 +1,11 @@
21+openjdk-19 (19.0.2+7-0ubuntu4) lunar; urgency=medium
22+
23+ * debian/JB-jre-headless.postinst.in: trigger ca-certificates-java after jre
24+ is set up.
25+ * debian/tests/control: use openjdk-19-jre-headless for smoke tests.
26+
27+ -- Vladimir Petko <vladimir.petko@canonical.com> Thu, 02 Mar 2023 23:45:18 +1300
28+
29 openjdk-19 (19.0.2+7-0ubuntu3~22.10) kinetic-security; urgency=medium
30
31 * Upload to Ubuntu 22.10.
32diff --git a/debian/tests/control b/debian/tests/control
33index 4afc2ff..252e9de 100644
34--- a/debian/tests/control
35+++ b/debian/tests/control
36@@ -1,9 +1,9 @@
37 Test-Command: java --version
38-Depends: openjdk-18-jre-headless
39+Depends: openjdk-19-jre-headless
40 Restrictions: superficial
41
42 Test-Command: javac --version
43-Depends: openjdk-18-jdk-headless
44+Depends: openjdk-19-jdk-headless
45 Restrictions: superficial
46
47 #Tests: hotspot, jaxp, langtools

Subscribers

People subscribed via source and target branches