Merge ~vpa1977/ubuntu/+source/openjdk-20:ubuntu/devel into ubuntu/+source/openjdk-20:ubuntu/devel

Proposed by Vladimir Petko
Status: Merged
Merged at revision: 0f1e35b9c780e86a589ceaa50afde54e37ae8c48
Proposed branch: ~vpa1977/ubuntu/+source/openjdk-20:ubuntu/devel
Merge into: ubuntu/+source/openjdk-20:ubuntu/devel
Diff against target: 75 lines (+18/-4)
5 files modified
debian/JB-jre-headless.postinst.in (+4/-0)
debian/changelog (+8/-0)
debian/control (+2/-1)
debian/control.in (+2/-1)
debian/tests/control (+2/-2)
Reviewer Review Type Date Requested Status
Steve Langasek (community) Approve
git-ubuntu import Pending
Review via email: mp+438161@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 [00:12:08]: @@@@@@@@@@@@@@@@@@@@ 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

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 8d0584d..b5c6033 100644
18--- a/debian/changelog
19+++ b/debian/changelog
20@@ -1,3 +1,11 @@
21+openjdk-20 (20~26ea-1ubuntu1) 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-20-jre-headless for smoke tests.
26+
27+ -- Vladimir Petko <vladimir.petko@canonical.com> Wed, 01 Mar 2023 15:24:44 +1300
28+
29 openjdk-20 (20~26ea-1) unstable; urgency=medium
30
31 * OpenJDK 20 snapshot, build 26 (rampdown phase one).
32diff --git a/debian/control b/debian/control
33index 6f3e3c1..49b9ed6 100644
34--- a/debian/control
35+++ b/debian/control
36@@ -1,7 +1,8 @@
37 Source: openjdk-20
38 Section: java
39 Priority: optional
40-Maintainer: OpenJDK Team <openjdk-20@packages.debian.org>
41+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
42+XSBC-Original-Maintainer: OpenJDK Team <openjdk-20@packages.debian.org>
43 Uploaders: Matthias Klose <doko@ubuntu.com>
44 Build-Depends: debhelper (>= 11),
45 m4, lsb-release, zip, unzip,
46diff --git a/debian/control.in b/debian/control.in
47index e42ea41..2a55d4c 100644
48--- a/debian/control.in
49+++ b/debian/control.in
50@@ -1,7 +1,8 @@
51 Source: @basename@
52 Section: java
53 Priority: optional
54-Maintainer: OpenJDK Team <@basename@@packages.debian.org>
55+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
56+XSBC-Original-Maintainer: OpenJDK Team <@basename@@packages.debian.org>
57 Uploaders: Matthias Klose <doko@ubuntu.com>
58 Build-Depends: @bd_debhelper@
59 m4, lsb-release, zip, unzip,
60diff --git a/debian/tests/control b/debian/tests/control
61index 592e331..dfa3eac 100644
62--- a/debian/tests/control
63+++ b/debian/tests/control
64@@ -1,9 +1,9 @@
65 Test-Command: java --version
66-Depends: openjdk-18-jre-headless
67+Depends: openjdk-20-jre-headless
68 Restrictions: superficial
69
70 Test-Command: javac --version
71-Depends: openjdk-18-jdk-headless
72+Depends: openjdk-20-jdk-headless
73 Restrictions: superficial
74
75 #Tests: hotspot, jaxp, langtools

Subscribers

People subscribed via source and target branches