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

ALPHA 3. ETF. Add installation and check of java11 as sudo to ensure its installation #412

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

jenriquesoriano
Copy link
Contributor

Testing on alpha 3 we have noted that java11 will not be installed succesfully if not run as sudo, so we have added sudo in the installation file on the lines where java11 is checked and then installed (line 85 and 90)

Updated ETF install file for OSGeoLive 17 to work with new OS and Java version
Fixed changing java version assigning manually java version to be used by jetty
added sudo flag on line 85 and 90 (check for java11 in system and install it as sudo user)
update and add installation and check of java11 as sudo to ensure installation
@jenriquesoriano jenriquesoriano changed the title Add installation and check of java11 as sudo to ensure its installation ALPHA 3. Add installation and check of java11 as sudo to ensure its installation Nov 15, 2024
@jenriquesoriano jenriquesoriano changed the title ALPHA 3. Add installation and check of java11 as sudo to ensure its installation ALPHA 3. ETF. Add installation and check of java11 as sudo to ensure its installation Nov 15, 2024
@kalxas
Copy link
Member

kalxas commented Nov 15, 2024

All the scripts are supposed to run with sudo

Changed user to SUDO_USER (whoami if it fails) and add info in the header about running as  sudo
Remove explicit sudo execution, since:
- install script will run as sudo
- a check for sudo user is included
Remove explicit sudo execution, since:
- install script will run as sudo
- a check for sudo user is included
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants