Development

A Go 1.7+ environment and the blkid.h headers are required.

# Debian/Ubuntu
sudo apt-get install libblkid-dev

# RPM-based
sudo dnf install libblkid-devel

Generate

Install schematyper to generate Go structs from JSON schema definitions.

go get -u github.com/idubinskiy/schematyper

Use the tool to generate config/types/schema.go whenever the schema/ignition.json is modified.

./generate

Vendor

Install glide and glide-vc to manage dependencies in the vendor directory.

go get -u github.com/Masterminds/glide
go get -u github.com/sgotti/glide-vc

Edit the glide.yaml file to update a dependency or add a new dependency. Then make vendor.

make vendor