Bug 235111 - add bectl support to beinstall.sh
Summary: add bectl support to beinstall.sh
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 12.0-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-21 15:46 UTC by Olivier Cochard
Modified: 2019-11-27 20:25 UTC (History)
4 users (show)

See Also:


Attachments
patch to add bectl support (2.96 KB, patch)
2019-01-21 15:46 UTC, Olivier Cochard
no flags Details | Diff
patch to add bectl support and update man page (3.59 KB, patch)
2019-01-21 16:10 UTC, Olivier Cochard
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Cochard freebsd_committer 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 2019-01-21 15:48:28 UTC
Remember to update the manual page as well!
Comment 2 Olivier Cochard freebsd_committer 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 2019-02-22 19:32:04 UTC
Can an src committer push or approve it?