summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2018-04-09 12:33:47 +0000
committerramon <ramongomez@us.es>2018-04-09 12:33:47 +0000
commitc30c33e93a905e5038fbd160bf89d5872ef82fb6 (patch)
treee3d26df98b38644bdf5b9a5452f39402d38b7aed
parent1d2bb00a8832887718da841be084361491d3dcd6 (diff)
#802: Instalar dependencias para equipos UEFI.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5713 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-xinstaller/opengnsys_installer.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh
index 82520f8d..254f6ebe 100755
--- a/installer/opengnsys_installer.sh
+++ b/installer/opengnsys_installer.sh
@@ -167,7 +167,7 @@ OSVERSION="${OSVERSION%%.*}"
# Configuración según la distribución GNU/Linux (usar minúsculas).
case "$OSDISTRIB" in
ubuntu|debian|linuxmint)
- DEPENDENCIES=( subversion apache2 php php-ldap libapache2-mod-php mysql-server php-mysql isc-dhcp-server bittorrent tftp-hpa tftpd-hpa xinetd build-essential g++-multilib libmysqlclient-dev wget curl doxygen graphviz bittornado ctorrent samba rsync unzip netpipes debootstrap schroot squashfs-tools btrfs-tools procps arp-scan realpath php-curl gettext moreutils jq wakeonlan udpcast )
+ DEPENDENCIES=( subversion apache2 php php-ldap libapache2-mod-php mysql-server php-mysql isc-dhcp-server bittorrent tftp-hpa tftpd-hpa xinetd build-essential g++-multilib libmysqlclient-dev wget curl doxygen graphviz bittornado ctorrent samba rsync unzip netpipes debootstrap schroot squashfs-tools btrfs-tools procps arp-scan realpath php-curl gettext moreutils jq wakeonlan udpcast grub-efi-amd64-signed )
UPDATEPKGLIST="apt-get update"
INSTALLPKG="apt-get -y install --force-yes"
CHECKPKG="dpkg -s \$package 2>/dev/null | grep Status | grep -qw install"
@@ -917,6 +917,8 @@ function tftpConfigure()
service=$INETDSERV
$ENABLESERVICE; $STARTSERVICE
+ # Creating default UEFI template file.
+ echo 'source "$prefix/$net_default_mac"' > $TFTPCFGDIR/grub/grub.cfg
# comprobamos el servicio tftp
sleep 1
testPxe
@@ -1213,7 +1215,7 @@ function createDirs()
mkdir -p $path_opengnsys_base/images/groups
mkdir -p $TFTPCFGDIR
ln -fs $TFTPCFGDIR $path_opengnsys_base/tftpboot
- mkdir -p $path_opengnsys_base/tftpboot/menu.lst
+ mkdir -p $path_opengnsys_base/tftpboot/{menu.lst,grub}
if [ $? -ne 0 ]; then
errorAndLog "${FUNCNAME}(): error while creating dirs. Do you have write permissions?"
return 1
@@ -1261,6 +1263,7 @@ function copyServerFiles ()
# Lista de ficheros y directorios origen y de directorios destino.
local SOURCES=( server/tftpboot \
+ /usr/lib/grub/x86_64-efi-signed/grubnetx64.efi.signed \
server/bin \
repoman/bin \
server/lib \
@@ -1272,6 +1275,7 @@ function copyServerFiles ()
installer/opengnsys_import.sh \
doc )
local TARGETS=( tftpboot \
+ tftpboot \
bin \
bin \
lib \