/srv/irclogs.ubuntu.com/2016/06/02/#snappy.txt

=== JanC is now known as Guest60369
=== JanC_ is now known as JanC
=== Aria22 is now known as Aria22|away
=== chihchun_afk is now known as chihchun
Gunther_Good morning!06:33
Gunther_Is an expert concerning u-d-f (vivid) available? We have a problem creating an image in Docker container (oem  generic-amd64). The generated image does not boot because it fails to locate the kernel.06:36
Gunther_Out of the Docker container the image works. The udev workaround is applied (ln -s /bin/true ...)06:37
didrocksGunther_: hey! I guess ogra_ would be able to help you once he wakes up (few hours from now :))06:38
Gunther_thank you. I will wait for him :)06:39
=== chihchun is now known as chihchun_afk
zzarrtyhicks, -Wall and -Werror?07:11
=== chihchun_afk is now known as chihchun
zygao/07:44
Gunther_didrocks: problem solved, and I did not need ogra :)07:49
Gunther_didrocks: the docker container used u-d-f from vivid, whereas the native installation had u-d-f installed from ppa:snappy-dev07:51
dholbachwould it make sense to have packages have build-essential as an essential part of their build-packages declaration?07:52
dholbachit'd certainly simplify things if you're using 'snapcraft cleanbuild' and don't have to spell out things like make, g++ and others07:53
didrocksGunther_: ahah, making sense!07:53
=== Aria22|away is now known as Aria
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
zygajdstrand, tyhicks: https://github.com/ubuntu-core/snap-confine/pull/18/files08:25
tptrHi, any word when ubuntu core 16.04 can be expected? (eagerly waiting for the newer docker version...:-)08:33
* nhaines just waits for the pulseaudio interface.08:42
zyganhaines: it's coming :)08:51
zyganhaines: it's merged and an SRU under way08:52
nhaineszyga: \o/08:52
zygatptr: 16.04 is out, you can use snappy on that version directly08:52
zygatptr: as for an all-snap image, those are available as well but aren't finalized so you may need to re-flash a few times as we make big changes08:52
zygatptr: also the tooling around those is evolving so expect ubuntu-device-flash to go away08:53
nhainesI have a little script that requires sox and then basically makes the same sound as the Enterprise NCC-1701-D's warp engines... perfect for background noise!  :D08:53
nhainesAnd the moment the pulseaudio interface is available, I'll be all set!08:56
ogra_you should make that a commercial app ... you will get rich in no time08:57
nhainesogra_: haha, tempting!08:57
nhainesThe code *is* available in my book, so a for-pay snap wouldn't be unconsciable.08:58
tptrzyga: thx! I am using snappy on an Intel compute stick. So sg like ubuntu-16.04-snappy-amd64-generic.img.xz would b what I am after...09:04
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== Aria is now known as Aria|away
=== hikiko is now known as hikiko|ln
kyrofazyga, images are available? Where are they?11:43
loologra_, sergiusens: Ah right, I see vejmarie solved the locale issue in the end  :-)11:48
ogra_yeah, just answered your mail :)11:48
ogra_in fact the locale manpage tells you how :)11:48
erioWait11:48
* ogra_ waits11:49
erioI am having a locale issue too, can someone send links11:49
erio?11:49
ogra_http://manpages.ubuntu.com/manpages/xenial/en/man1/locale.1.html11:49
ogra_scroll to the bottom11:49
looloh god, people can override locales with env vars11:49
loolstrings often contain %s and what not11:50
ogra_here is also an old snap http://bazaar.launchpad.net/~ogra/+junk/nethack/view/head:/nethack.sh (currently not functional, not fully proted to 16, but you should get what it does)11:50
erioThanks, favoriting all of this11:50
eriohttps://github.com/ericoporto/fgmkPackaging/blob/master/snap/snapcraft.yaml11:51
erioMade a simple test, but was failing on locale11:51
ogra_http://bazaar.launchpad.net/~ogra/+junk/nethack/view/head:/snapcraft.yaml11:53
ogra_you want to ship locale and libc-bin in your snap as well11:53
seb128locales are workaroundable11:54
seb128code using bindtextdomain() not so much11:54
ysionneautyhicks: Hi! Any news on the ptmx issue?11:54
erioThanks ogra_   !11:56
ogra_:)11:56
=== hikiko|ln is now known as hikiko
jdstrandzyga: cool, thanks :)12:33
vejmariegreat my snap has been approved !13:03
vejmarie;)13:03
ogra_yay13:04
vejmariebut how does users find it ? I thought this was through "Ubuntu software" / Store interface in the GUI ?13:04
ogra_using "snap find" on the commandline ... or in the ubuntu-software tool13:05
eriowHave you tried searching using snap in command line?13:06
ogra_(not sure how fast the db of the tool is wrt getting the info about the new package though)13:06
zygajdstrand: hey13:06
zygajdstrand: https://github.com/ubuntu-core/snap-confine/pull/2013:06
zygajdstrand: trivial one13:06
zygajdstrand: I just have a few patches, I will be working on cleanups in the code, making it nicer and less ifdefy13:07
vejmarieyes I see it in snap find ;)13:13
vejmariebut not in the software tool13:13
vejmarie(yet)13:13
zygajdstrand: we also need to plan for new way to test anything13:19
zygajdstrand: as we'll switch at some point (not today) to execing snap-exec13:19
zygajdstrand: so the command line will almost entirely go away13:19
zygajdstrand: we'll need some test-only environment variable13:19
* jdstrand nods13:20
zygajdstrand: I guess we can just have a secure_getenv-based test to exec a test playload (command) instead13:22
zygajdstrand: sorry for making so many changes lately, I hope we can land seccomp filtering now13:22
zygajdstrand: is the ubuntu kernel okay for that fature now/13:23
jdstrandzyga: seccomp arg filtering will work on any kernel with newer seccomp13:26
sergiusensdholbach I explicitly removed build-essential from this as it made building things that use nodejs incredibly and unnecessarily slow13:31
dholbachsergiusens, I see13:32
vejmariequick question guys, how do you update manually the snap database ?13:35
zygavejmarie: what do you mean exactly?13:36
vejmariemy colleague is looking at free cad within snap but when he kick snap find in a shell13:36
vejmariehe doesn't find it13:36
zygavejmarie: that's always server side13:37
zygavejmarie: is that snap published?13:37
vejmarieyes13:37
zygavejmarie: is it published to series 1613:37
vejmarieI can see it on my system13:37
vejmarieyes13:37
zygavejmarie: is he running snapd 2.0.5? (the latest one)13:37
ogra_ogra@styx:~$ snap find|grep freecad13:37
ogra_freecad                    0.17                       -        This is the first beta for freecad 0.17 supporting OCCT 7 / Netgen and new Smesh version13:37
zygavejmarie: can he snap install freecad?13:37
vejmariethe main difference is that I am running 16.04 Desktop13:38
ogra_i definitely see it on my xenial lappie13:38
vejmariehe is running the server one13:38
vejmariewith X installed on it13:38
ogra_and i also see it in ubuntu-softare when i search for freecad13:38
zygavejmarie: that's no different13:39
ogra_now ... why do i have to sign in to U113:39
vejmarieI do not see it in ubuntu software13:39
ogra_i instaalled snaps yesterday and already did that ...13:39
* ogra_ sighs ... not a nice experience 13:39
vejmariehe is running 2.0.313:40
=== Aria|away is now known as Aria
vejmariewe are upgrading13:40
zygavejmarie: yeah upgrade to 2.0.513:40
* ogra_ watches it installing now13:41
erioogra_: the old Ubuntu Software Center, even non snap related, had this losing logging every time problem.13:41
ogra_i wouldnt mind it if i had no 2fa enabled ... it is just super annoying to search my phone every time i use sw-center13:42
sergiusensogra_ not necessary with `sudo` I believe13:46
ogra_sergiusens, sudo ?13:46
sergiusensogra_ `sudo snap install freecad`13:46
* sergiusens is installing freecad now13:46
ogra_sergiusens, i clicked on the organge paper bag in my launcher :P13:47
erioIs there a way to publish a snap to the store, but make it invisible to others? I wanted to test, but using the store as provider. Similar to ppa maybe.13:47
ogra_sergiusens, and ubuntu-software demands a new U1 login ... even though i did that yesterday when trying out another snap13:47
sergiusenserio that should be coming soon iirc. nessita might have the details13:48
ogra_now it would be really nice if the dash found any snaps that i search for :/13:48
erioOk, thanks surgiu sen, that would be great. Ma13:48
erioOr maybe like Steam Early Access, just to put out really beta things, but that people using know upfront that the app is far from "finished13:49
erio"13:49
nessitasergiusens, details about...? :-)13:50
vejmariegood luck sergiusens13:51
ogra_nessita, to late, you are on the hook13:51
vejmariedo not forget to connect the snap to the interfaces13:52
ogra_so should the dash find any of the snaps i installed yet ?13:52
ogra_(definiely doesnt here)13:52
vejmarieby the way we still do not see free cad in ubuntu-software13:52
vejmariehow do you connect to a user account through the tool ? I didn't find this option13:53
ogra_if i search for "freecad" i see it here13:53
kyrofanessita, details about private snaps13:53
vejmarieI think I am currently using the store without being connected to it, and perhaps do not have the credential to see my snap ;)13:53
ogra_works if i start it from a terminal :)13:53
kyrofaerio, for beta things we have the concept of "channels." edge, beta, candidate, and stable13:54
ogra_the fonts are slightly awful ... but it runs and all :)13:54
kyrofaerio, if something isn't stable, don't put it on the stable channel and the users who want to try out the unstable version can use another channel13:54
ogra_wheee !!!13:54
ogra_switching to german actually gets me german !13:55
erioNice kyrofa_ thanks. Will look into it.13:55
erioThis is the docs kyrofa ? https://developer.ubuntu.com/en/snappy/guides/channels/13:56
kyrofaerio, yeah, though that seems kind of specific to ubuntu core13:58
vejmarieogra_: what are you testing ?13:59
ogra_vejmarie, freecad :)13:59
kyrofaerio, when you publish your snap, you just check the boxes for the channel(s) you'd like it to be released into13:59
vejmarieogra_: good to see it switching from languages13:59
ogra_yeah13:59
vejmarieogra_: I have noticed the font issues13:59
vejmariethis is a problem within the python code13:59
ogra_it actually seems to ship quite a few fonts14:00
vejmarieI am working on fixing it at the present time, but I am not yet an expert14:00
davidcalleerio, kyrofa: yeah, this doc is mostly for core images themselves, although, it gives an overview of our concept of channels14:00
vejmarieyes it ship the font14:00
vejmariebut looks for them in the wrong places14:00
ogra_ah14:00
vejmariewhich explain why it default to ugly ones14:00
vejmarieI need to fix the code upstream14:00
kyrofadavidcalle, indeed14:00
ogra_vejmarie, well, in any case ... GOOD WORK !14:02
vejmariethanks14:04
vejmarieI might be fixing the font during the night and we shall be good14:04
vejmariethen I need to find a way to run highly build and automatize updates14:04
vejmarieand we shall be good for ubuntu support14:05
vejmarie(I normally do MacOS build)14:05
vejmarieI shouldn't say that there, people will stop to speak with me14:05
sergiusensvejmarie freecad launched ;-)14:13
vejmariegood ;)14:13
sergiusensvejmarie it has been a while since I last used it. I'll try it out later in the day14:13
sergiusensvejmarie one sugary thing you can do is name the `FreeCAD` in apps just to be `freecad`, then you can launch it from the cli by just typing in `freecad` instead of `freecad.FreeCAD`14:14
sergiusensup to you though ;-)14:15
vejmarieno problem. Be careful this is a developper version (latest git), so there might be bugs14:15
vejmarieyep I will upgrade that, this is my first snap still need some cleanup14:15
sergiusensvejmarie ah, for developer versions and to make your users not run into unexpected expectations, you should use the approriate channels when publishing ;-)14:15
vejmarieyes do not worry this is my intend, I moved the channel temporarly14:16
vejmarieas to see if I can see it in the store (which is still not the case !)14:16
vejmarieI will update it tonight when I will have understood why my store can't see it14:16
vejmarieI would like to run nightly build and distribute it through snap which seems to be the best way to test a few crazy features into free cad which has some very heavy dependancy (OCCT is a massive stuff)14:17
vejmarieby the way sergiusens, I think the developer version is quite stable14:21
vejmarieif needed I can build a stable version14:31
kyrofavejmarie, no need if you think it's stable enough-- the beauty here is that it's all your call!14:35
kyrofavejmarie, the only limitation as I understand it is that you can't release a snap that _requires_ devmode into stable channels14:36
ogra_now you just need to convince apple to support snaps too ... and only have to roll one package ;)14:37
vejmariekyrofa: it doesn't needs devmode ;)14:38
kyrofavejmarie, then you're all good14:38
vejmarieogra_: might be a challenge14:38
ogra_yeah, thats the most awesome bit :)14:38
ogra_vejmarie, just a "small" one :)14:39
vejmarie:)14:39
roadmrheya folks, I have a theoretical question :) how would I snap something like e.g. vim, which I'd like to be able to access pretty much any file in the system? not only in $HOME but say in /etc...14:42
ogra_you would tell users to use --dvemode14:45
ogra_*devmode14:45
ogra_or wait til some content charing mechanism is in place that you can hook into14:45
ogra_*sharing14:46
roadmris that planned?14:46
ogra_well, unity8 has it ...14:46
roadmrbecause devmode has other implications as well, right?14:46
ogra_it makes the snap run unconfined14:46
ogra_but thats peobably what you want for an editor anyway14:47
kyrofaogra_, I'm not sure the content sharing thing is what you want there, since I believe that's for inter-snap relationships14:49
kyrofaroadmr, if vi isn't unconfined you need to limit where it can write-- can't have it both ways14:51
kyrofaroadmr, sorry, my double negative made that hard to read14:51
elopio~14:53
sborovkovhello, Is there some env variable for snap's common directory?14:53
zygasborovkov: AFAIR not yet but I may have rusty memory14:54
zygasborovkov: but there's a way to reach it using ../something/something reliably14:54
* zyga looks14:54
kyrofasborovkov, not yet14:55
kyrofasborovkov, you can get to it via SNAP_DATA/../common14:55
sborovkovunderstood. thanks.14:55
kyrofasborovkov, the user-specific one is SNAP_USER_DATA/../common, but the launcher doesn't have the smarts to create it just yet14:56
kyrofa(so it's not actually usable, sorry about that)14:56
kyrofaBut the system wide one (next to SNAP_DATA) works fine14:56
zygakyrofa: thanks14:57
=== chihchun is now known as chihchun_afk
kyrofazyga, no problem. sborovkov they'll be named soon!14:58
kyrofaniemeyer, ^^14:58
kyrofaelopio, test test15:06
elopioworks.15:07
plarsxcb15:10
plarserr15:10
plarskyrofa: hi, I found https://github.com/kyrofa/qt-example-snaps/blob/master/systray/parts/plugins/x-qmake.py which was really helpful15:10
plarskyrofa: I was wondering if there are plans to include it in snapcraft?15:10
plarskyrofa: also, I am hitting an error with qt things that I try to snap, wondering if you've seen it:15:11
plarsThis application failed to start because it could not find or load the Qt platform plugin "xcb"15:11
kyrofaplars, I wasn't planning on it, I was just collecting some qt examples there, but I suppose it could be15:16
sergiusensplars use `after` qt5conf` and in command do `command: qt5launch <cmd>`15:16
kyrofaplars, you need the stage-package I have there15:17
kyrofaAnd yes, the qt5conf bit15:17
sergiusenskyrofa we should add the plugin, tag it experimental if you think it is not prime time ready yet15:17
kyrofasergiusens, I'm good with that. I wonder if kgunn might give us a review to make sure it's decent15:18
sergiusenskyrofa maybe jamiebennett wants to contribute a plugin :-P15:18
kyrofaplars, sergiusens oh oops, I didn't actually read the whole link, I thought plars was talking about the example, not the plugin. Yeah that should definitely be included15:18
plarsyes, the plugin itself would be really useful15:19
kyrofaplars, agreed, we'll get that in there15:19
plarssergiusens: kyrofa: I'll give the qt5conf bit a try, thanks!15:19
kyrofaplars, we even have a bug for it.15:19
plarserr, qt5launch15:19
kyrofaplars, yeah, refer to https://github.com/kyrofa/qt-example-snaps/blob/master/systray/snapcraft.yaml for details15:20
* jamiebennett hides15:20
kyrofajamiebennett, know anything about qmake?15:20
jamiebennettI know how to spell it ;)15:21
sergiusensjamiebennett that's a starter :-P15:21
jamiebennettBut thats about it15:21
sergiusenselopio have you tried manually uploading with https://github.com/ubuntu-core/snapcraft/pull/532 ?15:22
elopiosergiusens: yes.15:22
sergiusenselopio than yay!15:22
plarssergiusens: kyrofa: that seems to have worked great, thanks!15:23
kyrofajamiebennett, haha, no pressure, but if you feel like poking at snapcraft it should be a fairly easy one. Happy to take it though15:23
kyrofaplars, excellent! And thanks for the qmake poke15:24
elopiosergiusens: want me to update and rerun the tests?15:25
kyrofakgunn, any chance you'd be willing to review a qmake plugin?15:29
kgunnkyrofa: sure15:29
kgunni may not be the best...but i can always get some support there15:29
kyrofakgunn, thanks-- I'm sure you'll be better than me! I'm mostly unclear about qt4 versus qt515:30
elopiosergiusens: kyrofa: jamiebennett: fgimenez: yesterday I got a green execution of snapcraft all-snaps in bos01.15:31
jamiebennett\o/15:31
elopioI can work on getting the all-snaps images updated everyday there.15:31
jamiebennettelopio: Great work15:32
kyrofaAwesom elopio!15:32
elopiozyga: can you give me a short summary of the ubuntu-image status? Can I use it to generate images with core/edge ?15:32
kyrofaWith an e15:32
fgimenezelopio, great!15:33
elopiofgimenez: to take into account when uploading the images, we need to pass the arch property, and also the hypervisor.15:34
kgunnkyrofa: was there a pull request, i checked your github activity didn't see it...15:35
kyrofakgunn, oh no, sorry-- I'll ping you once I have something15:35
kgunnoh...nw15:35
* kgunn goes back to being buried ;-P15:35
* kyrofa shovels more dirt on kgunn15:37
zygaelopio: no, I'm busy with other tasks and I don't think that anyone else is touching it15:49
elopiozyga: ok, np, we will keep using the hacked one.15:50
zygaelopio: I think it is on my plate right after my current task15:51
ysionneauhmm for the extlinux.conf, am I supposed to put it inside the gadget snap ? or the kernel snap ?15:53
zygaysionneau: what is extlinux.conf?15:55
ysionneausome kind of menu config for u-boot15:57
ysionneauhttp://bazaar.launchpad.net/~snappy-dev/snappy-hub/snappy-systems/view/head:/pi2/boot-assets/uboot.env.in < the uboot script searches for it15:57
zygaysionneau: that will be the gadget snap but only after the new ubuntu-image is in place15:57
zygaysionneau: contributions are very much welcome15:57
zygaysionneau: look at github.com/CanonicalLtd/ubuntu-image for details (there's a spec for gadget's image.yaml)15:58
zygaysionneau: that desribes how to put the image togeter15:58
ysionneauah, thanks!15:58
ysionneauthis ubuntu-image is the replacement for UDF ?15:59
sethjlooking through the latest snapd changelog it mentions a debian import/patch that fixes the XDG path issue. Does that mean this bug was fixed?15:59
sethjhttps://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/157630315:59
ubottuLaunchpad bug 1576303 in snapcraft (Ubuntu) "Needs fontconfig integration" [Undecided,Confirmed]15:59
zygaysionneau: yes16:00
zygaysionneau: I can tell you anything you want to know about it16:00
zygaysionneau: but I'm not currently working on it (preempted by other tasks)16:00
ysionneaufair enough!16:00
zygaysionneau: I was going to implement and test the x86 side (there's no real difference but I was going to make new gadget snaps firsts)16:00
zygaysionneau: but I would love someone to look after uboot side (again, no real difference for u-i)16:01
ysionneauwell, if I can help somehow don't hesitate to ask16:01
zygaysionneau: sure16:03
zygaysionneau: you can help a lot by doing one simple thing16:03
zygaysionneau: read the image.yaml spec there16:04
zygaysionneau: and tell me how you'd describe an image using uboot16:04
zygaysionneau: make a demo .yaml, stick it in a branch16:04
zygaysionneau: at the same time, look at ...16:04
* zyga looks16:04
zygaysionneau: look at this http://paste.ubuntu.com/16922791/16:05
zygaysionneau: this is a shell "prototype"16:05
zygaysionneau: see if you can make a prototype like that, in shell, that assembles the image16:06
zygaysionneau: use local snaps for everything (u-i downloads them but let's not worry about that)16:06
ysionneauhmmmm16:06
zygaysionneau: if you can make that prototype and the corresponding image.yaml that will help me a lot16:06
zygaysionneau: we have some code that takes the .yaml file and handles it so that we can create such shell scripts16:07
ysionneauI've made a shell script to generate "image" for my board from rpi2 snaps :o16:07
ysionneauis that of any interest?16:07
zygaysionneau: yes!16:07
zygaysionneau: note that u-i has one major design change from udf16:07
ysionneauhttps://github.com/fallen/snappy-tools/blob/master/paros_image/genimage.sh16:07
zygaysionneau: it doesn't run any code that's system specific or that's shipped by the gadget16:07
zygaysionneau: all the code is either generic (making partitions, filesystems, pupulating filesystem)16:07
kyrofasergiusens, do you know anything about bug #1587193?16:07
ubottubug 1587193 in snapcraft (Ubuntu) "build of python3 snap fails with 'error: option --single-version-externally-managed not recognized'" [Undecided,New] https://launchpad.net/bugs/158719316:07
elopiosergiusens: didrocks: If you get an error on jenkins saying something bos01, it was my fault. I'm reverting that. Sorry.16:07
zygaysionneau: or the gadget has to ship a blob that we just stick at a given offset16:07
zygaysionneau: so images should be 100% reproducible16:08
zygaysionneau: the blobs can be built by the gadget snap16:08
zygaysionneau: but similarly to how snaps are built, that's done while the gadget snap is being built16:08
zygaysionneau: not when the image is assembled16:08
zygaysionneau: the image is more of a linker16:08
zygaysionneau: and takes pre-built things16:08
zygaysionneau: does that make sense?16:08
ysionneauIIUC, the image.yaml is describing the flash layout and partitioning scheme and which file to flash where?16:09
zygaysionneau: so your script would need to be split into something that you can snapcraft (or make) into a gadget.samp (containing image.yaml, files to put into filesystems, blobs to put into a fixed offset)16:09
zygaysionneau: it describes how to create a big blob out of other "parts"16:09
zygaysionneau: some of those parts are filesystems that it can populate16:10
ysionneauah ok a big flashable blob16:10
zygaysionneau: either with files from the gadget or with magic stuff to make the core snap work16:10
ysionneauright16:10
zygaysionneau: and some other parts are just fixed blobs to stick somewhere (not a filesystem, not a partition)16:10
zygaysionneau: e.g. boot code in the MBR16:10
zygaysionneau: or stage-2 grub in the bios bootloader partition16:10
zygaysionneau: or modem binary on dragon. etc16:10
zygaysionneau: if you start to arrange your script into two scripts16:11
zygaysionneau: one that builds the blobs or gets them from somewhere16:11
zygaysionneau: does any computing needed16:11
zygaysionneau: and spits out a gadget.snap16:11
zygaysionneau: and another that is more akin to what I pasted as the prototype in shell16:11
zygaysionneau: then we can align nicely16:11
zygaysionneau: if you see any issues in this desing please tell me early16:11
zygaysionneau: but I think the idea is flexible enough to build virtually any image (on any host OS)16:12
ysionneauone thing I think is important to say, here the input format for our flashing tool is a .tar, and not a .img16:12
zygaysionneau: and without having to change ubuntu-image in any way (hence declartive image.yaml and prebuilt stuff in the gadget)16:12
zygaysionneau: what is the tar content?16:12
ysionneauto flash, we basically send (via DFU or other) a bootloader, a kernel, and an installer (an ELF)16:12
ysionneauthen we speak through USB to the installer16:13
zygaysionneau: I see16:13
zygaysionneau: that's okay16:13
zygaysionneau: for 0.1 I'd like to just make an image reliably16:13
zygaysionneau: for 1.0 we can export parts into various other formats16:13
zygaysionneau: you can always take the image and export those with post-processing tools16:13
zygaysionneau: all that is important is that the image can be built reliably and (perhaps) with 100% reproducibility16:13
zyga(apart from things like partition IDs but perhaps snapd will manage those on first boot, time will tell)16:14
zygaysionneau: please stay in touch, I want to ensure you are supported16:14
zygaysionneau: and please do consider hacking on ubuntu-image, I will gladly review patches and take new features16:14
ysionneau18:12 < zyga> ysionneau: what is the tar content? < basically the entire file system(S)16:16
ysionneauit's nice that it is in Python and not go anyway16:17
zyga:-)16:17
ysionneaucause I can hack on Python and not at all on go =)16:17
zygaysionneau: and I think it should be fairly small and well-defined16:17
zyganot open-ended like u-d-f with ever-growing list of "supported boards"16:17
didrockselopio: thanks for the head's up!16:17
ysionneauto be more precise about our flashing process : we send a big .tar through USB and the installer 1°) formats the eMMC with the partition scheme 2°) mounts  partitions 3°) extracts the tar16:18
ysionneauthe fact that we mount the partitions before untaring allows to put contents for several partitions in the same .tar file16:18
zygaysionneau: note that ubuntu-image is precisely not ubuntu-flash16:18
zygaflashing is a separate tool that I'm not making today16:18
ysionneau(eg system-boot and writable)16:18
ysionneauyes but the image generation tool should be able to produce a file that can be processed by the flashing tool, right?16:19
ysionneauanyway, about the image generation process, Nvidia tools are doing a bit what your image.yaml is doing, except they use .xml16:19
ysionneauyou either specify an .img for each partition, or a blob and that's it16:20
zygaysionneau: that's a little open-ended, I think we will just make an image (intially), later on we might natively produce separate bits (just filesystem contents and the like)16:20
zygathe flashing tool is complex because there are lots of different things to do there16:21
zygaysionneau: as long as we can take the  big image and build a target-specific tool that flashes it (doing anything it needs internally), I think we are good16:21
zygaysionneau: can you point me to those tools? I'd like to know this better16:21
tyhickszzarr: I accidentally highlighted your name with the message about -Wall and -Werror but meant to highlight someone else - sorry about that!16:35
tyhicksysionneau: sorry but I haven't been able to debug it any more16:35
ysionneauzyga: Parrot tools unfortunately are not open source :/16:37
ysionneauand Nvidia ones, I don't know16:37
* elopio <- afk.16:37
ysionneauzyga: I've got to go, maybe I can drop you an email with more precise info about our image generation / flashing process?16:38
zygaysionneau: thanks16:39
zygaysionneau: please do16:39
zygaysionneau: do you have my address?16:39
ysionneauzyga: yes :)16:40
ysionneausee you soon!16:41
zzarrtyhicks, no problem, shows you are human :-)16:52
=== Aria is now known as Aria|away
kgunnzyga: you about? finally got round to trying vm --visual, with mir i/f builtin to snapd20:10
kgunncurious, if i install mir-server snap...i see mir:mir-server under the plug column20:10
kgunni would;ve thot mir slot would've shown up w.o mir-server snap being installed?20:11
kgunne.g. it only appears in the interface list after mir-server snap installation20:12
=== vejmarie_ is now known as vejmarie
=== vejmarie_ is now known as vejmarie
jdstrandsergiusens: hey, looking at bug #1583259 I'm trying to understand what ends up in snap.yaml. snapcraft.yaml is clear-- will snap.yaml be the same or different?21:16
ubottubug 1583259 in Snapcraft "Snappy needs to influence environment variables in applications " [Wishlist,In progress] https://launchpad.net/bugs/158325921:16
sergiusensjdstrand it will be a direct copy, a global `environment` (same level as `name`) and one special to each app in `apps`21:17
sergiusensjdstrand the consumer for this is snap-run21:17
jdstrandsergiusens: ack, thanks21:20
zygakgunn: hmm21:27
zygakgunn: can you please re-state that?21:27
zygakgunn: which snaps did you install21:27
zygakgunn: in what order21:27
kgunnzyga: sure...more a matter of curiosity as i see mir trying to launch...but here's what i did21:27
kgunnused your run-devel-vm --visual, then rebuilt snap/snapd, setup, run-snapd, then on the vm ./devtools.snap installed mir-server snap21:28
kgunnrebuilding snap/snapd b/c i added the mir interface to builtins21:29
kgunnliterally "mir" being the interface name21:29
zygaokay21:29
zygaah21:29
zygahmmm21:30
zygacan you please point me to the mir interface?21:30
zygait depends on how you made the interface21:30
zygayou can think of mir-server having a mir socket21:30
zygas/socket/slot/21:30
kgunnzyga: i actually figured you were gonna say that :)21:30
zygathen the slot grants you permissions21:30
zygaand it's not on the core snap21:30
zyga(I think that is what we wanted)21:30
zygayou can also stick it on the core snap but I think that's less desired21:30
zygabecause what we are still after is the mir plug for some demo client to run and talk to mir snap21:31
zygain any case, I'm very happy that it's progressing and that the tooling around snapd works fine21:31
zygaif you have any questions please do ask21:31
kgunnso i implemented them as "permanent slot"21:32
kgunnand at this point, i'm not even to mir-client...this is just to get mir-server running on the core21:33
kgunnand i should be able to make some progress, like i say..i see mir-server trying to launch21:34
zygakgunn: so the permissions to 'be mir' are on the permanent side of the mir slot?21:38
zygakgunn: that sounds good21:38
* zyga watches tests fly past his screen22:36
kallisti5any plans for 16.04 based snappy core?23:59

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