mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
openjdk8: do not symlink icc profiles
This commit is contained in:
parent
29785c5b7a
commit
b47d2f8029
@ -141,6 +141,11 @@ let
|
|||||||
rm -rf $out/lib/openjdk/jre/bina
|
rm -rf $out/lib/openjdk/jre/bina
|
||||||
ln -s $out/lib/openjdk/bin $out/lib/openjdk/jre/bin
|
ln -s $out/lib/openjdk/bin $out/lib/openjdk/jre/bin
|
||||||
|
|
||||||
|
# Make sure cmm/*.pf are not symlinks:
|
||||||
|
# https://youtrack.jetbrains.com/issue/IDEA-147272
|
||||||
|
rm -rf $out/lib/openjdk/jre/lib/cmm
|
||||||
|
ln -s {$jre,$out}/lib/openjdk/jre/lib/cmm
|
||||||
|
|
||||||
# Set PaX markings
|
# Set PaX markings
|
||||||
exes=$(file $out/lib/openjdk/bin/* $jre/lib/openjdk/jre/bin/* 2> /dev/null | grep -E 'ELF.*(executable|shared object)' | sed -e 's/: .*$//')
|
exes=$(file $out/lib/openjdk/bin/* $jre/lib/openjdk/jre/bin/* 2> /dev/null | grep -E 'ELF.*(executable|shared object)' | sed -e 's/: .*$//')
|
||||||
echo "to mark: *$exes*"
|
echo "to mark: *$exes*"
|
||||||
|
Loading…
Reference in New Issue
Block a user