[00:58] zyga: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/IMI5TP2K6A6R7PSIOUBLOE62ENIZDXOA/ [06:29] zyga: ping [07:37] PR snapcraft#682 opened: Extending the created yaml from `snapcraft init` [07:40] PR snapcraft#673 closed: Updating styling and examples for `snapcraft init` in lifecycle.py [09:00] oooookay, i have a PPA with Qt with EGLFS support: https://launchpad.net/~a-j-buxton/+archive/ubuntu/qt5-raspi-eglfs [09:01] now i just need a snapcraft to build my app and bundle everything from the three required PPAs === JanC is now known as Guest34809 === JanC_ is now known as JanC [10:17] Strange question: Is the snap completed if I can run the application? For example if I want to start karaf I have to go through the 'prime' folder and command it from there after its snapped [10:44] Anyone? [10:55] okay snap install doesn't work [10:55] i didn't expect that installing a snap would be harder than making one [10:55] - Make snap "ubuntu-core" available to the system (can not set next boot: cannot determine bootloader) [10:58] i see it's bug 1580403 [10:58] Bug #1580403: snap tries to manage bootloader in snappy-on-ubuntu-classic mode [11:10] ah, my snapd is quite out of date... [11:19] hey why does qt5launch not work on arm? [11:22] okay i need to fork qt5conf then [11:26] so how do i tell the yaml to use my fork of qt5conf instead of the wikipart? [11:32] figured it out [11:32] this is pretty good, i'm impressed [11:38] How close are we to a raspberry pi 3 release? [11:40] good question [11:51] /snap/infodump/x4/bin/qt5-launch: 76: exec: infodump: Permission denied [11:51] wut? [11:55] i'm sooooo close to getting this to work :/ [12:13] How can I change the npcraft directory, my installed snaps are in my C drive and I cant access them without copying them into a different folder [12:28] hmm okay, apparmor denied my snap from using exec [13:26] Anyone know how I could install the Karaf logs when I snap, current issue is there not ebing made [14:00] once i finish my snap a instance file becomes read-only, anyway to change that? === davidcalle is now known as davidcalle|afk [15:55] ali1234 try the new desktop parts for didrocks [15:55] glad to know you found your way around. === sumer is now known as Guest24220 [16:25] When snapping karaf I'm running into a problem, the files when made are read only and they need to be edited to run [16:57] 'Unable to update instance pid: /snap/karaf/x3/instances/instance.properties (Read-only file system)' how can I fix this? [17:00] hello [17:03] * mactrent waves [17:05] is there a ppa for more recent versions of snapcraft? I'm trying to use the new desktop-launch command, but the version in xenial just says it doesn't exist [17:06] sergiusens: i'm not sure what that means, sorry [17:08] you mean eg [desktop/qt5] ? [17:09] i guess thats what he means :) [17:14] it installs a load of stuff that i don't need :/ [17:14] like light-themes [17:14] ell, thats an argument i constantly have with didrocks :) [17:14] hello [17:15] i don't even have a desktop [17:15] (who created the launcher parts) [17:15] Cavan: hello [17:15] i am running Qt on eglfs [17:15] ali1234, then grab the part and re-implement your own bsed on it [17:15] i literally don't need any of the stage-packages [17:15] Cavan: you need to make the program write user specific data to a file relative to to the SNAP_USER_DATA environment variable [17:16] ali1234, there are a bunch non desktop related stage-packages in the list i think [17:16] ... that are important for qt execution [17:18] no, there aren't [17:19] well ... shrug [17:19] zyga, thanks, how would I go about doing that, any handy links or advice? [17:19] it's building glib [17:19] and x11 [17:20] okay this fails to even build a snap [17:20] kyrofa, sergiusens, hmm, shouldnt "type: os" disable --all-root in the mksquashfs options in snapcraft ? seems it doesnt for my os snap LP builds ( /home/ubuntu is root owned) [17:28] ogra_: i don't understand how to make my own version of the part [17:28] i can fork it on github and modify it [17:28] but then how do i include it in my project if i do that? [17:28] it can't put my modified version on the wiki [17:29] i would just copy/paste the part from the upstream snapcraft.yaml into mine and then modify it [17:29] that doesn't work [17:29] there are two upstream yaml files [17:30] are there ? [17:30] https://github.com/ali1234/snapcraft-desktop-helpers/blob/master/qt/snapcraft.yaml and https://github.com/ali1234/snapcraft-desktop-helpers/blob/master/snapcraft.yaml [17:30] * ogra_ has never touched that ... i consume it in a few snaps [17:30] and they both use relative paths [17:30] so i don't understand how to copy and paste it in [17:30] i was able to do it with qt5conf part, because it is much simpler [17:31] i fear you have to wait for didrocks (who is only strictly 8h online during work hours usually) [17:32] it's okay i figured it out [17:32] sergiusens, kyrofa, filed bug 1605903 for you guys [17:32] Bug #1605903: type: os does not unset --all-root option for mksquashfs when coming fro snapcraft.yaml [17:43] okay well desktop-launch still says permission denied [17:46] it fails on exec "$@" exactly the sample place where qt5-launch failed [17:46] *same [17:49] Jul 23 17:45:12 ubuntu audit[5434]: AVC apparmor="DENIED" operation="exec" profile="snap.infodump.infodump" name="/snap/bin/infodump" pid=5434 comm="desktop-launch" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0 [18:02] how can I predefine user data so the error 'Unable to update instance pid: /snap/karaf/x3/instances/instance.properties (Read-only file system)' wil stop? [18:25] how do I set the SNAP_DATA? Do I use the yaml? [19:22] I'm trying to snap an ubuntu sdk app, but despite including all the normal dependencies and 'desktop/qt5' I get "qmlscene: could not find a Qt installation of ''" when attempting to run it, any pointers? [19:23] this is my attempt so far: http://pastebin.ubuntu.com/20639883/ [19:27] still keep getting 'cannot create directory ‘/snap/karaf/x7/data/log’: Read-only file system' [19:27] how do I change the read only or allow the snap to create the files [19:35] Anyone there to give me a hand? [20:39] I've created a simple snap for xcape: https://github.com/LeonB/snappy-xcape/blob/master/snapcraft.yaml [20:39] But I keep getting a permission denied error when running it [20:43] geteuid() = 1000 [20:43] write(2, "need to run as root or suid", 27need to run as root or suid) = 27 [20:43] write(2, "\n", 1 [20:43] ) = 1 [20:43] exit_group(1) [20:43] What could be the problem? [20:44] I've created another snap and I got this same behaviour [20:44] Running something like htop, installed from the store, seems to run fine [20:44] So maybe it has something to do with my snapcraft.yaml's [20:45] $ /snap/bin/xcape --help [20:45] execv failed: Permission denied [22:03] LBo: i am currently getting the same problem [22:05] ali1234: great, I'm not the only one :) [22:05] 16.04 also? [22:05] yes