Opened 23 months ago

Closed 20 months ago

Last modified 20 months ago

#2760 closed task (fixed)

Ubuntu: Remove bash-isms from install script

Reported by: jng Owned by: jng
Priority: low Milestone:
Component: Installer Version:
Severity: trivial Keywords:
Cc: External ID:

Description

The service control script is already bash-ism free. The ubuntu install script should be bash-ism free as well.

Change History (4)

comment:1 Changed 20 months ago by jng

Resolution: fixed
Status: newclosed

In 9167:

  • Remove bash-isms from install script. This script now runs on vanilla POSIX sh. Fixes #2760
  • Add support for: --no-service-install: To prevent automatic installation of service scripts --no-mgserver-start: Do not auto-start mgserver --no-tomcat-start: Do not auto-start tomcat --no-httpd-start: Do not auto-start httpd

All these new flags only apply if the --headless flag is specified. Fixes #2768

comment:2 Changed 20 months ago by jng

In 9169:

Merged revision(s) 9163, 9166-9167 from trunk/Tools/Vagrant:
Update clean.bat and Vagrantfiles in light of stupidity introduced in vagrant that demands the script file being referenced by the shell provisioner configuration physically exist, even if I just want to destroy the associated running VM!
........
Fix bad provision script path for centos6/x86
........

  • Remove bash-isms from install script. This script now runs on vanilla POSIX sh. Fixes #2760
  • Add support for: --no-service-install: To prevent automatic installation of service scripts --no-mgserver-start: Do not auto-start mgserver --no-tomcat-start: Do not auto-start tomcat --no-httpd-start: Do not auto-start httpd

All these new flags only apply if the --headless flag is specified. Fixes #2768
........

comment:3 Changed 20 months ago by jng

In 9170:

Merged revision(s) 9163, 9166-9168 from trunk/Tools/Vagrant:
Update clean.bat and Vagrantfiles in light of stupidity introduced in vagrant that demands the script file being referenced by the shell provisioner configuration physically exist, even if I just want to destroy the associated running VM!
........
Fix bad provision script path for centos6/x86
........

  • Remove bash-isms from install script. This script now runs on vanilla POSIX sh. Fixes #2760
  • Add support for: --no-service-install: To prevent automatic installation of service scripts --no-mgserver-start: Do not auto-start mgserver --no-tomcat-start: Do not auto-start tomcat --no-httpd-start: Do not auto-start httpd

All these new flags only apply if the --headless flag is specified. Fixes #2768
........
Merged revision(s) 8967, 8972-8973 from branches/3.1/vagrant:
Fix release label not being properly stamped onto ubuntu install script as it was looking for a default label that doesn't exist.
........
Update ubuntu install script:

  • Add extra pre-requisite packages that were discovered to be required when testing on a clean barebones Ubuntu server installation.

........
Remove libc6 requirement from mginstallubuntu.sh. This package will always be present.
........

........

comment:4 Changed 20 months ago by jng

In 9171:

Merged revision(s) 9163, 9166-9168 from trunk/Tools/Vagrant:
Update clean.bat and Vagrantfiles in light of stupidity introduced in vagrant that demands the script file being referenced by the shell provisioner configuration physically exist, even if I just want to destroy the associated running VM!
........
Fix bad provision script path for centos6/x86
........

  • Remove bash-isms from install script. This script now runs on vanilla POSIX sh. Fixes #2760
  • Add support for: --no-service-install: To prevent automatic installation of service scripts --no-mgserver-start: Do not auto-start mgserver --no-tomcat-start: Do not auto-start tomcat --no-httpd-start: Do not auto-start httpd

All these new flags only apply if the --headless flag is specified. Fixes #2768
........
Merged revision(s) 8967, 8972-8973 from branches/3.1/vagrant:
Fix release label not being properly stamped onto ubuntu install script as it was looking for a default label that doesn't exist.
........
Update ubuntu install script:

  • Add extra pre-requisite packages that were discovered to be required when testing on a clean barebones Ubuntu server installation.

........
Remove libc6 requirement from mginstallubuntu.sh. This package will always be present.
........

........

Note: See TracTickets for help on using tickets.