=== chihchun_afk is now known as chihchun === ljp is now known as lpotter [09:47] cd /2 [09:49] Good evening all! Have a rotten Monday, and a terrible Opposite Day! 😃 === vrruiz_ is now known as rvr [11:20] Hello, 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? === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [12:56] NoiZeR: if you want to create a single function device with the webbrowser or custom UI embedded right in then yes === Guest83 is now known as Norbell [13:17] ogra_: hey [13:17] ogra_: 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:42] Good morning [13:46] lool: I'd love to know as well, reading 96boards forum seems to suggest you want a >> 5V PSU [13:47] lool: there's a recommended modular adapter there (available on farnell) [13:47] lool: but I'd love to know what orga uses before I buy one [13:48] * lool goes scouting in his ton of power adapters [13:48] NoiZeR: if you want to build a fixed function device then you have to provide everything: display system, application, etc [13:48] NoiZeR: if you want you application to live among others then perhaps what you are after is ubuntu personal, not core [13:49] NoiZeR: then you can open the web browser that you don't ship; you can see ubuntu touch for how that works [13:59] lool: is there a good tool that copies a kernel modules dependencies? [13:59] or do i have to parse Modules.dep myself? [14:00] e.g. i have built 1000 modules and want to get all modules i need for iwlwifi :) [14:00] ppisati: ? [14:00] asac: isn't there some modules_install target you can call? [14:00] or a builtin kernel function to generate an initrd? [14:01] yes, but that installs all [14:01] i couldnt find a filter target [14:01] err flag/parameter [14:01] zyga: got it booting with an universal power adapter (and old one I had lying around here) [14:01] asac: nope AFAIK [14:01] lool: universal but >> 5V? [14:01] was a bit of a gamble that it worked properly and I wasn't sure of the power tip it had, but it worked [14:01] zyga: 12V yeah [14:01] lool: I have a programmable PSU, I just have to make the right cable [14:01] specs say 7V or so at least [14:01] lool: but I'd rather use a generic adapter because the programmable one is a bit noisy [14:01] right [14:01] ok [14:02] yeah; I'd also rather have a real power adapter; amazon didn't feature any with small connectors, only universal ones [14:02] actually, I should just check that the board works with the big programmable unit [14:02] or larger ones [14:02] lool: I have a link, one sec [14:02] now on to snappy image [14:02] the official one is https://www.arrow.com/en/products/wm24p-12-a-ql/autec-power-systems#page-1 [14:02] lool: 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:03] mvo_ (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 date [14:03] sbeattie: fyi ^ [14:03] lool: thanks [14:04] jdstrand: *urgh* [14:04] jdstrand: so a new stable update [14:05] mvo_: 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 date [14:10] jdstrand: ta! [14:15] I'm trying to build a debian package as a snap [14:15] is there a plugin for that? [14:16] or does my question just show that I don't understand a thing :p [14:20] Hey diwic [14:21] diwic, you're using snapcraft I assume? [14:21] kyrofa, yes [14:21] the "master"/16.04 version [14:22] diwic, 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:23] kyrofa, I suppose I want to rebuild the package for the target architecture, or...? [14:24] diwic, yeah Snapcraft doesn't support cross-compiling right now [14:24] diwic, so you need to run it on the target arch [14:24] kyrofa, in this case, both are amd64 [14:24] as I'm trying with a KVM image [14:24] diwic, oh, then no problem. Perhaps I misunderstood your question? [14:26] kyrofa, 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 etc [14:26] kyrofa, I do know a lot about pulseaudio though :-) [14:31] diwic, well, you came to the right place :) [14:32] diwic, so the shortest path to success you see is repackaging the .deb for pulse? [14:33] kyrofa, 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 that [14:35] diwic, another option is to begin a fork containing the necessary patches [14:36] kyrofa, sounds troublesome to maintain? [14:36] at least in the long run [14:37] ogra_: image worked, thanks! [14:39] lool: do you know what script in initramfs tools or on livecd rootfs does that module filterling/mangling? [14:39] asac: not sure what you mean wih mangling/filtering? [14:39] asac: initramfs-tools will call into shell code plugins which can do whatever they want [14:40] there is config in /etc, but the plugins are in /usr/share/initramfs-tools IIRC [14:40] each plugin might run stuff or declare some binaries to be copied [14:40] kyrofa, 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 difficult [14:40] lool: well, i want the code that picks the modules you configure and finds the dependencies to ensure all is in thhat is nererded [14:40] needed [14:40] diwic, it might not be. Can you explain the large picture of what the .snap will be doing? [14:41] righht. wantg the code thatg explodes the wanted list ... to the minimal list needed (e.g. expand dependencies) [14:41] sorry for bad typing... have a big bandaid on finger as i cut it badly the other day [14:41] kyrofa, it mediates access to sound card(s) and enables apps to play back audio through the PulseAudio API. [14:42] diwic, 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:44] diwic, .snaps include their dependencies [14:45] kyrofa, 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] kyrofa, so we need a "framework" snap for the pulseaudio daemon. [14:46] diwic, ideally you'd have it in the same .snap as Skype (you can have multiple binaries/services in the same .snap) [14:47] kyrofa, also, the skype snap would be confined - the pulseaudio framework snap has access to the sound card [14:47] lool: ok seems its using modprobe --show-depends feature [14:47] i will play with thast [14:48] kyrofa, 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:49] diwic, 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 away [14:49] diwic, right now, 15.04 is really focused on single-use devices [14:50] diwic, but 16.04 will include the ability to share things like that [14:51] kyrofa, okay, and if I want to work on the 16.04 version of snappy, then... ? [14:52] diwic, it's under pretty heavy development right now, but the image you want is here: http://people.canonical.com/~mvo/all-snaps/ [14:52] kyrofa, okay. Thanks [14:53] lool: ok cool... guess thats one way forward for nowe: http://paste.ubuntu.com/14663595/ [14:54] elopio, want to standup real quick? [14:54] does anyone have issue with dragonboard wifi? [14:55] it seems to be losing a ton of packets and is dog slow [14:57] kyrofa: yes, on my way. [14:57] what's the best place to ask question about the fan (fan networking) [14:57] I'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 wrong [14:58] elopio, 1 second, need more coffee [15:38] I'm so tired of shoveling snow... [16:02] kyrofa: Time to invest in a flame thrower [16:02] tedg, hahaha [16:32] Hello, 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:39] elopio, ping [16:40] NoiZeR, Snapcaft doesn't support cross-compiling right now, so you'll need to do it from the pi itself [16:40] NoiZeR, 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 another [16:42] @kyrofa I cant get Snapcraft installed on my Ubuntu Mate :s [16:43] NoiZeR, how come? [16:43] NoiZeR, what errors are you encountering? [16:44] NoiZeR: No such command! [16:45] kyrofa: pong [16:46] elopio, I wanted to get your opinion on this. Checkout this paste: http://pastebin.ubuntu.com/14664502/ [16:47] mvo_, ping [16:47] elopio, intuitively, would you say the documentation directory would be included in the final .snap, or not? [16:47] elopio, oh oops. Let me try that again: http://pastebin.ubuntu.com/14664508/ [16:53] @kyrofa I cant install the snapyy tools :s [16:53] NoiZeR: No such command! [16:53] NoiZeR, no @ sign necessary :) [16:53] kyrofa: I would say it won't be included, but just because I read the docs about filesets. [16:53] the first time I saw the two - - I didn't know what to think. [16:54] kyrofa so i try to install the snappy tools but it stuck just there what can I do about it? [16:54] elopio, 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 directory [16:55] elopio, I think that's a bug [16:55] elopio, since I can't think of a single time I'd want or way to exclude something from staging but including it in the .snap [17:00] kyrofa: I agree. [17:01] * zyga pushed https://github.com/ubuntu-core/snappy/pull/374 [17:01] this completes the internal API for skills (sans security) [17:02] and will open up the REST API work [17:02] and finally, security [17:02] :) [17:04] elopio, alright, thanks :) [17:11] JamesTait: pong (but about to leave to play hockey) [17:13] mvo, 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] Also, field or ice? 😉 [17:34] @snapcraft2 i dig the "progress info" [17:34] kgunn: No such command! === chihchun is now known as chihchun_afk [18:00] NoiZeR, what process are you following to install snappy-tools? [18:32] 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) === DanChapman is now known as DanChapman_ === DanChapman_ is now known as DanChapman [19:25] elopio, squashed the commits on my PR: https://github.com/ubuntu-core/snapcraft/pull/197 [19:25] not sure why coveralls is not detecting the coverage [19:25] since I did add the necessary tests [19:28] pindonga: coveralls tends to lie. We just ignore it when it's being crazy. [19:28] ok, I leave it up to you for review then [19:28] :) [19:28] delegate as you see fit [19:29] it 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] so it's just making a crazy merge of both. [19:29] I also added an integration test for main [19:29] but coveralls didn't notice [19:31] pindonga: twice as crazy then. It's just a guide, we don't reject branches just because it says so. [19:31] kk [19:31] pindonga: 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] ok [19:32] happy to modify things if a better approach is known [19:32] though now that I squashed commits it'll be harder to undo :/ [19:33] pindonga: 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 ready [19:33] the rest is pending sergio's approval. [19:33] ack [19:47] jdstrand, FYI I think ppa16 fixes an issue elopio ran into with mosquitto. But definitely appreciated! You take such good care of us [19:56] hi is any one here [19:56] ?? [19:57] I need detailed steps to build Ubuntu Core from scratch [19:57] someone answer me please [19:58] ubuntu_geek, what are you wanting to accomplish? i.e. why do you want to do that? [19:59] well, i have i386 CPU and need to try snappy [19:59] but there is no snappy image for i386 [20:01] so i have to generate that image myself using "ubuntu-device-flash" [20:01] but that package is only on ubuntu 15.04 [20:01] I have 12.04 [20:03] so I thought why not building 15.04 Core then install ubuntu-device-flash package to use it for generating snappy image [20:04] are you still there?? [20:04] ubuntu_geek, ah, you don't need Ubuntu Core to use ubuntu-device-flash [20:04] ubuntu_geek, you just need a more recent version of Ubuntu [20:05] ubuntu_geek, use at least 14.04 if not later [20:06] I'm accessing internet with 3G connection that have data cap [20:08] so downloading Ubuntu Core with about 80 MB not like Ubuntu ISO with 1 GB [20:08] that's why I need Ubuntu Core [20:10] can you help me please ? [20:14] [20:17] you don't want to answer me, thanks anyway [20:17] ubuntu_geek, hey, wait a sec, I've got several things going on at once and I'm not always looking at IRC [20:18] I'm Here [20:19] ubuntu_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 installation [20:19] no I don't to build it from src [20:20] ubuntu_geek, what is your definition of "scratch" then? [20:20] I just need install Rootfs and grub and linux kernel [20:20] like minimal instalation [20:21] *installation [20:21] ubuntu_geek, yeah it doesn't work that way, sorry [20:22] can you explain? [20:23] https://wiki.ubuntu.com/Core/InstallationExample [20:24] this is an example but it should be used for VM not real machine [20:25] I need similar thing but for real machine [20:28] ubuntu_geek, I'll need to refer you to ogra_, he knows a lot more here than me [20:30] ok, I'll appreciate it [20:41] kyrofa: ah, right. you're welcome :)