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)
Wed, Oct 16, 9:35 AM
Unknown Object (File)
Tue, Oct 15, 4:02 PM
Unknown Object (File)
Mon, Oct 14, 8:47 AM
Unknown Object (File)
Fri, Oct 11, 4:04 PM
Unknown Object (File)
Mon, Oct 7, 6:36 PM
Unknown Object (File)
Oct 5 2024, 4:59 AM
Unknown Object (File)
Oct 5 2024, 12:57 AM
Unknown Object (File)
Oct 4 2024, 3:26 PM
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 Skipped
Unit
Tests Skipped