Merge ~vpa1977/ubuntu/+source/openjdk-lts:ca-cerfificates-java-dpkg into ubuntu/+source/openjdk-lts:ubuntu/devel

Proposed by Vladimir Petko
Status: Merged
Merge reported by: Vladimir Petko
Merged at revision: 5989103199e7318eee068f88b2fa75be53824561
Proposed branch: ~vpa1977/ubuntu/+source/openjdk-lts:ca-cerfificates-java-dpkg
Merge into: ubuntu/+source/openjdk-lts:ubuntu/devel
Diff against target: 30 lines (+11/-0)
2 files modified
debian/JB-jre-headless.postinst.in (+4/-0)
debian/changelog (+7/-0)
Reviewer Review Type Date Requested Status
Steve Langasek (community) Approve
git-ubuntu import Pending
Review via email: mp+438159@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:
 package should be installable (see comments).

Autopkgtests results:
autopkgtest [17:00:24]: @@@@@@@@@@@@@@@@@@@@ summary
hotspot SKIP exit status 77 and marked as skippable
jaxp SKIP exit status 77 and marked as skippable
langtools SKIP exit status 77 and marked as skippable
jdk FLAKY non-zero exit status 1

Note: existing flaky autopkgtest

[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
Vladimir Petko (vpa1977) wrote :

$ sudo apt install openjdk-11-jre-headless
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libabsl20210324 libbpf0 libflac8 libfwupdplugin7 libgssdp-1.2-0
  libgupnp-1.2-1 libldap-2.5-0 liblerc3 libpcre3 libpoppler123 libprotobuf23
  libpython3.10 libqpdf28 libreoffice-ogltrans libreoffice-pdfimport
  librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2
  librygel-server-2.6-2 netkit-telnet
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho
  fonts-wqy-microhei | fonts-wqy-zenhei
The following NEW packages will be installed:
  openjdk-11-jre-headless
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 41.3 MB of archives.
After this operation, 171 MB of additional disk space will be used.
Get:1 https://ppa.launchpadcontent.net/vpa1977/ca-certificates-java-dpkg/ubuntu lunar/main amd64 openjdk-11-jre-headless amd64 11.0.18+10-0ubuntu3~ppa1 [41.3 MB]
Fetched 41.3 MB in 7s (6,262 kB/s)
Selecting previously unselected package openjdk-11-jre-headless:amd64.
(Reading database ... 162198 files and directories currently installed.)
Preparing to unpack .../openjdk-11-jre-headless_11.0.18+10-0ubuntu3~ppa1_amd64.d
eb ...
Unpacking openjdk-11-jre-headless:amd64 (11.0.18+10-0ubuntu3~ppa1) ...
Setting up openjdk-11-jre-headless:amd64 (11.0.18+10-0ubuntu3~ppa1) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jjs to provide
 /usr/bin/jjs (jjs) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/rmid to provid
e /usr/bin/rmid (rmid) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/pack200 to pro
vide /usr/bin/pack200 (pack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/unpack200 to p
rovide /usr/bin/unpack200 (unpack200) in auto mode
Processing triggers for ca-certificates-java (20230103ubuntu1~ppa9) ...
done.

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 8410cad..da5f5d0 100644
3--- a/debian/JB-jre-headless.postinst.in
4+++ b/debian/JB-jre-headless.postinst.in
5@@ -124,6 +124,10 @@ configure)
6 rm -f $log
7 esac
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 a9c510c..4ced2ad 100644
18--- a/debian/changelog
19+++ b/debian/changelog
20@@ -1,3 +1,10 @@
21+openjdk-lts (11.0.18+10-0ubuntu3) lunar; urgency=medium
22+
23+ * debian/JB-jre-headless.postinst.in: trigger ca-certificates-java after jre
24+ is set up.
25+
26+ -- Vladimir Petko <vladimir.petko@canonical.com> Wed, 01 Mar 2023 16:55:33 +1300
27+
28 openjdk-lts (11.0.18+10-0ubuntu2) lunar; urgency=medium
29
30 * No-change rebuild, building on i386.

Subscribers

People subscribed via source and target branches