diff -Nru boot-repair-4ppa199/debian/changelog boot-repair-4ppa200/debian/changelog --- boot-repair-4ppa199/debian/changelog 2022-02-28 21:55:00.000000000 +0000 +++ boot-repair-4ppa200/debian/changelog 2022-03-06 21:55:00.000000000 +0000 @@ -1,3 +1,10 @@ +boot-repair (4ppa200) focal; urgency=low + + * hide the redundant Advices in log + * add ${CHROOTCMD}modprobe efivars + + -- Yann MRN 6 Mar 2022 23:55:00 +0200 + boot-repair (4ppa199) focal; urgency=low * show only once the errors on mount -r diff -Nru boot-repair-4ppa199/debian/control boot-repair-4ppa200/debian/control --- boot-repair-4ppa199/debian/control 2022-02-28 21:03:53.000000000 +0000 +++ boot-repair-4ppa200/debian/control 2022-03-06 21:55:00.000000000 +0000 @@ -17,7 +17,7 @@ Package: boot-repair Architecture: all Depends: - boot-sav (>=4ppa199), + boot-sav (>=4ppa200), ${misc:Depends} Recommends: ntfsprogs | ntfs-3g (>=1:2011.4.12AR.4), @@ -37,7 +37,7 @@ Package: os-uninstaller Architecture: all Depends: - boot-sav (>=4ppa199), + boot-sav (>=4ppa200), ${misc:Depends} Homepage: https://launchpad.net/os-uninstaller Description: Operating System Uninstaller @@ -55,7 +55,7 @@ Package: boot-info Architecture: all Depends: - boot-sav (>=4ppa199), + boot-sav (>=4ppa200), ${misc:Depends} Homepage: https://launchpad.net/boot-info Description: Diagnose the boot of the computer diff -Nru boot-repair-4ppa199/usr/share/boot-sav/bs-cmd_terminal.sh boot-repair-4ppa200/usr/share/boot-sav/bs-cmd_terminal.sh --- boot-repair-4ppa199/usr/share/boot-sav/bs-cmd_terminal.sh 2022-02-28 00:19:53.000000000 +0000 +++ boot-repair-4ppa200/usr/share/boot-sav/bs-cmd_terminal.sh 2022-03-06 21:55:00.000000000 +0000 @@ -156,6 +156,7 @@ && EFIDMESG="BIOS/UEFI firmware: $(head -n 1 /sys/class/dmi/id/bios_version 2>/dev/null)$([[ -f /sys/class/dmi/id/bios_release ]] && echo "($(head -n 1 /sys/class/dmi/id/bios_release))") from $(head -n 1 /sys/class/dmi/id/bios_vendor 2>/dev/null) " if [[ -d /sys/firmware/efi ]];then + modprobe efivars #cf geole / ubuntu-fr EFIDMESG="${EFIDMESG}The firmware is EFI-compatible, and is set in EFI-mode for this $LIVESESSION-session. " [[ ! "$ue" ]] && EFIDMESG="${EFIDMESG}No EFI in dmseg. diff -Nru boot-repair-4ppa199/usr/share/boot-sav/gui-actions-grub.sh boot-repair-4ppa200/usr/share/boot-sav/gui-actions-grub.sh --- boot-repair-4ppa199/usr/share/boot-sav/gui-actions-grub.sh 2022-02-28 21:55:00.000000000 +0000 +++ boot-repair-4ppa200/usr/share/boot-sav/gui-actions-grub.sh 2022-03-06 21:55:00.000000000 +0000 @@ -212,6 +212,7 @@ fi [[ "$GSVERSION" =~ 0 ]] && ATA="" if [[ "$GRUBPACKAGE" =~ efi ]];then + [ -d /sys/firmware/efi ] && echo "${CHROOTCMD}modprobe efivars $(LC_ALL=C ${CHROOTCMD}modprobe efivars)" #cf geole / ubuntu-fr [[ "$GSVERSION" =~ 0 ]] || [[ "$GSVERSION" =~ 1 ]] && [[ ! "$GVERSION" =~ "1.99-21" ]] && [[ "$GRUBPACKAGE" =~ signed ]] \ && echo "GRUB too old for SecureBoot. Defaulting to grub-efi. $PLEASECONTACT" && GRUBPACKAGE=grub-efi echo " @@ -998,7 +999,6 @@ mount -B /$w "${BLKIDMNT_POINT[$REGRUB_PART]}/$w" done #ubuntuforums.org/showthread.php?t=1965163 fi - [ -d /sys/firmware/efi ] && echo "modprobe efivars $(modprobe efivars)" #cf geole / ubuntu-fr CHROOTCMD="chroot ${BLKIDMNT_POINT[$REGRUB_PART]} " CHROOTUSR="chroot \"${BLKIDMNT_POINT[$REGRUB_PART]}\" " #CHROOTCMD='chroot "${BLKIDMNT_POINT[$REGRUB_PART]}" ' diff -Nru boot-repair-4ppa199/usr/share/boot-sav/gui-tab-main.sh boot-repair-4ppa200/usr/share/boot-sav/gui-tab-main.sh --- boot-repair-4ppa199/usr/share/boot-sav/gui-tab-main.sh 2022-02-25 16:43:34.000000000 +0000 +++ boot-repair-4ppa200/usr/share/boot-sav/gui-tab-main.sh 2022-03-06 21:55:00.000000000 +0000 @@ -319,7 +319,7 @@ [[ "$GUI" ]] && zenity --width=400 --warning --title="$APPNAME2" --text="$ATEXT" 2>/dev/null [[ "$GUI" ]] && echo 'SET@_mainwindow.show()' elif [[ "$TEXT" ]];then - printf "\nAdvices: _______________________________________________________________________\n" + [[ "$DEBBUG" ]] && printf "\nAdvices: _______________________________________________________________________\n" end_pulse tmanswer=yes if [[ ! "$FORCEYES" ]];then @@ -330,7 +330,7 @@ [[ "$response" =~ y ]] || tmanswer=no fi fi - echo "$TEXT $tmanswer" + [[ "$DEBBUG" ]] && echo "$TEXT $tmanswer" [[ "$tmanswer" = yes ]] && mainapplypulsate || unmount_all_partitions_and_quit_glade else actions