From: Lonnie A. <li...@lo...> - 2020-03-16 22:32:19
|
> On Mar 16, 2020, at 3:54 PM, David Kerr <da...@ke...> wrote: > > Devs, > I just discovered multipass... https://multipass.run and decided to give it a try. It supports Mac, Windows (Pro, not Home) or Linux... for me I installed it on Mac. Once installed a one-line command gets you a running Ubuntu 18.04 LTS environment... > > multipass launch --name astbuild --cpus 2 --mem 1G --disk 10G > > The first time you do that it takes a little time as it has to download the Ubuntu image. But once started you can > > multipass shell astbuild > > and then follow the instructions at https://doc.astlinux-project.org/devdoc:documentation. > > You can speed things up by creating a cloud-init file to install all our required packages up-front, so for example on the above launch command add... > > --cloud-init astlinux-cloud-config.yaml > > where the contents of the yaml file is... https://raw.githubusercontent.com/dkerr64/astlinux/develop/astlinux-cloud-config.yaml so the first time you connect to the shell everything is ready for you to git checkout the source, build and install Crosstool-NG and then build AstLinux. > > To get the built AstLinux image out of the VM you would want to > > multipass mount <host-path> astbuild:<image-path> > > so you can copy files in/out of the Ubuntu VM. > > Enjoy, > David. Thanks David, I never heard of this until now. Lonnie |