=== JanC is now known as Guest15956 | ||
=== JanC_ is now known as JanC | ||
karlthane | Experimenting with snappy. I installed atom-cwayne but cannot find any way to launch it. | 04:29 |
---|---|---|
qengho | karlthane: happy weekend! Does your environment add /snap/bin to your shell's PATH? | 08:59 |
Son_Goku | morning everyone :) | 10:35 |
Cavan | How can I make files not read only? I cant run my snap after install because it converts the files to read only | 12:52 |
qengho | Cavan: All snap files are immutable by design. By read-only, do you mean no executable bit? | 12:56 |
qengho | "Read only" usually means not writable. It says nothing about executability. | 12:57 |
Cavan | Yeah thats what I mean sorry, the snap cant write the files which need to be written, the error is 'mkdir: cannot create directory ‘/snap/karaf/x9/data/log’: Read-only file system' | 12:58 |
Cavan | qengho | 12:59 |
qengho | Cavan: You're writing to the wrong place. Write beneath $SNAP_DATA, not $SNAP. | 12:59 |
Cavan | I put 'export SNAP_DATA="$SNAP/data/log/"' in a wrapper, is that incorrect? | 13:01 |
qengho | That is very much incorrect. You shouldn't assign anything starting with SNAP. | 13:03 |
* qengho Zzz. | 13:05 | |
Cavan | qengho, I'm very new to this as you can probably tell, is something like this better 'export KARAF_DATA="$SNAP_DATA/data/log/"'? | 13:05 |
qengho | Cavan: You have a program. If it's expecting some environment variable, you should set it, and export it to subprocess's environments. If it's expecting some parameter, you should construct it. What you have there looks fine to me, but I don't know your program at all. You have to know why you're doing that, and then you might know what, better. | 13:15 |
ali1234 | why is the qmake plugin staging my app binary at stage/home/ubuntu/snap/infodump/parts/infodump/build/build/infodump instead of something sensible like stage/bin/infodump? | 13:21 |
luqmaanki | Can anyone assist me with snapcraft and how it works and some basics about Ubuntu Snappy Core. I've been to all possible web pages, but it seems like I'm missing something. Thanks | 15:41 |
sergiusens | ogra_ thanks for the bug, I suspect it is related to the way we migrate files from parts/<part-name>/install to stage and prime | 16:35 |
ogra_ | sergiusens, yeah, there are also a few ldd issues at the very end of the build https://launchpadlibrarian.net/274817065/buildlog_snap_ubuntu_xenial_amd64_os-snap-test_BUILDING.txt.gz | 16:36 |
* ogra_ spent the whole day uploading hacked snapcrafts to the image ppa :) | 16:36 | |
sergiusens | ogra_ yeah, you probably want to not elf crawl for type OS | 16:36 |
ogra_ | right, actually it should just blindly copy everything over and call mksquashfs | 16:37 |
* ogra_ learned a lot about snapcraft today (stage and prime are still a bit of a myth to me though) | 16:38 | |
ogra_ | the kernel snap build works fine btw https://code.launchpad.net/~ogra/+snap/kernel-test-snap :) | 16:39 |
ogra_ | (i still need to set it up for other arches than amd64 though) | 16:39 |
sergiusens | ogra_ yeah for an os snap we do, but for others, special attribs are not a good idea as we won't be able to easily support clean delta updates | 16:43 |
ogra_ | indeed | 16:43 |
sergiusens | ogra_ and now I understand where those PPA build failures come from too :-) | 16:48 |
ogra_ | heh | 16:48 |
ogra_ | sorry for spamming | 16:49 |
mup | PR snapcraft#681 closed: parser - Add handling for carriage returns in wiki <Created by josepht> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/681> | 16:50 |
Cavan | 'Still getting /snap/karaf/x14/data/log/karaf.log (Read-only file system)' How can I configure it to write the files? I've tried so many things and nothing has worked so far | 19:49 |
mup | Bug #1606053 opened: 'snap find <foo>' output is a little agressive when '<foo>' results in no snaps <Snappy:New> <https://launchpad.net/bugs/1606053> | 19:51 |
magicaltrout | Cavan: don't you tell it to write to $SNAP_USER_DATA ? | 19:54 |
Cavan | magicaltrout, is it as simple as writing 'export KARAF_DATA="$SNAP_USER_DATA"'? It wont write the files it needs to from the karaf data | 20:00 |
magicaltrout | dunno how karaf is setup to write Cavan | 20:09 |
magicaltrout | but something like that | 20:09 |
magicaltrout | you need to write it somewhere | 20:09 |
magicaltrout | depends what its set to | 20:10 |
magicaltrout | you could also try | 20:10 |
magicaltrout | -Duser.home=$SNAP_USER_DATA | 20:11 |
magicaltrout | and see if it rewrites everything | 20:11 |
magicaltrout | it might | 20:11 |
Cavan | magicaltrout, where should I put that, in the wrapper I made with the other exports ect? | 20:12 |
magicaltrout | somewhere that takes java opts | 20:16 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!