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)
Thu, Nov 14, 2:42 PM
Unknown Object (File)
Wed, Nov 6, 5:28 PM
Unknown Object (File)
Wed, Nov 6, 2:53 AM
Unknown Object (File)
Wed, Nov 6, 2:50 AM
Unknown Object (File)
Wed, Nov 6, 12:51 AM
Unknown Object (File)
Oct 16 2024, 9:35 AM
Unknown Object (File)
Oct 15 2024, 4:02 PM
Unknown Object (File)
Oct 14 2024, 8:47 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