diff --git a/README.md b/README.md index f12356e..ed63ac7 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,7 @@ rpm: - ntfs-3g - dmidecode - sudo (if set in xo-install.cfg) +- patch deb: - apt-transport-https @@ -146,6 +147,7 @@ deb: - ntfs-3g - dmidecode - sudo (if set in xo-install.cfg) +- patch ``` Following repositories will be installed if needed and repository install is enabled in xo-install.cfg diff --git a/xo-install.sh b/xo-install.sh index 82fd439..318320d 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -207,9 +207,9 @@ function InstallDependenciesRPM { # install packages echo - printprog "Installing build dependencies, redis server, python3, git, nfs-utils, cifs-utils, lvm2, ntfs-3g, dmidecode" - runcmd "yum -y install gcc gcc-c++ make openssl-devel redis libpng-devel python3 git nfs-utils cifs-utils lvm2 ntfs-3g dmidecode" - printok "Installing build dependencies, redis server, python3, git, nfs-utils, cifs-utils, lvm2, ntfs-3g, dmidecode" + printprog "Installing build dependencies, redis server, python3, git, nfs-utils, cifs-utils, lvm2, ntfs-3g, dmidecode patch" + runcmd "yum -y install gcc gcc-c++ make openssl-devel redis libpng-devel python3 git nfs-utils cifs-utils lvm2 ntfs-3g dmidecode patch" + printok "Installing build dependencies, redis server, python3, git, nfs-utils, cifs-utils, lvm2, ntfs-3g, dmidecode patch" # only run automated node install if executable not found if [[ -z $(runcmd_stdout "command -v node") ]]; then @@ -291,9 +291,9 @@ function InstallDependenciesDeb { # install packages echo - printprog "Installing build dependencies, redis server, python3-minimal, git, libvhdi-utils, lvm2, nfs-common, cifs-utils, curl, ntfs-3g, dmidecode" - runcmd "apt-get install -y build-essential redis-server libpng-dev git libvhdi-utils python3-minimal lvm2 nfs-common cifs-utils curl ntfs-3g dmidecode" - printok "Installing build dependencies, redis server, python3-minimal, git, libvhdi-utils, lvm2, nfs-common, cifs-utils, curl, ntfs-3g, dmidecode" + printprog "Installing build dependencies, redis server, python3-minimal, git, libvhdi-utils, lvm2, nfs-common, cifs-utils, curl, ntfs-3g, dmidecode patch" + runcmd "apt-get install -y build-essential redis-server libpng-dev git libvhdi-utils python3-minimal lvm2 nfs-common cifs-utils curl ntfs-3g dmidecode patch" + printok "Installing build dependencies, redis server, python3-minimal, git, libvhdi-utils, lvm2, nfs-common, cifs-utils, curl, ntfs-3g, dmidecode patch" # Install apt-transport-https and ca-certificates because of yarn https repo url echo