-
Notifications
You must be signed in to change notification settings - Fork 113
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
base: master
Are you sure you want to change the base?
Conversation
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
All the scripts are supposed to run with sudo |
…ader about running as 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
Thanks, PR modified accordingly |
I can still see conflicts with master |
- Rollback to keep existing sudo in master branch - Included comment to explain to execute it as sudo - Included sudo in java installation
Dear @kalxas , Apologies for the misunderstanding. We have updated the PR to include sudo only in the Java installation step (just in case), and we have also added instructions in the header to install it using sudo. With these changes, the installation will now work both for the root user and for any regular user. Please note that the ETF reads the .etf folder from the user executing the system at startup, so ensuring that any user can handle this is also crucial. Best regards, |
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)