Page MenuHomeFreeBSD

bsdinstall mount: Replace dialog with bsddialog
ClosedPublic

Authored by asiciliano on Mar 24 2022, 1:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 6:29 PM
Unknown Object (File)
Sun, Nov 24, 9:03 AM
Unknown Object (File)
Thu, Nov 21, 6:39 AM
Unknown Object (File)
Nov 14 2024, 2:42 PM
Unknown Object (File)
Nov 6 2024, 5:28 PM
Unknown Object (File)
Nov 6 2024, 2:53 AM
Unknown Object (File)
Nov 6 2024, 2:50 AM
Unknown Object (File)
Nov 6 2024, 12:51 AM
Subscribers

Details

Summary

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

Test Plan

it is just a --msgbox,
anyway bsddialog runs if an error occurs, to cause it I changed the first line:

#TMP_FSTAB=${TMPDIR:-"/tmp"}/bsdinstall-tmp-fstab
TMP_FSTAB="/etc/fstab"

then:

% sh ./mount
./mount: cannot create /etc/fstab: Permission denied
Ctrl-C

┌───────────────────┤Error├───────────────────┐
│ Error mounting partition /:                 │  
│ mount: /dev/ada0p4: Operation not permitted │  
├─────────────────────────────────────────────┤  
│                  [  OK  ]                   │  
└─────────────────────────────────────────────┘

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable