/srv/irclogs.ubuntu.com/2016/01/25/#snappy.txt

=== chihchun_afk is now known as chihchun
=== ljp is now known as lpotter
asaccd /209:47
JamesTaitGood evening all!  Have a rotten Monday, and a terrible Opposite Day! 😃09:49
=== vrruiz_ is now known as rvr
NoiZeRHello, I have a short question about Snappy. Is it possible to make a UI or open a webbrowser on a Raspberry PI with Ubuntu Snappy?11:20
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
zygaNoiZeR: if you want to create a single function device with the webbrowser or custom UI embedded right in then yes12:56
=== Guest83 is now known as Norbell
loologra_: hey13:17
loologra_: just received a dragonboard, but no power supply; some websites suggest it's a 5V one, but I see 6.5V-18V next to the power socket, what do you use?13:17
kyrofaGood morning13:42
zygalool: I'd love to know as well, reading 96boards forum seems to suggest you want a >> 5V PSU13:46
zygalool: there's a recommended modular adapter there (available on farnell)13:47
zygalool: but I'd love to know what orga uses before I buy one13:47
* lool goes scouting in his ton of power adapters13:48
zygaNoiZeR: if you want to build a fixed function device then you have to provide everything: display system, application, etc13:48
zygaNoiZeR: if you want you application to live among others then perhaps what you are after is ubuntu personal, not core13:48
zygaNoiZeR: then you can open the web browser that you don't ship; you can see ubuntu touch for how that works13:49
asaclool: is there a good tool that copies a kernel modules dependencies?13:59
asacor do i have to parse Modules.dep myself?13:59
asace.g. i have built 1000 modules and want to get all modules i need for iwlwifi :)14:00
asacppisati: ?14:00
loolasac: isn't there some modules_install target you can call?14:00
loolor a builtin kernel function to generate an initrd?14:00
asacyes, but that installs all14:01
asaci couldnt find a filter target14:01
asacerr flag/parameter14:01
loolzyga: got it booting with an universal power adapter (and old one I had lying around here)14:01
ppisatiasac: nope AFAIK14:01
zygalool: universal but >> 5V?14:01
loolwas a bit of a gamble that it worked properly and I wasn't sure of the power tip it had, but it worked14:01
loolzyga: 12V yeah14:01
zygalool: I have a programmable PSU, I just have to make the right cable14:01
loolspecs say 7V or so at least14:01
zygalool: but I'd rather use a generic adapter because the programmable one is a bit noisy14:01
zygaright14:01
zygaok14:01
loolyeah; I'd also rather have a real power adapter; amazon didn't feature any with small connectors, only universal ones14:02
zygaactually, I should just check that the board works with the big programmable unit14:02
loolor larger ones14:02
zygalool: I have a link, one sec14:02
loolnow on to snappy image14:02
loolthe official one is https://www.arrow.com/en/products/wm24p-12-a-ql/autec-power-systems#page-114:02
zygalool: http://es.farnell.com/ideal-power/25hk-ab-120a250-cp/fuente-alim-ext-plg-in-2-5a-12v/dp/2334605?ost=25HK-AB-120A250-CP&selectedCategoryId=14:02
jdstrandmvo_ (and perhaps henrix since he uploaded it): hi! I noticed that linux-raspi2 in https://launchpad.net/~snappy-dev/+archive/ubuntu/image/+packages is (way) out of date14:03
jdstrandsbeattie: fyi ^14:03
zygalool: thanks14:03
mvo_jdstrand: *urgh*14:04
mvo_jdstrand: so a new stable update14:04
jdstrandmvo_: sounds like it, yes. but, before you do that, give me a couple of hours-- I'm checking if other things on the stable image are up to date14:05
mvo_jdstrand: ta!14:10
diwicI'm trying to build a debian package as a snap14:15
diwicis there a plugin for that?14:15
diwicor does my question just show that I don't understand a thing :p14:16
kyrofaHey diwic14:20
kyrofadiwic, you're using snapcraft I assume?14:21
diwickyrofa, yes14:21
diwicthe "master"/16.04 version14:21
kyrofadiwic, there's not a plugin dedicated to such a thing. In fact, depending on what you're trying to do, repackaging a .deb may not work quite as well as using the source. But you can use the `stage-packages` keyword on any of the plugins (e.g. the nil plugin if you truly only want to repackage the .deb)14:22
diwickyrofa, I suppose I want to rebuild the package for the target architecture, or...?14:23
kyrofadiwic, yeah Snapcraft doesn't support cross-compiling right now14:24
kyrofadiwic, so you need to run it on the target arch14:24
diwickyrofa, in this case, both are amd6414:24
diwicas I'm trying with a KVM image14:24
kyrofadiwic, oh, then no problem. Perhaps I misunderstood your question?14:24
diwickyrofa, well, I've been asked to make an (pulse)audio snap, and I know very little about snappy and snapcraft - i e, not much more than the official documentation, tutorials etc14:26
diwickyrofa, I do know a lot about pulseaudio though :-)14:26
kyrofadiwic, well, you came to the right place :)14:31
kyrofadiwic, so the shortest path to success you see is repackaging the .deb for pulse?14:32
diwickyrofa, well, the other option would be to start with upstream sources, but then I lose all the ubuntu patches to pulseaudio, and I don't want that14:33
kyrofadiwic, another option is to begin a fork containing the necessary patches14:35
diwickyrofa, sounds troublesome to maintain?14:36
diwicat least in the long run14:36
loologra_: image worked, thanks!14:37
asaclool: do you know what script in initramfs tools or on livecd rootfs does that module filterling/mangling?14:39
loolasac: not sure what you mean wih mangling/filtering?14:39
loolasac: initramfs-tools will call into shell code plugins which can do whatever they want14:39
loolthere is config in /etc, but the plugins are in /usr/share/initramfs-tools IIRC14:40
looleach plugin might run stuff or declare some binaries to be copied14:40
diwickyrofa, but sure, we have the patches in a git tree, and so that could be the base recipe if repackaging the .deb (or actually, a few debs) is very difficult14:40
asaclool: well, i want the code that picks the modules you configure and finds the dependencies to ensure all is in thhat is nererded14:40
asacneeded14:40
kyrofadiwic, it might not be. Can you explain the large picture of what the .snap will be doing?14:40
asacrighht. wantg the code thatg explodes the wanted list ... to the minimal list needed (e.g. expand dependencies)14:41
asacsorry for bad typing... have a big bandaid on finger as i cut it badly the other day14:41
diwickyrofa, it mediates access to sound card(s) and enables apps to play back audio through the PulseAudio API.14:41
kyrofadiwic, I know what pulse is-- I'm asking what the purpose of the .snap is. You know you can't really share pulse among multiple .snaps, right?14:42
kyrofadiwic, .snaps include their dependencies14:44
diwickyrofa, well, you know this better than me, but suppose we package skype as a .snap. Skype would then include the libpulse package because that's its dependency, but the pulseaudio daemon would still be unpackaged.14:45
diwickyrofa, so we need a "framework" snap for the pulseaudio daemon.14:45
kyrofadiwic, ideally you'd have it in the same .snap as Skype (you can have multiple binaries/services in the same .snap)14:46
diwickyrofa, also, the skype snap would be confined - the pulseaudio framework snap has access to the sound card14:47
asaclool: ok seems its using modprobe --show-depends feature14:47
asaci will play with thast14:47
diwickyrofa, and third, maybe more than one snap wants to play back audio at the same time (e g, while you're playing a game, a messaging snap wants to play back a "new message" sound)14:48
kyrofadiwic, I suggest you avoid frameworks for now, and begin following the capability discussion in 16.04. Frameworks as they are in 15.04 will be going away14:49
kyrofadiwic, right now, 15.04 is really focused on single-use devices14:49
kyrofadiwic, but 16.04 will include the ability to share things like that14:50
diwickyrofa, okay, and if I want to work on the 16.04 version of snappy, then... ?14:51
kyrofadiwic, it's under pretty heavy development right now, but the image you want is here: http://people.canonical.com/~mvo/all-snaps/14:52
diwickyrofa, okay. Thanks14:52
asaclool: ok cool... guess thats one way forward for nowe: http://paste.ubuntu.com/14663595/14:53
kyrofaelopio, want to standup real quick?14:54
looldoes anyone have issue with dragonboard wifi?14:54
loolit seems to be losing a ton of packets and is dog slow14:55
elopiokyrofa: yes, on my way.14:57
zygawhat's the best place to ask question about the fan (fan networking)14:57
zygaI'd like to use it but I cannot get routing to work and I just basically need someone to tell me what I'm doing wrong14:57
kyrofaelopio, 1 second, need more coffee14:58
kyrofaI'm so tired of shoveling snow...15:38
tedgkyrofa: Time to invest in a flame thrower16:02
kyrofatedg, hahaha16:02
NoiZeRHello, how to compile your snapps for a raspberry pi. Does i need to do it on ubuntu mate. Or can I cross develop on Ubuntu Virtual machine on my desktop?16:32
kyrofaelopio, ping16:39
kyrofaNoiZeR, Snapcaft doesn't support cross-compiling right now, so you'll need to do it from the pi itself16:40
kyrofaNoiZeR, you can do that a number of ways. Running ubuntu mate is one, running regular-old ubuntu it another, and running a cutting-edge not-yet-released Ubuntu Core that can enable classic mode is yet another16:40
NoiZeR@kyrofa I cant get Snapcraft installed on my Ubuntu Mate :s16:42
kyrofaNoiZeR, how come?16:43
kyrofaNoiZeR, what errors are you encountering?16:43
nothalNoiZeR: No such command!16:44
elopiokyrofa: pong16:45
kyrofaelopio, I wanted to get your opinion on this. Checkout this paste: http://pastebin.ubuntu.com/14664502/16:46
JamesTaitmvo_, ping16:47
kyrofaelopio, intuitively, would you say the documentation directory would be included in the final .snap, or not?16:47
kyrofaelopio, oh oops. Let me try that again: http://pastebin.ubuntu.com/14664508/16:47
NoiZeR@kyrofa I cant install the snapyy tools :s16:53
nothalNoiZeR: No such command!16:53
kyrofaNoiZeR, no @ sign necessary :)16:53
elopiokyrofa: I would say it won't be included, but just because I read the docs about filesets.16:53
elopiothe first time I saw the two - - I didn't know what to think.16:53
NoiZeRkyrofa so i try to install the snappy tools but it stuck just there what can I do about it?16:54
kyrofaelopio, agreed. And that directory isn't contained within stage. However, such a YAML results in an error upon snap complaining about not being able to find stuff within the documentation directory16:54
kyrofaelopio, I think that's a bug16:55
kyrofaelopio, since I can't think of a single time I'd want or way to exclude something from staging but including it in the .snap16:55
elopiokyrofa: I agree.17:00
* zyga pushed https://github.com/ubuntu-core/snappy/pull/37417:01
zygathis completes the internal API for skills (sans security)17:01
zygaand will open up the REST API work17:02
zygaand finally, security17:02
zyga:)17:02
kyrofaelopio, alright, thanks :)17:04
mvoJamesTait: pong (but about to leave to play hockey)17:11
JamesTaitmvo, just a quick question: do snaps still use meta/package.yaml or is it now meta/snap.yaml? (Looking at the Trello card for supporting snappy yaml)17:13
JamesTaitAlso, field or ice? 😉17:13
kgunn@snapcraft2 i dig the "progress info"17:34
nothalkgunn: No such command!17:34
=== chihchun is now known as chihchun_afk
kyrofaNoiZeR, what process are you following to install snappy-tools?18:00
ogra_asac, there is code in update-initramfs that reads /etc/initramfs-tools/modules (and there is also the "MODULES=list" option that you can hand over a list of modules you want in the initrd)18:32
=== DanChapman is now known as DanChapman_
=== DanChapman_ is now known as DanChapman
pindongaelopio, squashed the commits on my PR: https://github.com/ubuntu-core/snapcraft/pull/19719:25
pindonganot sure why coveralls is not detecting the coverage19:25
pindongasince I did add the necessary tests19:25
elopiopindonga: coveralls tends to lie. We just ignore it when it's being crazy.19:28
pindongaok, I leave it up to you for review then19:28
pindonga:)19:28
pindongadelegate as you see fit19:28
elopioit shows that the coverage for the main file in the integration tests went down. Which doesn't matter, because you added coverage on your unit tests.19:29
elopioso it's just making a crazy merge of both.19:29
pindongaI also added an integration test for main19:29
pindongabut coveralls didn't notice19:29
elopiopindonga: twice as crazy then. It's just a guide, we don't reject branches just because it says so.19:31
pindongakk19:31
elopiopindonga: we met a little late on friday and discussed a little about your vendor approach. Sergio wanted to take a look, but he's traveling today.19:31
pindongaok19:31
pindongahappy to modify things if a better approach is known19:32
pindongathough now that I squashed commits it'll be harder to undo :/19:32
elopiopindonga: the only thing we agreed to was to move the examples tests from travis to jenkins, so now the xenial execution of the other tests is ready19:33
elopiothe rest is pending sergio's approval.19:33
pindongaack19:33
kyrofajdstrand, FYI I think ppa16 fixes an issue elopio ran into with mosquitto. But definitely appreciated! You take such good care of us19:47
ubuntu_geekhi is any one here19:56
ubuntu_geek??19:56
ubuntu_geekI need detailed steps to build Ubuntu Core from scratch19:57
ubuntu_geeksomeone answer me please19:57
kyrofaubuntu_geek, what are you wanting to accomplish? i.e. why do you want to do that?19:58
ubuntu_geekwell, i have i386 CPU and need to try snappy19:59
ubuntu_geekbut there is no snappy image for i38619:59
ubuntu_geekso i have to generate that image myself using "ubuntu-device-flash"20:01
ubuntu_geekbut that package is only on ubuntu 15.0420:01
ubuntu_geekI have 12.0420:01
ubuntu_geekso I thought why not building 15.04 Core then install ubuntu-device-flash package to use it for generating snappy image20:03
ubuntu_geek<kyrofa> are you still there??20:04
kyrofaubuntu_geek, ah, you don't need Ubuntu Core to use ubuntu-device-flash20:04
kyrofaubuntu_geek, you just need a more recent version of Ubuntu20:04
kyrofaubuntu_geek, use at least 14.04 if not later20:05
ubuntu_geekI'm accessing internet with 3G connection that have data cap20:06
ubuntu_geekso downloading Ubuntu Core with about 80 MB not like Ubuntu ISO with 1 GB20:08
ubuntu_geekthat's why I need Ubuntu Core20:08
ubuntu_geekcan you help me please ?20:10
ubuntu_geek<kyrofa>20:14
ubuntu_geek<kyrofa> you don't want to answer me, thanks anyway20:17
kyrofaubuntu_geek, hey, wait a sec, I've got several things going on at once and I'm not always looking at IRC20:17
ubuntu_geek<kyrofa> I'm Here20:18
kyrofaubuntu_geek, however, I'm afraid you may be out of luck. I actually don't know how to build it from src, especially on such an old installation20:19
ubuntu_geekno I don't to build it from src20:19
kyrofaubuntu_geek, what is your definition of "scratch" then?20:20
ubuntu_geekI just need install Rootfs and grub and linux kernel20:20
ubuntu_geeklike minimal instalation20:20
ubuntu_geek*installation20:21
kyrofaubuntu_geek, yeah it doesn't work that way, sorry20:21
ubuntu_geekcan you explain?20:22
ubuntu_geekhttps://wiki.ubuntu.com/Core/InstallationExample20:23
ubuntu_geekthis is an example but it should be used for VM not real machine20:24
ubuntu_geekI need similar thing but for real machine20:25
kyrofaubuntu_geek, I'll need to refer you to ogra_, he knows a lot more here than me20:28
ubuntu_geekok, I'll appreciate it20:30
jdstrandkyrofa: ah, right. you're welcome :)20:41

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!