-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathjava-common.yaml
40 lines (36 loc) · 1.15 KB
/
java-common.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package:
name: java-common
version: 0.2
epoch: 0
description: "Compatibility infrastructure for JVM runtimes (JDK)"
copyright:
- license: GPL-2.0-or-later
dependencies:
runtime:
- ${{package.name}}-jre
environment:
contents:
packages:
- busybox
pipeline:
- runs: |
mkdir -p "${{targets.destdir}}"/usr/bin
for exe in jaotc jar jarsigner javac javadoc javap jcmd jdb jdeprscan jdeps jexec jexec-binfmt jhsdb jimage jinfo jjs jlink jmap jmod jps jshell jstack jstat jstatd pack200 rmic rmid serialver unpack200; do
ln -sf ../lib/jvm/default-jvm/bin/$exe "${{targets.destdir}}"/usr/bin
done
subpackages:
- name: "${{package.name}}-jre"
description: "Compatibility infrastructure for JVM runtimes (JRE)"
pipeline:
- runs: |
mkdir -p "${{targets.contextdir}}"/usr/bin
for exe in java \
jfr \
jrunscript \
jwebserver \
keytool \
rmiregistry; do
ln -sf ../lib/jvm/default-jvm/bin/$exe "${{targets.contextdir}}"/usr/bin
done
update:
enabled: false