Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Linux Packages #79

Merged
merged 3 commits into from
Apr 18, 2019
Merged

Build Linux Packages #79

merged 3 commits into from
Apr 18, 2019

Conversation

aahlenst
Copy link
Contributor

@aahlenst aahlenst commented Apr 3, 2019

Adds the necessary infrastructure and build scripts to build Debian (for Debian and Ubuntu) and RPM (CentOS, Fedora, RHEL, OpenSUSE, SLES) packages from binary AdoptOpenJDK distributions with the help of fpm. The exact capabilities and supported platforms are outlined in the included README.

The Debian packages should be pretty solid and conform to user expectations. I'm not so sure regarding the RPMs because everybody packages them a little differently.

What is missing and is going to be addressed in upcoming pull requests:

  • Upload to package servers
  • Automatic testing of packages

This pull request supersedes #61.

@aahlenst aahlenst mentioned this pull request Apr 3, 2019
9 tasks
@karianna karianna added this to the April 2019 milestone Apr 4, 2019
@dal00
Copy link

dal00 commented Apr 11, 2019

There is no symlink to src.zip in the root of /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/
I think a lot of tools might expect one there.

@aahlenst
Copy link
Contributor Author

@dal00 Which distribution, package format? Where should src.zip point to?

@dal00
Copy link

dal00 commented Apr 11, 2019

Sorry, I should have been more precise.
Debian/Ubuntu
/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/lib/src.zip -> /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/src.zip

Edit: it should probably be a relative link

$ pwd
/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64
$ ls -l
total 36
drwxr-xr-x  2 root root 4096 Apr 11 10:27 bin
drwxr-xr-x  4 root root 4096 Apr 11 10:27 conf
drwxr-xr-x  4 root root 4096 Apr 11 10:27 demo
drwxr-xr-x  3 root root 4096 Apr 11 10:27 include
drwxr-xr-x  2 root root 4096 Apr 11 10:27 jmods
drwxr-xr-x 72 root root 4096 Apr 11 10:27 legal
drwxr-xr-x  6 root root 4096 Apr 11 10:27 lib
drwxr-xr-x  5 root root 4096 Apr 11 10:27 man
-rw-r--r--  1 root root 1202 Apr 10 13:54 release
lrwxrwxrwx  1 root root   11 Apr 11 14:45 src.zip -> lib/src.zip

@aahlenst
Copy link
Contributor Author

@dal00 Thanks, should be fixed.

@gdams gdams merged commit dc42fe2 into adoptium:master Apr 18, 2019
@aahlenst aahlenst deleted the linux-packages branch April 19, 2019 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants