Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snappy Development Tools

This repository holds my personal snappy development tools. Improvements are welcome, just shoot merge requests at me.

My work-flow involves using a checkout of http://github.com/ubuntu-core/snappy in my $GOPATH, building and testing various parts of snappy during daily development.

Working with developer boards and VMs

For on-device testing I use the ubuntu-image script to build development images. Once a device is "flashed" it can stay up indefinitely. Devices that don't have automatic update available need to be re-flashed periodically, as updates are rolled out.

For on-VM testing I use ubuntu-image --developer-mode pc along with run-devel-vm pc. The VM can be killed at any time, nothing that is changed in the VM is persistent.

In both cases I use the refresh-bits script to push new, snap, snapd and snappy (deprecated) binaries over. This requires a certain SSH setup:

SSH configuration

Put something similar to your ~/.ssh/config file. Do change pi2-1.lan, dragon-1.lan and bbb-1.lan to an appropriate hostname (or IP address) that is valid in your setup.

Host snappy-vm
    HostName localhost
    Port 8022
    User ubuntu
    KbdInteractiveAuthentication no
    StrictHostKeyChecking no
    UserKnownHostsFile /dev/null

Host snappy-pi2
    HostName pi2-1.lan
    User ubuntu
    KbdInteractiveAuthentication no
    StrictHostKeyChecking no

Host snappy-dragon
    HostName dragon-1.lan
    User ubuntu
    KbdInteractiveAuthentication no
    StrictHostKeyChecking no

Host snappy-bbb
    HostName bbb-1.lan
    User ubuntu
    KbdInteractiveAuthentication no
    StrictHostKeyChecking no

About

My tools related to development of snappy

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages