Bug 235111

Summary: add bectl support to beinstall.sh
Product: Base System Reporter: Olivier Cochard <olivier>
Component: miscAssignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Some People CC: 0mp, kevans, ler, will
Priority: ---    
Version: 12.0-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to add bectl support
none
patch to add bectl support and update man page none

Description Olivier Cochard freebsd_committer freebsd_triage 2019-01-21 15:46:18 UTC
Created attachment 201310 [details]
patch to add bectl support

beadm seems deprecated toward bectl, so here is a patch to add both support into beinstall.sh
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2019-01-21 15:48:28 UTC
Remember to update the manual page as well!
Comment 2 Olivier Cochard freebsd_committer freebsd_triage 2019-01-21 16:10:20 UTC
Created attachment 201311 [details]
patch to add bectl support and update man page

Here is the updated patch including man page update. I've removed reference to beadm into the man page to simplify it (even if the script still support it). This tool was added into FreeBSD 12.0, like bectl, so I don't think it's a problem to remove beadm reference.
Comment 3 Olivier Cochard freebsd_committer freebsd_triage 2019-02-22 19:32:04 UTC
Can an src committer push or approve it?
Comment 4 Mateusz Piotrowski freebsd_committer freebsd_triage 2020-10-25 11:27:06 UTC
Note: I've totally forgot about this PR and submitted my own patch a couple of months later to phabricator:
https://reviews.freebsd.org/D21111
Comment 5 Olivier Cochard freebsd_committer freebsd_triage 2020-10-25 11:49:51 UTC
So let's abandon this PR and focus on your review :-)
Comment 6 Mateusz Piotrowski freebsd_committer freebsd_triage 2020-10-25 15:01:36 UTC
(In reply to Olivier Cochard from comment #5)

OK :)
Comment 7 Mateusz Piotrowski freebsd_committer freebsd_triage 2020-11-03 12:43:41 UTC
Committed: https://reviews.freebsd.org/rS367159