/srv/irclogs.ubuntu.com/2016/07/24/#snappy.txt

=== JanC is now known as Guest15956
=== JanC_ is now known as JanC
karlthaneExperimenting with snappy. I installed atom-cwayne but cannot find any way to launch it.04:29
qenghokarlthane: happy weekend! Does your environment add /snap/bin to your shell's PATH?08:59
Son_Gokumorning everyone :)10:35
CavanHow can I make files not read only? I cant run my snap after install because it converts the files to read only12:52
qenghoCavan: 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
CavanYeah 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
Cavanqengho12:59
qenghoCavan: You're writing to the wrong place. Write beneath $SNAP_DATA, not $SNAP.12:59
CavanI put 'export SNAP_DATA="$SNAP/data/log/"' in a wrapper, is that incorrect?13:01
qenghoThat is very much incorrect. You shouldn't assign anything starting with SNAP.13:03
* qengho Zzz.13:05
Cavanqengho, 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
qenghoCavan: 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
ali1234why 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
luqmaankiCan 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. Thanks15:41
sergiusensogra_ thanks for the bug, I suspect it is related to the way we migrate files from parts/<part-name>/install to stage and prime16: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.gz16:36
* ogra_ spent the whole day uploading hacked snapcrafts to the image ppa :)16:36
sergiusensogra_ yeah, you probably want to not elf crawl for type OS16:36
ogra_right, actually it should just blindly copy everything over and call mksquashfs16: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
sergiusensogra_ 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 updates16:43
ogra_indeed16:43
sergiusensogra_ and now I understand where those PPA build failures come from too :-)16:48
ogra_heh16:48
ogra_sorry for spamming16:49
mupPR 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 far19:49
mupBug #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
magicaltroutCavan: don't you tell it to write to $SNAP_USER_DATA ?19:54
Cavanmagicaltrout, is it as simple as writing 'export KARAF_DATA="$SNAP_USER_DATA"'? It wont write the files it needs to from the karaf data20:00
magicaltroutdunno how karaf is setup to write Cavan20:09
magicaltroutbut something like that20:09
magicaltroutyou need to write it somewhere20:09
magicaltroutdepends  what its set to20:10
magicaltroutyou could also try20:10
magicaltrout-Duser.home=$SNAP_USER_DATA20:11
magicaltroutand see if it rewrites everything20:11
magicaltroutit  might20:11
Cavanmagicaltrout, where should I put that, in the wrapper I made with the other exports ect?20:12
magicaltroutsomewhere that takes java  opts20:16

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