Page MenuHomeFreeBSD

bsdinstall fetchmissingdists: Replace dialog with bsddialog
ClosedPublic

Authored by asiciliano on Mar 24 2022, 2:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 12:52 AM
Unknown Object (File)
Sun, Dec 8, 4:33 AM
Unknown Object (File)
Sat, Nov 30, 10:52 PM
Unknown Object (File)
Fri, Nov 22, 11:10 PM
Unknown Object (File)
Tue, Nov 19, 3:17 AM
Unknown Object (File)
Tue, Nov 19, 2:38 AM
Unknown Object (File)
Nov 2 2024, 9:19 AM
Unknown Object (File)
Oct 1 2024, 7:31 AM
Subscribers

Details

Summary

Replace (LGPL) dialog utility with (BSD-2-Clause) bsddialog utility.

Test Plan

% bsddialog --backtitle "FreeBSD Installer" --title "Warning" --msgbox "Manifest not found on local disk and will be fetched from an unverified source. This is a potential security risk. If you do not wish to proceed, press control-C now." 0 0

┌───────────────────────────────────────┤Warning├───────────────────────────────────────┐
│ Manifest not found on local disk and will be fetched from an unverified source. This  │  
│ is a potential security risk. If you do not wish to proceed, press control-C now.     │  
├───────────────────────────────────────────────────────────────────────────────────────┤  
│                                       [  OK  ]                                        │  
└───────────────────────────────────────────────────────────────────────────────────────┘

for error() to add in script

error "TEST test Test"
┌─────┤Error├────┐
│ TEST test Test │  
├────────────────┤  
│    [  OK  ]    │  
└────────────────┘

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped