[Bug 237090] bectl(8): Add an example on how to make installworld installkernel to a new BE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 8 03:00:05 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237090

            Bug ID: 237090
           Summary: bectl(8): Add an example on how to make installworld
                    installkernel to a new BE
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs at FreeBSD.org
          Reporter: ler at FreeBSD.org
                CC: doc at FreeBSD.org

from #freebsd on freenode:


[21:48:49] <ler> kevans91: bectl question: What's the easiest way to make
installworld installkernel to a newly created BE?  I'm doing it the hardway
(zfs set mountpoint/zfs mount/make DESTDIR/zfs umount/zfs inherit mountpoint,
but it seems to me that there should be <something> to make it a one liner.
[21:53:55] <kevans91> ler: bectl mount <be> /mnt; make -j4 installworld
installkernel DESDIR=/mnt; bectl umount /mnt
[21:54:04] <kevans91> Er, bectl umount <be>
[21:54:18] <ler> ok.  
[21:54:31] <ler> can that be added as an example to bectl(8)?
[21:54:49] <kevans91> Sure; I've also been thinking about hacking out the small
change to make beinstall bectl-compatible
[21:55:03] <ler> whichever... :) 
[21:55:23] <kevans91> That is, make a BETOOL env var or something that can be
pointed at bectl, because they're compatible for its usage
[21:55:33] <kevans91> But we still have this ugly example placeholder in
bectl(8)
[21:55:53] <ler> hence my just saying f it, and doing it the hard way. :) 
[21:57:14] <ler> and spell DESTDIR correctly :) 
[21:57:22] <ler> but you get my point, I think.
[21:57:23] <kevans91> whoops =-p
[21:57:28] <ler> do you want me to cut a PR?
[21:58:08] <kevans91> If you wouldn't mind; manpage changes take a little more
effort that I have to conjure up
[21:58:18] <ler> k

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-doc mailing list