diff options
author | Irina Gómez <irinagomez@us.es> | 2019-05-27 10:25:47 +0200 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2019-05-27 10:25:47 +0200 |
commit | 5b809ba34565f61505152928f98a25eeae21e1bb (patch) | |
tree | 3252249d90b3c6441a4b52e060956a36dc64e5e8 /client/engine | |
parent | d6ff164517da9e6bd6b42124d152cd9a9e0e4d97 (diff) |
#802 #890 ogGrubInstall includes option to secure boot.
Diffstat (limited to 'client/engine')
-rwxr-xr-x | client/engine/Boot.lib | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib index a3f69372..9b8de475 100755 --- a/client/engine/Boot.lib +++ b/client/engine/Boot.lib @@ -865,7 +865,7 @@ then # Si no se reconfigure se borra los ficheros previos de configuración específicos de opengnsys. [ -d ${SECONDSTAGE}${PREFIXSECONDSTAGE} ] && rm -fr ${SECONDSTAGE}${PREFIXSECONDSTAGE} # Reactivamos el grub con el grub.cfg original. - grub-install --force ${EFIOPTGRUB} --root-directory=${SECONDSTAGE} $FIRSTSTAGE + grub-install --force ${EFIOPTGRUB} --uefi-secure-boot --root-directory=${SECONDSTAGE} $FIRSTSTAGE EVAL=$? # Movemos el grubx64.efi if ogIsEfiActive; then @@ -904,7 +904,7 @@ sed -i 's/^set -e/#set -e/' /etc/grub.d/00_header grubSyntax "$KERNELPARAM" >> ${SECONDSTAGE}${PREFIXSECONDSTAGE}/boot/grub/grub.cfg #Instalar el grub -grub-install --force ${EFIOPTGRUB} --root-directory=${SECONDSTAGE}${PREFIXSECONDSTAGE} $FIRSTSTAGE +grub-install --force ${EFIOPTGRUB} --uefi-secure-boot --root-directory=${SECONDSTAGE}${PREFIXSECONDSTAGE} $FIRSTSTAGE # Movemos el grubx64.efi if ogIsEfiActive; then @@ -1010,7 +1010,7 @@ then # Si no se reconfigure se borra los ficheros previos de configuración específicos de opengnsys. [ -d ${SECONDSTAGE}${PREFIXSECONDSTAGE} ] && rm -fr ${SECONDSTAGE}${PREFIXSECONDSTAGE} # Reactivamos el grub con el grub.cfg original. - grub-install --force ${EFIOPTGRUB} --root-directory=${SECONDSTAGE} $FIRSTSTAGE + grub-install --force ${EFIOPTGRUB} --uefi-secure-boot --root-directory=${SECONDSTAGE} $FIRSTSTAGE EVAL=$? # Movemos el grubx64.efi if ogIsEfiActive; then @@ -1045,7 +1045,7 @@ sed -i 's/^set -e/#set -e/' /etc/grub.d/00_header grubSyntax $DISK $PART "$KERNELPARAM" >> ${SECONDSTAGE}${PREFIXSECONDSTAGE}/boot/grub/grub.cfg #Instalar el grub -grub-install --force ${EFIOPTGRUB} --root-directory=${SECONDSTAGE}${PREFIXSECONDSTAGE} $FIRSTSTAGE +grub-install --force ${EFIOPTGRUB} --uefi-secure-boot --root-directory=${SECONDSTAGE}${PREFIXSECONDSTAGE} $FIRSTSTAGE # Movemos el grubx64.efi if ogIsEfiActive; then |