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