[02:36] I am now using snapcraft to build my project. I find that if I change my source codes, it does not pull automatically. I can pull it, but it seems that it does not automatically build it upon the dependency. how to deal with this? [02:40] liuxg: sounds like this one https://bugs.launchpad.net/snapcraft/+bug/1477904 [02:40] Launchpad bug 1477904 in Snapcraft "snapcraft.yaml needs to make all stages dirty (was: the can't add file without recreating entire package)" [High,Triaged] [02:42] elopio, yes, I need to pull the code every time, it wastes time [02:43] elopio, in fact, I want to compile local source codes instead of pulling the code every time from the github, which takes a lot of time. sometimes, bzr projects are huge as well. I have to use snapcraft clean every time for a little change. [02:46] liuxg: yup, we have to fix that. sergiusens is working on sources, please leave your comments on the bug so he takes into account your use case. [02:48] liuxg, you are talking specifically about the go plugin, right? [02:52] liuxg, you are talking specifically about the go plugin, right? [03:02] elopio, https://code.launchpad.net/~sergiusens/goget-ubuntu-touch/1473333/+merge/277412 [03:03] sergiusens: omw, things are happening :) [03:03] let me give it a try. [03:04] okay why is there an amd64+generic and amd64-generic? [03:04] http://releases.ubuntu.com/15.04/ [03:05] sergiusens: you have a mess with the license headers in that project :) [03:08] elopio, you don't say? I copied this from go-dbus I think [03:35] aw crud. [03:35] there are no mirrors with snappy [03:35] Hence it takes 1 hour to download [03:36] oh wait it's 15.04 not 15.10 [03:58] and apt does not work [03:58] neither does dpkg-reconfigure keyboard-configuration === chihchun_afk is now known as chihchun [06:51] I have a executable binary called fswebcam (/usr/bin/fswebcam) in a snappy package, I want to use it to capture a picture as described in the https://developer.ubuntu.com/en/snappy/build-apps/your-first-snap/. I want to use golang to invoke it to capture a picture. How can I do it? currently, I am using the way at https://github.com/liu-xiao-guo/webcam-http/blob/master/api.go, is there anything wrong with it? thanks === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [08:17] good morning [08:23] hey fgimenez, good morning [08:24] hi mvo, how's the release going? [08:27] fgimenez: I think we are good, I was reading trello/tg/mail so far only but nothing that looks like a blocker so I will go ahead and do the promotion next [08:30] mvo, great! :) let me know if i can be of any help [10:01] Good morning all; happy Friday, and happy Kindness Day! 😃 === b[junior]|away is now known as b === b is now known as Guest94742 === Guest94742 is now known as bigcat [11:55] fgimenez: if you have a moment, it would be great if you could do some smoke testing with the new webdm http://people.canonical.com/~mvo/tmp/webdm_0.10_all.snap [11:56] mvo, sure, on it [12:21] mvo, i'm getting this on kvm http://paste.ubuntu.com/13247033/, both rolling/edge and 1504/alpha, is it built for armhf? [12:55] fgimenez: checking, sorry, I just had build it before leaving for lunch [13:43] fgimenez: I had a unclean build env that caused this package to be broken, I uploaded a new version now that should be better. [13:44] mvo, ok thanks, i'll try it now === balloons is now known as Guest56507 [13:45] fgimenez: ups, sorry [13:45] fgimenez: the url is not quite correct, one sec === Guest56507 is now known as balloons_ [13:47] fgimenez: its actually now http://people.canonical.com/~mvo/tmp/webdm_0.10_multi.snap [13:59] mvo, ok thanks [13:59] fgimenez: fwiw, I did a quick test install on my bbb and it was fine === balloons_ is now known as balloons [15:05] mvo all seems to be working fine except for the remove buttons, with any installed snap/framework, when i try to remove i get "ERROR: snappy package not found" [15:06] mvo, this is the body of the response from the server http://paste.ubuntu.com/13247844/, with a 500 error code [15:09] the status "uninstalled" is strange, i get this from the list of snaps http://paste.ubuntu.com/13247865/ [15:11] elopio, https://code.launchpad.net/~sergiusens/goget-ubuntu-touch/1473333/+merge/277412 [15:12] I fixed all your comments [15:14] fgimenez: hm, interessting. so any removal fails right now. let me try [15:17] sergiusens: needs fixing. [15:18] elopio, nah [15:18] :-) [15:19] just drop the test. It's friday and QA knows it. [15:19] elopio, done ;-) [15:20] (that's a joke, of course. Don't drop the test :) [15:20] elopio, too late [15:20] elopio, just kidding ;-) [15:20] elopio, should be fine now [15:22] sergiusens: +1. [15:29] fgimenez: I can reproduce the error you see [15:51] sergiusens, Chipaca: if someone could help with https://code.launchpad.net/~mvo/webdm/new-snappy/+merge/277433 that would be cool, hopefully something simple but with that branch fgimenez and I get "Error: snappy package not found" when trying to remove any snap. this seems to be workng ok with 0.9.4 [15:52] mvo, sergiusens, Chipaca the server returns this http://paste.ubuntu.com/13247844/ with a 500 [15:54] jdstrand, found another bug in snappy-debug. Is there a place to file bugs/submit MPs? [16:01] kyrofa: https://code.launchpad.net/~snappy-dev/snappy-hub/snappy-debug [16:01] but just against the snappy project, but an MP is good enough for me [16:03] jdstrand, on its way! [16:03] ... right after standup === frecel_ is now known as frecel [16:15] mvo: is it bad if I jot that down as a "do over the weekend" task? [16:15] mvo: or is this a blocker? [16:17] Chipaca: never [16:17] Chipaca: no, no not at all [16:18] Chipaca: Do you have a minute, i might have found an issue with the firstboot service boot order change [16:18] Chipaca: I will see what I can do to control the damage, but only the "edge" channel of webdm is affected [16:18] Chipaca: and once the release is out I should have some cycles again [16:19] longsleep: certainly sir [16:20] Chipaca: problem is that now some snap provided services can run before firstboot [16:20] Chipaca: To be exact, the services which have no external networking, start on ubuntu-snappy.frameworks.target [16:21] Chipaca, mvo fgimenez maybe we can just start using the rest api for removal, DONE ;-) [16:22] mvo, oh, this is very specific to webdm and its build against new snappy APIs [16:23] longsleep: augh [16:25] Chipaca: so i think, the snappy services need to wait on firstboot or something, not sure what happens when the frameworks target is run after firstboot instead of after run-hooks [16:25] sergiusens: heh, indeed, maybe I should venture a bit into JS land [16:26] Chipaca: a crude workaround could be to add a fake external port to the snap which has config applied by firstboot, that makes such snaps to start after snappy-wait4network.service [16:26] it's starting to feel like a game of whack-a-mole [16:26] but without the cute eep sounds [16:27] i need to sit down with graphviz and some patience [16:27] or, well, somebody does :) [16:29] Chipaca: i am adding the ugly details to bug 1511435 [16:29] bug 1511435 in Snappy "ubuntu-snappy.firstboot fails when oem snap contains preinstalled snap" [Critical,In progress] https://launchpad.net/bugs/1511435 [16:32] jdstrand, https://code.launchpad.net/~kyrofa/snappy-hub/snappy-debug_escape_regex_strings/+merge/277463 [16:37] any1 know about opengl on snappy? [16:39] mvo: https://github.com/ubuntu-core/snappy/pull/55#issuecomment-156482348 [16:39] kyrofa: thanks! [16:41] thanks jdstrand [16:41] mvo: thank you :) [16:41] * jdstrand hugs mvo [16:41] * mvo hugs jdstrand [16:42] sweet [16:42] status of opengl support on snappy? [16:42] jdstrand, mvo: man get a room alerady [16:42] * Chipaca hugs mvo and jdstrand [16:42] let's land that sucker [16:42] * mvo hugs Chipaca and davmor2 [16:42] davmor2: you're just jealous of our love [16:43] feel the love in snappy channel [16:43] * jdstrand hugs Chipaca, davmor2, mvo (again) and longsleep :) === greyback is now known as greyback|eow [16:43] jerryG: 無 [16:44] okay okay I feel the love, /me hugs everyone [16:45] Chipaca: 为什么 [16:45] Chipaca: https://lists.ubuntu.com/archives/snappy-devel/2015-October/001114.html [16:47] Chipaca: :{ [16:49] jerryG: you asked about “opengl support”. I can't even answer “no” to that question, because the question itself seems to assume things that aren't quite right [16:49] jerryG: hence, mu [16:50] jerryG: intel architecture snappy ships with the kernel-side gpu drivers, that are one part of what's needed for supporting opengl [16:51] jerryG: there is a mir snap, that i think uses those drivers, but would you consider that “opengl support”? [16:51] jerryG: there is no X in snappy, for example [16:51] jerryG: not today; possibly never? I don't know [16:52] Chipaca: can i use sdl file with snappy ? [16:52] jerryG: what's a sdl file? [16:56] hello? [16:58] richmb: o/ [16:58] hey [16:59] I had some questions about the apt-get(non-snappy) version of ubuntu core [17:00] https://wiki.ubuntu.com/Core [17:00] this wiki page hasn't been updated in a while, but the releases seem upto date [17:01] is this something that will be continued to be supported? [17:01] no idea; i work on snappy itself ¯\_(ツ)_/¯ [17:02] we ran into some troubles trying to port snappy, but the ubuntu core rootfs was easy to bring up. [17:04] richmb: what are you porting to?? [17:04] s/\?\?/?/ [17:05] an Altera Cyclone V arm Soc [17:05] https://support.criticallink.com/redmine/projects/mityarm-5cs/wiki [17:06] when I am trying to run a snappy command, it complains "another snappy is running, try again later". what is the reason for this? it happened a few times to me. [17:08] richmb, the ubuntu-core tarball has nothing to do with snappy, it is "just enough OS to run apt in a chroot" and is used for buildds and the like ... a snappy ubuntu-core rootfs has massively different content [17:08] snappy image currently come fron system-image.ubuntu.com [17:08] *images [17:09] I understand that. I wanted to know if the ubuntu-core tarballs would be available for future ubuntu versions. As the wiki page hasn't been updated in a while. [17:10] richmb, you have to ask infinity in #ubuntu-devel ... it was never an official product i think [17:12] liuxg: every so often a snappy update runs automatically [17:12] (RaspberryPi2)ubuntu@localhost:~$ snappy list [17:12] Name Date Version Developer [17:12] ubuntu-core 2015-11-13 3 ubuntu [17:12] webdm 2015-11-13 0.9.4 canonical [17:12] pi2 2015-11-13 0.16 canonical [17:12] mvo, ^^^ looks all fine [17:12] Chipaca, i really do not want it to update. how can I stop it? [17:13] liuxg: from memory: echo 'config: {ubuntu-core: {autoupdate: false}}' | sudo snappy config ubuntu-core - | grep auto [17:13] thanks orga [17:13] liuxg: although that might be autopilot instead of autoupdate, depending on what snappy you're running [17:13] getting the exact same situation, it seems the auto update features are active by default [17:14] used to be called autopilot, becase we like confusing people ;-) [17:14] SaMnCo-desktop: yes [17:14] Chipaca- this is not cool. Back to Windows days where the system would reboot in the middle of an important task? [17:14] Chipaca, it seems it is an update. at one time, it prompted me there would be reboot sth like that. [17:15] liuxg: yep [17:15] SaMnCo-desktop: https://github.com/ubuntu-core/snappy/blob/master/docs/autoupdate.md [17:15] SaMnCo-desktop: except, as i said, it might be called autopilot instead of autoupdate, depending on what you're running [17:16] Chipaca- yeah, I have autopilot on my BBBs and Rpi2 [17:16] SaMnCo-desktop: and it's exactly like windows, except for everything [17:16] SaMnCo-desktop: :-) [17:16] thx for the link, useful. Still, I would not have a behavior that forces the reboot of the system being active by default [17:16] SaMnCo-desktop: i mean, it's an option you can turn off, and it prints out how to abort the reboot if you're logged in [17:17] Chipaca: sdl file is for opengl. How do i make an image with intel opengl graphics drivers? [17:17] What if it's my drone in the sky? [17:17] SaMnCo-desktop, then turn it off :) [17:17] SaMnCo-desktop: if you're putting the default image on a drone in the sky, you're going to have a bad time [17:17] ogra_- I understand I can turn it off, I am just saying, something that reboots a device should not be active by default [17:18] sigh [17:18] Chipaca, it will be finished once it is updated, right? [17:18] but well, we don't have to agree on everything ;) [17:18] SaMnCo-desktop: yes, you're saying that. I disagree, because of several things [17:18] SaMnCo-desktop, if you produce a drone you likely use your own oem snap and will define what config options are on in it [17:18] ogra_: \o/ [17:19] SaMnCo-desktop: the biggest is that it's not really on by default; it's on if and only if the gadget snap you used to build the image sets it [17:19] ogra_: mail is out [17:19] mvo, yay [17:19] Chipaca- so that means the images on the website have that active by default [17:19] SaMnCo-desktop: the default image has it on, because the default image is for developers and clouds, where you most likely want to keep things up to date (and if you don't, you know you don't, and you disable it) [17:19] I just downloaded them this morning [17:20] SaMnCo-desktop: and it's already on a drone in the sky? wow you're fast [17:20] :D [17:20] It's just I have 7 devices, downloading tons of stuff, and I didn't know about this thing, and it just means I have to run my scripts all over again [17:21] and it's slowww to run Docker / LXD stuff on BBBs... [17:21] err [17:21] SaMnCo-desktop: why does an update mean you need to run your scripts again? [17:21] yes :) [17:21] Chipaca- because it downloads stuff [17:21] everythin is slow on a BBB [17:22] except actual embedded stuff ... [17:22] SaMnCo-desktop: but the download doesn't vanish on update [17:22] Chipaca- it does on reboot though [17:22] anyway [17:22] that what scripts are for: automate stuff [17:23] SaMnCo-desktop: why does the download vanish on reboot? [17:24] Chipaca- I'm not following you. I had a docker image running, and a docker pull going on. The update killed Docker [17:24] as a consequence, both actions went down [17:24] and now the system is about to reboot. I can catch it (hopefully) but that means the system is not functional anymore [17:24] and I'll have to restart the commands [17:25] to start Docker and pull the images I want [17:25] ah, the download was interrupted by the reboot, and it doesn't know to resume, now i got it [17:25] i thought the download had finished [17:25] yeah, it's a trivial bash script [17:25] started remotely [17:26] SaMnCo-desktop: well, a few things. one is that if you're on stable, updates are infrequent (not more than once a week, and that's pushing it) [17:26] well, supposedly once a month actually [17:26] SaMnCo-desktop: the other is that you can disable it, but if you do it's on you to run update every so often to make sure you're current [17:26] we just had a few busy weeks [17:26] yeah [17:27] i said once a week because i think if we try to do more often than that mvo will undergo a phase change [17:27] not sure if he'll melt or just evaporate [17:27] but it won't be pretty [17:27] ok [17:28] the good side is that I now have a much more clever install / cluster management script for the next batch :) [17:28] :) [17:28] if it had happened while I was afk, I would just have found things broken [17:28] now I know how to fix it :) [17:28] SaMnCo-desktop: also, if you stop the reboot, the system isn't broken or inconsistent [17:28] you should just put it in a snap [17:28] SaMnCo-desktop: the update is separate [17:29] ogra_- yep, that's the plan [17:29] SaMnCo-desktop: *also* also, note it updates everything, but only system updates cause the reboot [17:29] but right now it's for my talk at DockerCon, I don't have a lot of time [17:29] ok, i'll stop chatting to you and let you get back to cussing the system into shape then [17:30] * Chipaca goes for some more tea [17:30] :D have a good one [17:33] Reading the changes in the latest 15.04 stable release, what is actually the snappy REST API and how do i accesss it? [17:33] -s === beowulf is now known as Guest63309 [18:51] elopio, https://github.com/ubuntu-core/snapcraft/pull/97 [19:30] Are there any training or classes on snappy that could help with porting. [19:35] richmb: We've done a few Snappy clinics that might help: https://www.youtube.com/playlist?list=PL-qBHd6_LXWYm8qttcXaosAIzejTa5IPj [19:51] longsleep: wrt the REST API, hold on [19:52] longsleep: there's a pull request with docs [19:52] longsleep: but it is going to be revamped for 16.04 [19:53] longsleep: i'll get you the link of my internet holds up [19:54] longsleep: https://github.com/chipaca/snappy/blob/rest-doc/docs/rest.md [19:55] longsleep: i'll expect to get to merging that over the weekend, or early next week [19:56] longsleep: in particular, the details of how to handle licensed snaps is going to be different real soon now [21:58] hi all [21:59] bago: hey [21:59] lool: ping [22:00] i have an android smart tv box and was wondering if it's ok to use the raspberry pi2 sd card ubuntu on it? [22:00] or the beaglebone 1 [22:01] it is armv7 (cortex-a5) [22:01] I see no reason why that wouldn't work since it's just another external input [22:02] practically there is no difference between connecting a ps4 and a pi to your tv [22:04] so the snappy armhf rpi2 img using win32diskimager should boot from sd? [22:07] bago: oh you just want to plug the sdcard to your tv [22:07] without the rasperry pi itself? [22:08] no i want to run a persistent ubuntu on sd card but leave my android intact [22:08] i'm not sure what board my tv box has [22:08] it seems to be an odroid c1 with a tuner card [22:10] would it help if i linked the url to the box? [22:12] i basically want to run ubuntu on this http://www.smartvboxs.com/products/Amlogic-S805-Quad-core-1G-8G-Mali-450GPU-Android-4.4-VIGICA-C100S.html#.VkZgNHbhCJA [22:13] kodibuntu ideally but ubuntu would be a good start [22:17] is it possible to brick my device by trying? [22:25] Yes, and it probably won't work. [22:25] You really need to support the specific board when it comes to ARM stuff. [22:25] It's not like x86 where the CPU and BIOS are rather standardized. [22:26] right so i'd have to port it to a new board? [22:27] Correct, what ever CPU/configuration/etc that box is using. [22:28] how big would that be for an amateur? [22:28] Reasonably large, but everyone needs to start somewhere. :-) [22:28] with a windows pc :) [22:29] But if there's no CynogenMod port or ASOP tree, it'll be nearly impossible. [22:29] how would i find out if there is? [22:29] Google :-) [22:31] i'm not really sure what board i'd google though tbh :) [22:35] i have had openelec boot from sd card so i assume it must be possible, it had no wifi but i think the driver is available it's just it was compiled on a similar device [22:53] frecel: pong [22:54] lool: there are rumors going around that you were working on getting snappy to run on an intel edison [22:54] did you have any succes with that? [22:55] frecel: yes and no; it's on the "nice to complete someday" list, but I'm happy to give you pointers if you'd like to resurrect [22:57] I bought my edison to try building an ubuntu smartwatch so I would appreciate any help [22:58] frecel: so basically the top thing that was missing was initrd loading and someway to repartition the device safely; with latest released image and the new flashing tool, it's all doable, but I didn't have time to assemble an image [23:01] lool: so at it's current state it just get's stuck in a reboot loop? [23:11] frecel: there is no current image for edison [23:19] lool: did you document your work so far in any way? I have not done anything like this before so I'm not even entirely sure where to start to be honest [23:21] frecel: so the latest bootloader also added support for the external SD card [23:21] frecel: I'd start by creating an x86 SD card image and starting snappy manually with intel's kernel + snappy initrd + snappy rootfs from the u-boot prompt [23:32] lool: the edison uses uboot? [23:32] Chipaca: yes