diff options
Diffstat (limited to 'docs/UPDATING.md')
-rw-r--r-- | docs/UPDATING.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/UPDATING.md b/docs/UPDATING.md new file mode 100644 index 0000000..87d4bf1 --- /dev/null +++ b/docs/UPDATING.md | |||
@@ -0,0 +1,16 @@ | |||
1 | # HowTo Update OpenJDK 8 # | ||
2 | |||
3 | 1. Determine latest ga version: | ||
4 | curl -s "https://hg.openjdk.java.net/jdk8u/jdk8u/tags" | grep -m 1 "jdk8u.*ga" | sed 's/-ga$//g' | ||
5 | 2. Rename OpenJDK/OpenJRE bb files to the matching release version | ||
6 | 3. Adapt the CHANGESET_ID for aarch32 based on: | ||
7 | curl -s https://hg.openjdk.java.net/aarch32-port/jdk8u/tags | grep "jdk8u.*ga-aarch32-" | ||
8 | 4. Adapt the CHANGESET_ID for aarch64 based on: | ||
9 | curl -s https://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah/tags | grep "aarch64-shenandoah-jdk8u.*-" | ||
10 | 5. Adapt source archive checksums by executing the script | ||
11 | ./docs/update8checksums.sh | ||
12 | 6. Check if any patch got upstreamed (and remove if so) | ||
13 | 7. Re-apply all other patches and format them again | ||
14 | for git: git format-patch --src-prefix=a/y/ --dst-prefix=b/y/ -n --start-number=x jdk8uXXX-ga | ||
15 | 8. Test for x86_64, aarch32 & aarch64 (at least using testimage in qemu) | ||
16 | 9. Send a patch ;-) | ||