Add a compatibility symlink from bin/jcmd to jre/bin/jcmd
Related: RHEL-13607
This commit is contained in:
parent
d95cfc8fd6
commit
7594974606
@ -343,7 +343,7 @@
|
||||
%global updatever %(VERSION=%{whole_update}; echo ${VERSION##*u})
|
||||
# eg jdk8u60-b27 -> b27
|
||||
%global buildver %(VERSION=%{version_tag}; echo ${VERSION##*-})
|
||||
%global rpmrelease 2
|
||||
%global rpmrelease 3
|
||||
# Settings used by the portable build
|
||||
%global portablerelease 1
|
||||
%global portablesuffix el8
|
||||
@ -998,6 +998,7 @@ exit 0
|
||||
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/javah
|
||||
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/javap
|
||||
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/java-rmi.cgi
|
||||
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/jcmd
|
||||
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/jconsole
|
||||
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/jdb
|
||||
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/jdeps
|
||||
@ -1992,6 +1993,7 @@ function customisejdk() {
|
||||
|
||||
# Move jcmd into the jre image (RHEL-12344)
|
||||
mv ${imagepath}/bin/jcmd ${imagepath}/jre/bin
|
||||
ln -sv ../jre/bin/jcmd ${imagepath}/bin
|
||||
fi
|
||||
}
|
||||
|
||||
@ -2639,7 +2641,11 @@ cjc.mainProgram(args)
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Oct 10 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.392.b08-1
|
||||
* Mon Oct 16 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.392.b08-3
|
||||
- Add a compatibility symlink from bin/jcmd to jre/bin/jcmd
|
||||
- Related: RHEL-13607
|
||||
|
||||
* Tue Oct 10 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.392.b08-2
|
||||
- Update to shenandoah-jdk8u392-b08 (GA)
|
||||
- Sync the copy of the portable specfile with the latest update
|
||||
- Update generate_tarball.sh to be closer to upstream vanilla script inc. no more ECC removal
|
||||
|
Loading…
Reference in New Issue
Block a user