Re: Using docker for clean builds of classic snaps

2017-02-01 Thread Luther Goh Lu Feng
I am new to Docker too but these few steps got me going If you are running on armhf, you may try using this https://hub.docker.com/r/elfgoh/armhf-ubuntu-snapcraft/ $ docker run -it -v $(pwd):/usr/me/ spdigital/armhf-ubuntu-snapcraft /bin/bash # Above gets you a shell in your docker container,

Issues installing snap

2017-01-26 Thread Luther Goh Lu Feng
I have successfully created a snap using snapcraft. However, I encountered issues when trying to install the snap. The device is a Beaglebone black with a shield containing a temperature sensor. The program that has been snapped returns the temperature, and works correctly outside of the snap.

Creating a snap using make or autotools

2017-01-25 Thread Luther Goh Lu Feng
This probably isn't the right place to ask, but I thought I should ask in case it does matter in the context of snapping: when creating a snap of say, a hello world program in C[1], should I use the make or autotools plugin? Is one better than the other when it comes to snap creation? A quick

Re: Relationship between snaps and containers, if any

2017-01-25 Thread Luther Goh Lu Feng
Thanks Mark, your explanation is clear. But I am also thinking along similar lines to Gustavo's suggestion of running a snap multiple times, and wondering if that is the same as having multiple docker processes. -- Luther On Wednesday, January 25, 2017 10:13 PM, Gustavo Niemeyer

Re: Snap install issues upon hard kill with Ctrl + c

2017-01-25 Thread Luther Goh Lu Feng
zari wrote: > > On 01/24/2017 03:59 PM, Luther Goh Lu Feng wrote: >> I encountered an issue when I did a ctrl + c as snap was installing my >> helloworld snap. Essentially, I am unable to resume an install, or do any >> other snap installs. Is there any known way to r

Snap install issues upon hard kill with Ctrl + c

2017-01-24 Thread Luther Goh Lu Feng
I encountered an issue when I did a ctrl + c as snap was installing my helloworld snap. Essentially, I am unable to resume an install, or do any other snap installs. Is there any known way to resolve this should I encounter it again in future? This occured on Debian. I had to do an uninstall +

Relationship between snaps and containers, if any

2017-01-24 Thread Luther Goh Lu Feng
I seek clarity in understanding how docker containers are different from snaps. The question originated as I pondered if docker containers are the equivalent of snaps. Is there a blog post or FAQ somewhere that already addresses this? I also read this article[1], though dated, mentions docker

Re: Slow snap build on Ubuntu Core device

2017-01-10 Thread Luther Goh Lu Feng
Based on the screenshot, your download speed for the packages seems to be very slow. Perhaps you want to use a faster mirror. Maybe you can try netselect-apt as mentioned here[1]. HTH. Thanks. -- Luther [1] https://www.unixmen.com/find-fastest-mirror-debian-derivatives/ On Tuesday,

Re: Thinking of installing snap on Debian due to scarcity of snap packages for armhf

2017-01-03 Thread Luther Goh Lu Feng
On Wednesday, January 4, 2017 12:08 AM, Leo Arias wrote: > That sounds like a good solution. If debian works for you, we are working to release there every new version of snapd and to make sure that all the snaps work without a problem. If you install a classic

Building snap from binaries

2016-12-23 Thread Luther Goh Lu Feng
If I am building a snap, and for some reason, I wish to not snap it from source, but from a compiled binary, is it allowed? Thanks. -- Luther -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Image based upgrades

2016-12-22 Thread Luther Goh Lu Feng
I read with interest on image based upgrades[1]. May I ask if some of those concepts are already implemented or planned for in Ubuntu core? I would like to know what is the current plans and thinking with regards to this. Thanks. -- Luther [1] https://wiki.ubuntu.com/ImageBasedUpgrades --

Source of ssh key for first login

2016-12-21 Thread Luther Goh Lu Feng
During setup, console-conf will download the SSH key registered with your Store account, The ssh key is used for first login. Is there a way to configure Ubuntu Core such that the source of the ssh key can be from elsewhere? eg for cases whereby the device cant go online and can only access a

Dashboard service to view deployed snaps/versions on fleet of devices running Ubuntu Core

2016-12-21 Thread Luther Goh Lu Feng
I am interested to know if there are any online management dashboards for Ubuntu Core device management. Thanks. -- Luther -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: Ubuntu core on BBB

2016-12-16 Thread Luther Goh Lu Feng
Thanks for the clarification. My beaglebone black is from element14. There seems to be beagleblack gadget snap listed[1][2], which I can also find in the output $ snap info beagleblack --verbose The listed publisher is mvo. May I know how I can get the contact with the publisher? I have

Deploying private snap store

2016-12-15 Thread Luther Goh Lu Feng
I am looking for software to roll out my own snap store. I am under the impression that these are the 2 to look at: - https://github.com/noise/snapstore/ - https://github.com/snapcore/snapweb Can I confirm please? Any others I missed and which is better? Thanks. -- Luther -- Snapcraft

man: command not found

2016-12-15 Thread Luther Goh Lu Feng
I was surprised that man wasn't present. Is this intended, and if so, what is the rationale. Thanks. -- Luther -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Ubuntu core on BBB

2016-12-15 Thread Luther Goh Lu Feng
I would like to know if there is a roadmap for official support of BBB for Ubuntu Core. Currently, I am running relying on the image made by Oliver http://people.canonical.com/~ogra/snappy/all-snaps/stable/current/ I also see a gadeget snap for Beagleblack[1]. But am unsure how to use it to

Re: can't log in on ubuntu core console via sso...

2016-12-13 Thread Luther Goh Lu Feng
I believe SSO account is simply to host your ssh keys that can be used to login to the device. Perhaps better documentation will provide improved clarity. -- Luther On Wednesday, December 14, 2016 8:36 AM, Dan Kegel wrote: This is with a very freshly downloaded image,

Re: can't log in on ubuntu core console via sso...

2016-12-13 Thread Luther Goh Lu Feng
I am assuming console means the login prompt like this: == Ubuntu Core 16 on 192.168.0.10 (ttyO0) localhost login: == I do feel that the current secure default works the best. Those who need to set a local password will find a way to do it since it is their requirement