Configuring and Building Edge OS for Virtual Machines
About this task
Edge
OS is supported for the following:
- qemu86-64 qcow2 image.
- OVA image.
The following are required in order to build Edge OS for virtual machines:
- Configured Edge OS build environment.
- Installed Google repo tool.
mkdir ~/bin PATH=~/bin:$PATH curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo
Additional information about the Google repo tool in at https://source.android.com/setup/develop/repo.
- Installed VMware OVF tool for Linux from https://my.vmware.com/group/vmware/details?downloadGroup=OVFTOOL430&productId=742.
- Download the VMware OVF tool and copy it to your build machine.
- If you need to build the OVA image, execute the following
command.
sudo sh VMware-Workstation-xxxx-xxxx.architecture.bundle
Use the following method to build the repository's target.
mkdir Edge
cd Edge
repo init -u ssh://[email protected]/Edge/meta-edge-vmware -m repo-manifest/meta-edge-vmware-repo-manifest-jenkins.xml -b develop
repo sync --detach --prune
./meta-edge-base/scripts/build.sh -C meta-edge-vmware/build.conf
The resulting OVA image will be at:
- ./build/images/amd64/predix_edge_os.ova
Import the OVA image into VMware Fusion or Workstation. Within VMware, click
.