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