From: David K. <da...@ke...> - 2020-03-17 23:11:13
|
I notice an error in my description below... a 10GB disk is not large enough for an AstLinux build environment.... best to launch with at least 20GB. Sorry about that. David. On Mon, Mar 16, 2020 at 6:32 PM Lonnie Abelbeck <li...@lo...> wrote: > > > 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 > > > > _______________________________________________ > Astlinux-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-devel > |