Commit b603b2d4 authored by Dmitry Blinov's avatar Dmitry Blinov

straighter and less collidey (hopefully) jdk profile

parent ee39f2cb
......@@ -11,15 +11,16 @@ parts =
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
md5sum = f5da6f4dec81bdd2a096184ec1d69216
destination = ${java-jdk:location}
strip-top-level-dir = true
[java-jdk]
recipe = plone.recipe.command
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command =
for file in ${java-jdk-download:location}/bin/*
for file in ${java-jdk-download:destination}/bin/*
do
echo appending rpath to $file
${patchelf:location}/bin/patchelf --set-rpath ${:rpath} $file
done
location = ${java-jdk-download:location}
rpath = ${zlib:location}/lib:${java-jdk-download:location}/lib
rpath = ${zlib:location}/lib:${java-jdk-download:destination}/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