I am new to armbian and it building environment. I had to start from ground and
stumbled across some unclear / wrong point in the documentation.
[EDIT: I already managed to build an running image. This Thread is about the documentation]
So i just want to point them out, not to harm anybody, just to tell what happened to me.
Perhaps all of it is just because i didn't followed the documentation correctly. If that's the case i like to apologize for disturbing.
suggestst to do:
> vagrant plugin install vagrant-disksize
The problem is, that nothing is done with it, so i ran into building errors because of to little disksize inside vagrant.
I managed to cincumvent this by adding
config.disksize.size = '50GB'
into the Vagrantfile , just the line before the line
Question: I am not sure if this is way to much. My HDD runs out of space pretty fast, so it would be nice to get some proper suggestions for this value.
> When you read the Vagrantfile you’ll see that Vagrant will mount local output and userpatches directories.
This is untrue ! There is nothing like this in the Vagrantfile by just following the above steps.
> # We have to be in the same directory as the Vagrant file.
> cd build
> # And now we simply let vagrant create our box and bring it up.
> vagrant up
This does not work. I had to put an
> vagrant init ubuntu/bionic64
in between this two lines to work properly. The Vagrantfile can't be in the "build"-folder following the docuemtation.
> # Let's get building!
> cd armbian
> sudo ./compile.sh
Unfortunately there is not "armbian"-folder.
I could do an
$ cd /vagrant
to get into the host based "build"-folder.
But i wasn't sure if that was what was intended, so i ended up doing a fresh "git clone" of the armbian build system and just
copying the "output/images" folder to "/vagrant" to get the desired files back to the host.
Question: I am not sure what was suggested to do here?
Question: Is the documentation kinda out of date , or is just the line
> vagrant box add ubuntu/bionic64
pointing to the wrong box ? What just ended up in all this trouble ?