Movement of jcmd should happen for both portable and non-portable builds
- Related: RHEL-13585
This commit is contained in:
parent
204e3fe067
commit
5575399c13
@ -2219,9 +2219,6 @@ function installjdk() {
|
||||
cat man/man1/java.1 >> man/man1/%{alt_java_name}.1
|
||||
popd
|
||||
|
||||
# Move jcmd into the jre image (RHEL-12344)
|
||||
mv ${imagepath}/bin/jcmd ${imagepath}/jre/bin
|
||||
|
||||
# Print release information
|
||||
cat ${imagepath}/release
|
||||
|
||||
@ -2256,6 +2253,9 @@ function customisejdk() {
|
||||
mv ${imagepath}/jre/lib/security/cacerts{,.upstream}
|
||||
# Install cacerts symlink needed by some apps which hard-code the path
|
||||
ln -sv %{cacerts_file} ${imagepath}/jre/lib/security
|
||||
|
||||
# Move jcmd into the jre image (RHEL-12344)
|
||||
mv ${imagepath}/bin/jcmd ${imagepath}/jre/bin
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user