Commit b603b2d4 authored by Dmitry Blinov's avatar Dmitry Blinov

straighter and less collidey (hopefully) jdk profile

parent ee39f2cb
...@@ -11,15 +11,16 @@ parts = ...@@ -11,15 +11,16 @@ parts =
recipe = slapos.recipe.build:download-unpacked recipe = slapos.recipe.build:download-unpacked
url = https://download.java.net/java/GA/jdk12.0.2/e482c34c86bd4bf8b56c0b35558996b9/10/GPL/openjdk-12.0.2_linux-x64_bin.tar.gz url = https://download.java.net/java/GA/jdk12.0.2/e482c34c86bd4bf8b56c0b35558996b9/10/GPL/openjdk-12.0.2_linux-x64_bin.tar.gz
md5sum = f5da6f4dec81bdd2a096184ec1d69216 md5sum = f5da6f4dec81bdd2a096184ec1d69216
destination = ${java-jdk:location}
strip-top-level-dir = true strip-top-level-dir = true
[java-jdk] [java-jdk]
recipe = plone.recipe.command recipe = plone.recipe.command
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = command =
for file in ${java-jdk-download:location}/bin/* for file in ${java-jdk-download:destination}/bin/*
do do
echo appending rpath to $file echo appending rpath to $file
${patchelf:location}/bin/patchelf --set-rpath ${:rpath} $file ${patchelf:location}/bin/patchelf --set-rpath ${:rpath} $file
done done
location = ${java-jdk-download:location} rpath = ${zlib:location}/lib:${java-jdk-download:destination}/lib
rpath = ${zlib:location}/lib:${java-jdk-download:location}/lib
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment