WIP ppl-os building tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Josh Mudge 8b050e9100 Fix link in README 5 years ago
boards typo 5 years ago
deps fix: build-tool 5 years ago
.gitignore feat: Ignore .cloud-init.yaml 5 years ago
Makefile fix: Mention node on readme, drop python requirement 5 years ago
README.md Fix link in README 5 years ago
build-tool.js fix: Use edge as default channel as others not released yet for some boards 5 years ago
conf-tool.sh fix: Device port not address 5 years ago
definition.yaml feat: Use ubuntu core 18 5 years ago
dev.cloud-init.yaml feat: Use $USER_EMAIL instead of mine 5 years ago
json2yaml.js fix: Mention node on readme, drop python requirement 5 years ago
package.json feat: Add build tool 5 years ago



Files required to build the ubuntu core based pplOS


Everything subject to change, including number of bugs (hopefully to zero ;)


System Requirements

To build an image you need to have at least Ubuntu 16.04 on your machine and the following packages installed: ubuntu-image snapd nodejs

Additionally at least 1 GB of free disk space is required

For virtual device testing you also need qemu-kvm

Additionally some npm packages are required, run npm i to install them

Other Requirements

Creating the image

First run make once, it will guide you through the inital configuration

To build a board's model file run make BOARD.model

To build an image for a specific board run make BOARD.img

Running the virtual device

Use make start to build the amd64.img and launch it with kvm

If you used the defaults in the configuration step you should now be able to connect with make ssh

Could not access KVM kernel module: Permission denied

Is your user in the kvm group? Try sudo addgroup $(whoami) kvm and reboot.