Page MenuHomeFreeBSD

bsdinstall mount: Replace dialog with bsddialog
ClosedPublic

Authored by asiciliano on Mar 24 2022, 1:20 AM.
Tags
None
Referenced Files
F107781028: D34651.id104329.diff
Sat, Jan 18, 3:59 AM
Unknown Object (File)
Thu, Jan 16, 1:20 PM
Unknown Object (File)
Dec 17 2024, 9:36 AM
Unknown Object (File)
Dec 17 2024, 8:44 AM
Unknown Object (File)
Dec 17 2024, 6:51 AM
Unknown Object (File)
Nov 25 2024, 6:29 PM
Unknown Object (File)
Nov 24 2024, 9:03 AM
Unknown Object (File)
Nov 21 2024, 6:39 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