Skip to content

Commit

Permalink
back to snapcraft variable
Browse files Browse the repository at this point in the history
Nothing is working to remove these blacklisted certs
$CRAFT_ARCH_BUILD_FOR
  • Loading branch information
kz6fittycent committed Dec 6, 2023
1 parent d62cb56 commit d8323d3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ parts:
cp /etc/ssl/certs/java/cacerts $CRAFT_PART_INSTALL/etc/ssl/certs/java/cacerts
mv jenkins.war $CRAFT_PART_INSTALL
override-prime: |
snapcraftctl prime
rm -f usr/lib/jvm/java-17-openjdk-*/lib/security/blacklisted.certs
rm -f usr/lib/jvm/java-11-openjdk-*/lib/security/blacklisted.certs
prime:
- -usr/lib/jvm/java-17-openjdk-$CRAFT_ARCH_BUILD_FOR/lib/security/blacklisted.certs
- -usr/lib/jvm/java-11-openjdk-$CRAFT_ARCH_BUILD_FOR/lib/security/blacklisted.certs

config:
plugin: dump
Expand Down

0 comments on commit d8323d3

Please sign in to comment.