/srv/irclogs.ubuntu.com/2016/05/01/#snappy.txt

bumbleheadI've been trying to build a node-webkit snap package and am wondering what the best strategy is...03:35
bumbleheadshould I build the node-webkit binary and in the yaml file put "command: bin/node path/to/nwbin"?03:36
bumbleheadi would normally call "nw" from within the root directory of the package and there's a manifest file there which node webkit uses for its initialization03:38
bumbleheadbut doing the same with snappy is not simple. snappy does not let me 'cd' into the directory using something like this "command: cd && node nw"03:39
bumbleheadso maybe a bash script that uses cd would be necessary? or maybe that's a bad way of doing it...03:39
bumbleheadhas anyone here done this?03:39
bumbleheadand the node webkit produced binary is somewhat large --70mb03:41
bumbleheadbut my application is a small flashcard application03:41
bumbleheadthe source files are probably about ~30kb03:41
bumbleheadmaybe this "fine" I don't know03:42
wililupyAnyone else getting this error using ubuntu-device-flash building a core snappy image?04:10
wililupyhttp://pastebin.ubuntu.com/16163489/04:10
wililupyThis is the command I am using:04:11
wililupysudo ./ubuntu-device-flash core 16 --channel=edge --kernel=canonical-pc-linux --gadget=canonical-pc --os=ubuntu-core -o snappy_amd64.img04:12
bumbleheadit seems there's some permissions issue running the node webkit binary...04:38
bumbleheadit would be terrific if a hello-world/todo-list example using nw.js or electron would be published04:39
bumbleheadI'll need to give up on this task this I wasn't able to complete it today :(04:40
slvnHello, my snap package is been reject because of "checksums do not match. Please ensure the snap is created with either 'snapcraft snap <DIR>' or 'mksquashfs <dir> <snap> -noappend -comp xz -all-root -no-xattrs' security-snap-v2_squashfs_repack_checksum"07:15
slvnbut doing "snapcraft snap my_app" says "[Errno 2] No such file or directory: my_app/meta/snapcraft.yaml"07:16
slvnwhereas doing "cd my_app; snapcraft snap" correctly make the snap package, which is working07:16
slvnany idea ?07:16
pedroniswililupy: how was that u-d-f built? where i comes from? it looks like a bug that was briefly on ubuntu-core/snappy master but now is fixed10:06
pmpIn what way does the recent announcement of Marc's (et al) has influenced the status of a RPI2 snappy-image generation?11:58
pmpI'm asking this as currently I'm not able to build an image (since 3 weeks actually) with u-d-f for rpi (from ~mvo)11:59
pmp"failed to install "canonical-pi2" from "edge": cannot open snap: unknown header: "hsqs \x00 ..."12:04
qengho_slvn: Are you building with snapcraft on 16.04? What does "snapcraft -v" say?15:39
slvnqengho_,  yes this is snapcraft on 16.04, snapcraft -v says "2.8.4"15:41
qengho_slvn: Huh. How about "file *.snap", where you have a snap in curdir.15:42
slvnqengho_, it says "Squashfs filesystem, little endian, version 4.0, 8468182 bytes, 72 inodes, blocksize: 131072 bytes, created: Sun May  1 15:44:04 2016"15:44
slvn(I have just re-created it)15:44
slvnsnap-review will fail with the message : "security-snap-v2:squashfs_repack_checksum"15:45
slvn"checksums do not match. Please ensure the snap is created with either 'snapcraft snap <DIR>' or 'mksquashfs <dir> <snap> -noappend -comp xz -all-root -no-xattrs'"15:45
qengho_slvn: I don't know. Could be a dozen things. There's a link at the bottom of the page. Report it as a bug. Someone will work it out, probably starting tomorrow.15:48
=== qengho_ is now known as qengho
slvnqengho, np, I'll ask the question again tomorrow15:49
qenghoOkay, but IRC is not a bug tracker.15:49

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