/srv/irclogs.ubuntu.com/2016/03/22/#snappy.txt

netphreakHi, guys :)01:30
netphreakAny news on ubuntu snappy support on the RPI 3?01:32
zygajdstrand: hey02:25
=== chihchun_afk is now known as chihchun
zygajdstrand: could you have a quick look at https://github.com/ubuntu-core/snappy/pull/63502:26
zygajdstrand: the only new thing there since we last looked at that is https://github.com/ubuntu-core/snappy/pull/635/commits/939d1d5824c8ced1b7e994cf4f2f88ad289693ba02:26
zygajdstrand: I would *really* like to land this branch as it's been in a linbo for a week and I have some code that needs it02:27
zygajdstrand: if I lost track of the desired file name and other templates then please correct me but I think it is okay02:27
zygadavidcalle: hey, sorry, lost IRC connection02:28
zygadavidcalle: can you re-state your request please?02:29
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dholbachgood morning08:26
noizerGood morning08:39
noizerjdstrand: Hi are you available?09:05
zygagood morning09:19
ogra_mvo, you didnt approve the kernels from the last build/upload ?09:48
=== chihchun is now known as chihchun_afk
noizerDid you heard about the bomming in belgium dammed10:00
=== chihchun_afk is now known as chihchun
zygaogra_: hey, good morning10:08
mvoogra_: I see nothing in the unapproved queue10:08
netphreakgood morning ;)10:19
netphreakAny news on ubuntu snappy support on the RPI 3?10:19
=== chihchun is now known as chihchun_afk
noizerI heard it will be working on RPI 3 netphreak10:20
noizerBut i'm not a canonical developer10:20
ogra_mvo, https://myapps.developer.ubuntu.com/dev/click-apps/4739/rev/2/ https://myapps.developer.ubuntu.com/dev/click-apps/4316/rev/3/ https://myapps.developer.ubuntu.com/dev/click-apps/4284/rev/8/ https://myapps.developer.ubuntu.com/dev/click-apps/4283/rev/16/ https://myapps.developer.ubuntu.com/dev/click-apps/4283/rev/17/10:21
ogra_morning zyga10:22
mvoogra_: aha, please click on "request for manual review", then I can see them in the review queue, otherwise they are invisible for me10:25
mvoogra_: I can do that now myself10:26
mvoogra_: just for the next time, that click makes it easier for me to find them10:26
ogra_ok10:26
ogra_i wonder how to do that for the automated uploads then :P10:27
zygajdstrand: hey10:29
zygajdstrand: I didn't know you were around10:29
mvoogra_: I think we need to talk to jdstrand and see if we can drop the -all-root requirement10:29
mvoogra_: for the squashfs, I think that is causing the issues right now because the repack of the snap can not be done because of different parameters and this causes this manual review thing10:29
ogra_mvo, well, at least special case os snaps10:29
zygajdstrand: I don't know if you saw the discussion on telegram; we were wondering about the apparmor cache, specifically what maintains the cache enabled by https://github.com/ubuntu-core/snappy/pull/635/files#diff-48ca5117699c941398b92fcd61caaed5R4310:29
mvoogra_: yes, or that10:30
ogra_i think the --all-root was wanted (there was a bug)10:30
ogra_Bug #154682110:30
ubottubug 1546821 in Snappy "please add -all-root and -no-xattrs to mksquashfs options" [Undecided,New] https://launchpad.net/bugs/154682110:30
sergiusensogra_, yes; the bug sequence was, make snapcraft support the os snap without all-root and remove the snappy build functionality10:31
sergiusenswednesday's release will have that10:31
ogra_sergiusens, ah, good to know10:32
ogra_sergiusens, please leave me a few days with the removal from snappy though (even though i expect no issues with switching livecd-rootfs, if there are any we are screwed with the dailies)10:37
sergiusensogra_, I am not removing snappy build, that is on mvo and his merry friends :-)10:38
ogra_ah, ok10:38
ysionneaucan ubuntu-device-flash generate separate .img files for each partition instead of a big img file?10:41
ogra_ysionneau, nope, but kyrofa has a script to split it into two img files10:42
ogra_(one for the boot stuff, one for writable10:42
ogra_)10:42
=== dpm_ is now known as dpm
ysionneauI guess fdisk + losetup + dd should do the job?10:43
mvosergiusens: we still need that bit for various tests (and its ~5 lines) happy to hide it (and make it only available in the tests)10:43
ysionneaubut I'd like to have a look at the script anyway :)10:43
dholbachdavidcalle, want to have a chat about snappy/snapcraft docs in a bit? or shall we talk later?10:44
davidcalledholbach: can you do a quick one in ~20min?10:45
dholbachyes, a quick one10:45
sergiusensmvo, well I'm not the one pushing for it https://bugs.launchpad.net/snapcraft/+bug/1546821 look at comment #810:46
ubottuLaunchpad bug 1546821 in Snappy "please add -all-root and -no-xattrs to mksquashfs options" [Undecided,New]10:46
sergiusensmvo, you can hide it; but personally I think our QA would be a lot better if you use snapcraft's snap instead10:47
sergiusensmvo, if it is just 5 lines it could also just be moved to the test runner code10:47
mvosergiusens: fair enough, yes, I think a separate package would be good10:48
mvosergiusens: anyway, let me look at this10:48
sergiusensmvo, but of most importance; people like you and me need to stop using `snappy build`10:48
mvosergiusens: thats fine, can we make "snapcraft snap" not look for snapcraft.yaml maybe? this would allow us to keep using our tests10:53
sergiusensmvo, have you used snapcraft snap? ;-)10:54
mvosergiusens: http://paste.ubuntu.com/15471199/10:54
sergiusensmvo, `snapcraft snap DIR` :-)10:55
mvosergiusens: thanks! http://paste.ubuntu.com/15471206/ :P I guess it wants to tell me that the architectures field is mandatory10:56
popeyI spy new update coming down the pipe!10:56
popeyUpdating canonical-pi2-linux (4.4.0-1004-raspi2+20160321.17-52)10:56
popey\o/10:56
mvosergiusens: I will prepare a branch that replaces snappy build with snapcraft snap10:56
mvosergiusens: will snapcraft snap also run the click-reviewers-tools automatically?10:57
oparozHello guys, I didn't RTFM, but I was just wondering. Can we have several snaps installed and communicte with one another? Redis snap, Libreoffice snap, all usable from a webapp snap?10:58
dholbachdavidcalle, let me know when you have time11:01
popeyis this expected when i update http://paste.ubuntu.com/15471238/ - to 4.4.0-1004-raspi2+20160321.17-52 ?11:02
davidcalledholbach: I do now :)11:05
dholbachyes!11:06
kyrofaGood morning11:20
kyrofaysionneau, those scripts are currently specific to the rpi2 image (they need to be generalized), but they're here: https://github.com/owncloud/pi-image/tree/master/image-creation-tools11:22
sergiusensmvo, I need to make it run it; but I'm waiting for stabilization of the whole infra for that (wrt click review)11:36
sergiusensas it might just end up confusing with all the churn11:36
* ogra_ tickles pitti with bug 1547033 ... would be nice to have that fixed before final release ;)11:38
ubottubug 1547033 in systemd (Ubuntu) "please allow /etc/mtab to be a pre-existing link on readonly filesystems" [Medium,New] https://launchpad.net/bugs/154703311:38
ogra_sergiusens, https://github.ubuntu.com/96boards/linux ??11:41
ogra_(from your blogpost)11:41
ogra_sergiusens, i assume there sneaked some wishful thinking in to take over github with ubuntu ?11:42
sergiusensogra_, lolz11:44
sergiusensogra_, let me fix that :-P11:44
=== jospoortvliet_ is now known as jospoortvliet
=== chihchun_afk is now known as chihchun
kyrofasergiusens, elopio whew, so those examples were failing for everyone?12:00
sergiusenskyrofa, yes, I dug into it last night; it is related to the snappy changes that landed yesterday12:02
kyrofasergiusens, ah, okay12:02
sergiusenskyrofa, first -> binary_name = appname if appname == snapname else "snapname.appname"12:03
sergiusenssecond, PWD for apps changed again12:03
sergiusensto be PWD12:03
sergiusenskyrofa, now the testing infra is broken ;-)12:03
kyrofasergiusens, yeah, and a number of environment variables were removed, too12:03
=== chihchun is now known as chihchun_afk
kyrofasergiusens, I see an opencv failure as well... trying to track that down12:08
ogra_mvo, do you think we can do anything about the umount error messages on shutdown (i see a lot red on reboot)12:09
mvoogra_: what is that? do you have some more details?12:09
ogra_mvo, /writable and some bind mounts cant be unmounted12:09
mvoogra_: hm, I check12:10
ogra_i think we should just skip unmounting altogether, call sync and remouont ro12:10
ogra_and not spit out an error :)12:10
pittiogra_: followed up to the bug, mind having a look?12:14
ogra_pitti, i'll adjust that and we'll see :)12:15
=== chihchun_afk is now known as chihchun
pittiogra_: cheers12:15
ysionneaukyrofa: thx !12:16
kyrofasergiusens, does the opencv example work for you on xenial? I'm getting libmvec errors12:17
kyrofaysionneau, no problem12:17
sergiusenskyrofa, well the examples tests runs them, so I hope they do12:18
kyrofasergiusens, yeah mine failed... and it fails locally as well. I'll rerun them just to be safe12:19
noizerWhat interfaces are there available for network?12:21
kyrofajdstrand, haha, using indent in the launcher now?12:21
sergiusenskyrofa, don't run retest this as it will fail :-)12:21
jdstrandkyrofa: yeah, I am spending some time in there :)12:21
kyrofasergiusens, :(12:22
jdstrandmvo, ogra_: where do you want to drop -all-root?12:22
ogra_jdstrand, for os snap builds12:22
ogra_(we need the system-user-owned files and dirs there)12:23
jdstrandbackground: -all-root is required to verify snaps from untrusted sources12:24
jdstrandotherwise I can't resquash12:24
jdstrandan os snap is of course trusted12:24
jdstrandI'm pretty sure if I remove -all-root from the resquash we are going to get different users at some point, if not today12:25
jdstrandbut I can try12:25
jdstrandogra_: what about the kernel snap?12:25
ogra_jdstrand, there it doesnt matter .. nor for the gadget12:26
kyrofasergiusens, ah, I was able to get rid of my local failure by upgrading gcc, g++ and libc6-dev12:26
jdstrandok12:26
sergiusensjdstrand, I've been doing kernel snaps with all-root just fine12:26
jdstrandok good12:26
sergiusenskyrofa, weird situation, abi breakage again?12:26
ogra_it is only important for the system daemons to have their users around12:26
jdstrandhopefully I can just remove -all-root if it is an os snap and it will work. but I might have to disable the resquash for them12:26
kyrofasergiusens, yeah not sure. Everything is broken!12:26
sergiusenskyrofa, tests seem to be running fine now for your stuff ;-)12:28
jdstrandmvo, ogra_: I added a card for -all-root and os snaps12:30
ogra_thanks !12:30
ysionneauwill the ubuntu-device-flash available at http://people.canonical.com/~mvo/all-snaps/ubuntu-device-flash be packaged for ubuntu desktop 16.04 ?12:31
ogra_ysionneau, there is a replacement in the works called ubuntu-image, though i was hoping mvo pushes the changes for bridging the time til thats ready if it takes longer12:33
kyrofamvo, yeah still worth landing I say12:33
* ogra_ isnt sure what the actual ETA for ubuntu-image is ... sergiusens knows though12:33
sergiusensogra_, you didn't join the meeting yesterday; so you didn't figure it out12:35
kyrofapopey, I just noticed you tried to install the owncloud-pi gadget. Are you just looking for the owncloud snap?12:35
sergiusensogra_, now you might12:35
ysionneauogra_: ah ok12:36
ogra_sergiusens, yeah, i totally missed while being busy releasing snaps to the store12:36
ogra_ppisati, do you happen to have auboot binary for the rpi3 ?12:42
* ogra_ is to lazy to compile one :P12:42
ysionneauhmmmm, so when snapcraft says 'architectures' when trying to build a gadget snap, it means?12:52
popeykyrofa: yeah, i just thought I'd try installing that12:53
kyrofapopey, oh okay, so not really looking for anything in particular?12:53
popeywell, owncloud in particular, yeah :)12:55
sergiusensysionneau, it means we have a bug :-)12:58
sergiusensysionneau, can you log one?12:58
kyrofapopey, oh, just try `snappy install owncloud`12:59
ysionneauyou mean can I file a bug report ?12:59
sergiusensysionneau, yes please https://bugs.launchpad.net/snapcraft/+filebug12:59
sergiusensysionneau, I will add it to the 2.6 work due tomorrow12:59
popeykyrofa: on 16.04?12:59
kyrofapopey, indeed12:59
ysionneauI'm really not used to your bugtracker and I don't even have an account12:59
ysionneaubut I guess it's the occasion12:59
popeykyrofa: ok12:59
ysionneaulet me try that...12:59
kyrofapopey, the gadget snap only exists for creating an image with the owncloud snap preinstalled13:01
kyrofasergiusens, I swear every time I run the example tests I get one more failure. I'm up to 4 now13:03
sergiusenskyrofa, yeah I see the same13:03
sergiusensfgimenez, any help ^13:03
sergiusens?13:03
=== chihchun is now known as chihchun_afk
kyrofaThe opencv failure is the same one I just got rid of locally by updating13:04
kyrofaI wonder if the others are similar13:04
ysionneauhttps://bugs.launchpad.net/snapcraft/+bug/156048113:05
ubottuLaunchpad bug 1560481 in Snapcraft "snapcraft prints 'architectures' when trying to build a gadget snap" [Undecided,New]13:05
popeykyrofa: does it start automatically once installed?13:06
kyrofapopey, yes, though it takes a moment to generate mysql creds and stuff. Check the syslog13:07
kyrofapopey, you'll see apache waiting for creds, and mysql initializing13:07
kyrofapopey, on the rpi2, maybe a few moments ;)13:07
popeyit's been a while.13:08
sergiusenskyrofa, ogra_ jdstrand https://github.com/ubuntu-core/snapcraft/pull/39113:08
popeykyrofa: no apache or mysql processes running13:09
ogra_sergiusens, looks good13:09
kyrofapopey, hmm, see errors in the syslog then?13:09
popey[340124.599445] audit: type=1400 audit(1458651897.178:59): apparmor="DENIED" operation="capable" profile="owncloud.canonical_mysql_9.0.0ubuntu1" pid=10400 comm="mysqld" capability=24  capname="sys_resource"13:09
popeykyrofa: ah, works on my edge pi2, but not my stable pi213:10
popeyguess this is expected?13:10
kyrofapopey, uh oh, no it's not13:10
popeyheh13:10
kyrofapopey, but I just released in an attempt to fix that13:10
kyrofapopey, I apparently failed13:11
popeyno worries13:11
kyrofapopey, can you give me the errors on the stable?13:11
popeyany particular logs?13:11
popeyhttp://paste.ubuntu.com/15471936/13:12
popeythat's dmesg last bunch of lines13:12
kyrofapopey, just the syslog where they fired up. Those denials are normal13:12
ysionneauhope my bug ticket is clear enough sergiusens13:12
popeyricmm: fyi, the youtube-streamer demo (I think it's yours?) spams the syslog every 5 seconds after install http://paste.ubuntu.com/15471942/13:14
sergiusensysionneau, no worries; I know what you are after :-)13:18
sergiusensysionneau, in any case, gadget snaps in they future will be arch specific13:19
sergiusensso this is rather a remporary thing13:19
ppisatiogra_: yep13:19
ogra_i cant even get a purp out of mine (i finally built an aarch64 one)13:19
ppisatiogra_: https://github.com/piso77/ubuntu-embedded/blob/master/boards/raspi3/rootfs/boot/firmware/uboot.bin13:19
ppisatiogra_: and here is an ubuntu img, if you want to do some debug etc13:20
ppisatiogra_: http://people.canonical.com/~ppisati/ubuntu_embedded/ubuntu-embedded-16.04-raspi3.img.xz13:20
ogra_well, i hopefully only need a gadget snap :)13:20
ppisatiogra_: +113:21
ogra_bah+13:21
ogra_reading uboot.env13:21
ogra_*** Warning - bad CRC, using default environment13:21
ogra_missing our patch13:21
ogra_ppisati, how exactly did you build it ?13:22
ppisatiogra_: you mean the steps?13:23
ppisatiexport ARCH=arm; export $(dpkg-architecture -aarmhf); export CROSS_COMPILE=arm-linux-gnueabihf-13:23
ppisatimake rpi_3_32b_defconfig13:23
ogra_ppisati, oh, 32bit ?13:23
ppisatimake ...13:23
ppisatiogra_: yep13:24
ogra_ah, there is a special config ... thats my error13:24
ppisatiogra_: my uboot binary is of some days ago13:24
ppisatiogra_: i think back then there was no 64b option13:24
ogra_rpi_3_defconfig defaults to 64 in swarrens branch13:25
ppisatii just noticed that13:25
ogra_grmpf13:26
ogra_still doesnt boot13:26
ogra_i suspect my trusty gcc is to old or something13:26
ppisatiogra_: i'm on wily FWIW13:26
didrockspopey: it's mine, and yeah, it will spam you until you configure it!13:39
popey:(13:39
didrockspopey: which is better than failing IMHO13:39
didrockswe can maybe just make it print once13:39
popeymy poor sd card13:39
popeyit's been spamming for days13:39
didrockswhy did you install something without having it running?13:39
popeyto look at it13:40
didrocks(hem, look at the logs, you have way more spammer ;))13:40
popeyI can't believe you asked that question13:40
didrocksbut didn't configure it, so didn't look at it? :p13:40
popeyi wanted to see what was in the package, I didn't expect my syslog to be spammed for days as a result. "I'll configure that later"13:40
popey"NO, YOU MUST CONFIGURE IT NOW!"13:40
popeyAnd I'll keep reminding you until your SD card wears out :)13:41
didrockspopey: the issue is that if we didn't spam regularly, how would you know days after what to put in it?13:41
popeyDocumentation13:41
popeya README perhaps is the standard way13:41
didrocksno way to expose the README in snappy13:41
popeyI can find it in the directory it's installed in13:41
didrocks(forget people looking at the source git branch)13:41
didrockshum, I'm unsure13:42
didrocksat least, it should print it once, ok13:42
popeyThunderbird doesn't spam my syslog if I don't configure a mail account.13:42
didrocksyeah, but configuring it is easier than snappy13:42
popeyDebateable :)13:42
didrocksand you have a walkthrough13:42
popeyI don't believe that spamming the syslog is ever a right answer to "How should we tell the user that the app isn't configured"13:43
ogra_ppisati, no go :( not sure why13:43
* ogra_ just built on a wily machine 13:43
didrockspopey: remember you are not in the regular case, you are in the one installing something but not using it. However, I do agree, I can spam you once13:43
didrockspopey: then, you go to answer people asking how to configure it :)13:44
didrockspopey: mind opening a bug on the demo branch?13:44
didrocksI'll do that on Friday13:44
popeylink?13:44
didrockshttp://github.com/ubuntu-core/demos13:44
popey(I strongly disagree that people don't install and not configure stuff)13:44
didrockspopey: I guess the real SD card issue is something else though, look at the logs you have, and yeah, we need ubuntu core to care about this13:45
popeydidrocks: done.13:47
didrockspopey: link?13:47
popeyhttps://github.com/ubuntu-core/demos/issues/213:47
ogra_ppisati, was there any script i need to run ?13:48
ppisatiogra_: oh yeah, after yui build the uboot binary13:48
ppisatiogra_: you need to run...13:48
jdstrandsergiusens: ack, thanks13:49
ogra_i thought i remembered mkknlimage ... but cant find it13:49
ppisatiogra_: mkknlimg13:51
ppisatiogra_: https://github.com/raspberrypi/tools/blob/master/mkimage/mkknlimg13:51
ysionneausergiusens: is there something I can do in my snap.yaml to temporary work around the issue to keep working?13:51
sergiusensysionneau, use `snappy build` for now13:52
ysionneauah, works, thanks!13:52
kyrofaysionneau, note that will be going away soon, so move back to snapcraft once the bug is fixed13:53
ysionneauallright, noted, thanks!13:53
ogra_sigh .. no go13:58
fgimenezsergiusens, no idea, it seems that 3 of the failures are consistent in each execution. we have a new test image fwiw, iirc that caused problems previously13:58
ysionneauhow can I make a kernel snap? any example?14:00
kyrofaysionneau, did you see the new Snapcraft release announcement? And sergiusens blog post?14:05
ysionneaukyrofa: was it on snappy-devel ?14:07
ysionneauI subscribed to this ML on the 10th of feb14:07
kyrofaysionneau, snappy-app-devel14:08
ysionneauah, I should subscribe to this one then14:08
kyrofaysionneau, indeed!14:08
kyrofaCheck the archives, sent out about 10 hours ago14:08
ysionneaudone.14:08
ysionneauthx14:08
ysionneauhttps://lists.ubuntu.com/archives/snappy-app-devel/2016-March/000645.html o/14:09
ysionneauawesome!!14:09
sergiusensysionneau, bug reports welcome :-)14:11
ysionneauah, you need to have snapcraft build your kernel, maybe I can hack something by creating a squashfs out of my already built kernel+modules+initrd14:11
ysionneau$ snapcraft --target-arch arm64 < !!!!!14:12
ysionneau--target-arch ? :)14:12
ysionneauso snapcraft is beginning to have some cross compilation notions ?14:12
ogra_ppisati, i dont really get it ... do you do anything special ?14:12
ogra_ppisati, i cant even get a burp out of the board with any uboot binary i build14:12
ppisatiogra_: raspi3, right?14:13
ogra_ppisati, yeah ... which compiler do you use ? just the gcc-5 eabihaf ?14:14
ogra_*hf14:14
sergiusensysionneau, only for kernels14:16
ysionneaubut can any other plugin get the --target-arch value?14:17
ysionneauI'll have a look anyway14:18
ysionneauit would be cool if I can make my Alchemy plugin use that14:18
ysionneauso that I don't need to set the TARGET_CPU via environmnent variable14:18
ppisatiogra_: don't you get to the uboot console?14:23
ppisatiogra_: i mean, nothing14:23
ppisatiogra_: zero output on the serial?14:23
ogra_nothing14:23
ogra_rightr14:23
ppisatiogra_: oh wait14:23
ppisatiogra_: is it the first time you use it?14:23
ogra_if i copy yours in place it gets me the console but obviously the snappy patches are missing14:23
ogra_yes14:24
ogra_copying mine back in place gets me total silence on the serial14:24
ppisatiok14:24
ppisatilet me try to rebuild one14:24
ogra_mind throwing http://paste.ubuntu.com/15472180/ in ?14:25
ogra_ppisati, you are using the swarren rpi_dev branch ?14:25
ppisatiyes14:25
ogra_and only --dtok as option to mkknlimg ?14:26
ogra_(ro also --283x=14:26
ogra_--283x)14:26
ogra_*or14:26
ogra_(though it doesnt seem to make any difference here )14:27
ogra_my only idea is that we use different compilers or so14:27
sergiusenskyrofa, fwiw, I see opencv failing now too (on the builders)14:27
kyrofasergiusens, urgh. Do the builders update first?14:28
sergiusensysionneau, implement set_target_machine in your plugin14:28
sergiusenskyrofa, we can ask elopio like live now :-)14:31
kyrofasergiusens, good idea14:31
kyrofaelopio, standup?14:32
ppisatiogra_: i just compiled the tip of rpi-dev and uboot doesn't work here either14:33
ogra_aha14:33
ogra_do you knwo which commit you used ?14:35
ppisatiogra_: ok14:36
ppisatiogra_: git checkout -b rpi_dev_32bok f135e8f14:37
ppisatiogra_: make rpi_3_32b_defconfig14:37
ppisatiogra_: make ...14:37
ppisati./mkknlimg --dtok --ddtk --283x u-boot/u-boot.bin myuboot.bin14:37
ppisatiand it will work14:37
ppisatijust tested14:37
ppisatieither he broke 32bits or we are doing something wrong with the latest14:38
ppisatibut this will work14:38
ogra_hmm git acts up14:39
ogra_ogra@styx:~/all-snaps/rpi3/u-boot$ LC_ALL=C git checkout -b rpi_dev_32bok f135e8f14:41
ogra_fatal: Cannot update paths and switch to branch 'rpi_dev_32bok' at the same time.14:41
ogra_Did you intend to checkout 'f135e8f' which can not be resolved as commit?14:41
ogra_ppisati, thats after a fresh: git clone git://github.com/swarren/u-boot.git14:42
ppisatiogra_: i wonder if he deleted that commit, and the corresponding object is not present in the upstream repo anymore14:43
ogra_:(14:43
ppisatiogra_: i can give you a copy of my uboot tree14:43
ppisatiogra_: until we find what's going on14:43
ogra_yes please ... just tar it up or so14:43
ppisatiit's tarring...14:46
ogra_swamped under hot tar ?14:53
ppisatiogra_: http://people.canonical.com/~ppisati/u-boot.tgz14:56
ogra_thx !!!14:56
ppisatiogra_: today i got a new internet connection and a new router14:56
ogra_cool ... how fast ?14:56
ppisatiogra_: my firewall&c is a bit fucked up ATM14:56
ppisati100Mbit / 50Mbit14:56
* ogra_ just switcvhed to 50/10 14:56
ppisatid / u14:56
ogra_the best i could get here14:57
ogra_(after 10 years with 2/2 ...)14:57
ppisatii guess you live far from a city14:57
ogra_i live in the middle of a city :P14:57
ppisatidoh!14:57
ppisati:)14:57
ogra_germany is a third world country wrt internet speed14:57
ppisatiyou must something really bad to your isp then14:58
ppisatineeee14:58
ppisatiitaly is worst14:58
ppisatii justgot lucky14:58
ppisatii have FTTH14:58
ogra_we dont even have 2% fiber coverage afaik14:58
ogra_and DSL max speed is around 100MBit ... but you have to be lucky14:58
ppisatihere vodafone is selling 300 / 30 fiber14:59
ppisatibut i didn't want to switch isp14:59
ogra_(my wire could go up to 70 but then it would get shaky ... old cables ... )14:59
Trevinhoppisati: I told you to do that... :-)14:59
ppisati(now i'm on fastweb / swisscom)14:59
ppisatiTrevinho: you have fweb too? or vodafone?14:59
Trevinhoppisati: vodafone, but using telecom actually.14:59
Trevinhoppisati: I mean, they've not their fiber network here yet (building atm)15:00
ppisatiTrevinho: yeah, i was scared about downtime, etc15:00
ppisatiTrevinho: so i got an upgrade from my existing isp15:00
Trevinhoppisati: i've to say it's reaaaaally good in that terms. I was worreid, but it's not like their bad adsl15:00
ogra_in most of germany the copper is still from the 70s ... i think thats the main prob15:00
ppisatiogra_: i think pretty much everywhere copper sucks15:01
ppisatiogra_: i must admit, having real fiber popping out of your wall is very nice :)15:01
ogra_yeah15:01
ogra_ppisati, ok, now i end up with FTD errors15:21
ogra_*FDT15:21
ogra_Hit any key to stop autoboot:  015:24
ogra_libfdt fdt_check_header(): FDT_ERR_BADMAGIC15:24
ogra_No FDT memory address configured. Please configure15:24
ogra_the FDT address via "fdt addr <address>" command.15:24
ogra_i got device_tree_address=0x02000000 in config.txt and also have my env set up to use fdt addr 0x0200000015:25
ogra_ppisati, do you have your uboot.env.in somewhere ?15:38
ysionneausergiusens: it seems I need a snapcraft.cfg or something to use the kernel plugin?15:45
ysionneauor else the load_config will return {} and the  storeapi.download() will fail15:45
sergiusensysionneau, oh, maybe a bug is in order; but you need to `snapcraft login` first15:49
ysionneauah!15:50
ppisatiogra_: https://github.com/piso77/ubuntu-embedded/blob/master/boards/raspi3/rootfs/boot/firmware/uboot.env15:50
ogra_ppisati, i'm looking for the content, not the blob :)15:50
ppisatiogra_: heh :)15:50
sergiusensysionneau, it's necessary to obtain the generic initrd found in the os snap15:50
kyrofaelopio, examples tests are still failing it seems15:51
ysionneausergiusens: works after snapcraft login :) bear in mind I'm a snapcraft noob ! thx !15:51
ppisatiogra_: http://pastebin.ubuntu.com/15472788/15:51
sergiusensysionneau, no worries; your bug reports will be welcomed as we want to provide the easiest experience possible15:51
ppisatiogra_: i'm out for a bit15:51
ogra_ppisati, ok, i cant seem to load any devicetree at all15:52
ogra_looks like you dont do anything different in your env15:52
ppisatiogra_: which firmware version are you using?15:52
ogra_ppisati, the one from your package in the "embedded" PPA15:53
ppisatiogra_: https://launchpad.net/~p-pisati/+archive/ubuntu/embedded/+sourcepub/6187265/+listing-archive-extra15:53
ogra_right, exactly that15:53
ppisatiogra_: and the dtb is called...15:53
ppisatibcm2710-rpi-3-b.dtb?15:53
ogra_and the dtb from the latest 4.4. kernel15:53
ysionneausergiusens: cool :) done! https://bugs.launchpad.net/snapcraft/+bug/156055315:54
ogra_(though by now i tried all of them upstream, our kernel, and from your test img)15:54
ubottuLaunchpad bug 1560553 in Snapcraft "snapcraft error message is not very helpful when using storeapi without being logged in" [Undecided,New]15:54
ogra_ppisati, right15:54
ppisatiif you skip the dtb in memory, you load it from uyboot and pass it to the kernel15:54
ppisatiogra_: does it work?15:54
ogra_ah, we dont have a concept of that in snappy ... i'll try15:54
ogra_(we always use what the blob gives us in ram since we need overlay support)15:55
ogra_U-Boot> fatload mmc 0:1 ${fdt_addr_r} ${fdtfile}15:57
ogra_reading bcm2710-rpi-3-dtb15:57
ogra_** Unable to read file bcm2710-rpi-3-dtb **15:57
ogra_hmm15:57
ogra_oh, copy paste messes up the uboot shell15:58
ogra_fun15:58
ppisatiah15:59
ppisatifuck me15:59
ppisatisudo ./mkknlimg --dtok ../../u-boot/u-boot.bin myuboot.bin16:00
ppisatifixed the uboot in memory problem for me16:00
ppisatitry it out16:00
* ppisati really rushes out now, biab16:00
ppisatiogra_: ^16:00
ogra_ok16:00
sergiusenselopio, fantastic :-/ http://162.213.35.179:8080/job/github-snapcraft-examples-tests-cloud/317/testReport/junit/test_busybox/BusyBoxTestCase/test_busybox/16:01
kyrofasergiusens, that's the opencv error16:05
kyrofasergiusens, so something isn't updated16:05
elopiocannot find /lib/x86_64-linux-gnu/libmvec.so.116:05
kyrofaelopio, yeah, I fixed that by updating gcc g++ and libc6-dev16:06
kyrofaI assume it was actually libc though16:07
elopiokyrofa: sergio added apt-get upgrade.16:07
elopioah E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)16:07
kyrofaelopio, ah, so it didn't actually happen16:08
elopiofgimenez: do you have a good solution in mind to make sure that the slaves are always up-to-date before jobs run?16:08
elopiomaybe a nightly redeploy?16:09
elopiosergiusens: that solution might not be too good, because it forces us to have one single execution at a time.16:11
elopiothat means that if we have three PRs that want to run tests, the last one will have to wait like 2 or 3 hours.16:11
sergiusenselopio, what solution? the hackish thing I did?16:11
elopioyes, apt-get in the test script.16:11
sergiusenswhere should it go?16:12
elopioon the other hand, we are ok with only one apt-get upgrade per day-ish, so it's fine to let the other jobs fail when they can't get the lock.16:12
elopiosergiusens: I don't know, that was my question for fgimenez.16:12
fgimenezelopio, nightly redeploy sounds very good, that way we can make sure we have the versioned code up to date16:13
elopiofgimenez: we would have to trigger also the regeneration of the dockers, right?16:14
fgimenezwe can begin with the current (and weak) validation and improve it as we find holes16:14
sergiusenselopio, fgimenez can we force a redeploy now?16:14
elopiosergiusens: I'm forcing an upgrade now.16:14
sergiusensok, whatever gets the job done16:14
fgimenezelopio, the engine can stay, only the containers should be updated16:15
elopioredeploying when there's a queue of pending executions is not that good.16:15
ogra_crap16:15
ogra_bah, no mvo16:16
fgimenezelopio, but before any new redeploy we need to fix the extraction of the config.xml files of the jobs16:16
elopiofgimenez: you mean, removing the old and keeping just the new ones?16:17
fgimenezelopio, yep, keeping the ones that come with the container16:17
elopioogra_: heads up that I'm enabling now the dput job from master. Could you do your thing after the new deb is in place so we get the new version in edge?16:18
ogra_elopio, what deb is that ?16:18
ogra_ubuntu-snappy(-cli) ?16:18
elopioogra_: yes. take a look: http://162.213.35.179:8080/job/github-snappy-daily-ppa/16:18
elopioit's currently dputing to a test ppa. I've just changed it to do it from now on on the image ppa.16:19
ogra_elopio, hmm,. that shoudl go to the archive, no ?16:19
ogra_we are not supposed to use PPAs in 16.0416:19
elopioogra_: for edge, I think we must use PPAs. I wouldn't want to put to the archive directly from master.16:20
elopioonce we are ready to promote to stable it's when we should update the archive, I think.16:20
ogra_elopio, well, the ubuntui-core snap doesnt make a difference between edge/stable ... it is just building from the archive (which you can override from the PPA but we are supposed not to)16:21
ogra_we dont have any separate ubuntu-core snap build16:21
elopioogra_: the edge you published yesterday was build from the image ppa, right?16:22
ogra_elopio, it has the PPA enabled but we removed all xenial packages from there16:23
ogra_(apart from the dragonboard kernel which will be moved ot the archive this week)16:23
ogra_elopio, the point is that we cant have PPA snappy in ubuntu-core when we release it ... this is the official snap16:24
ogra_we would need some ubuntu-core-edge snap for that ... that would mean to introduce a completely new product on cdimage16:24
ogra_(not really trivial)16:24
elopioogra_: but, don't you agree that we shouldn't update the archive until we know that this snappy package is stable?16:26
ogra_elopio, we should, but we cant do the testing in the production snap16:26
elopioso, yes, we have a circular mess here.16:27
ogra_right16:27
ogra_we can indeed do it like you want until release16:28
ogra_after all the 16.04 ubuntu-core snap isnt officially released yet16:28
=== dpm is now known as dpm-afk
ogra_but the problem needs solving16:28
elopioogra_: what if the PPA has only this ubuntu-snappy deb?16:29
elopioThen, we use the PPA only as a staging place for this deb, but is built using all the dependencies from the archive. Every day, we dput a new ubuntu-snappy to this ppa. Every day, you take this new ppa and build a snap. Every day, we publish this snap to edge.16:29
elopioOnce we are ready to go to stable, we both promote the snap and push the deb into the archive?16:29
ogra_elopio, you would have to delete the deb from the PPA before we build the official snap16:30
ogra_each time16:30
elopiook, there's a step missing. What I don't like is to have to generate a new snap. I want just to promote the same snap we put earlier into edge.16:32
elopiobut that breaks your requirement of not using the ppa for the official snap.16:32
sergiusenselopio, there is no problem with putting a new snappy-cli in the archive16:33
sergiusensfew will directly consume it16:33
sergiusensunless you really don't trust it; then automating this step is not really good16:33
elopiosergiusens: isn't it the same package that will be used for snappy-dimension on classic ?16:33
sergiusensthey will in the end consume the snap16:33
sergiusenselopio, yes they will btw16:34
elopioI still don't like updating the archive once a day.16:35
sergiusenselopio, what shall we do with https://github.com/ubuntu-core/snapcraft/pull/388 ?16:35
sergiusensare we waiting on something?16:35
elopioogra_: where does this no-ppa requirement come from? If the PPA only has the exactly same deb that will go to the archive, the result is the same when we use the ppa or the archive.16:36
ogra_elopio, sabdfl16:36
ogra_elopio, in 16.04 only the archive should be used16:36
ogra_updates only via SRU16:36
sergiusenselopio, the no PPA requirement makes perfect sense; it should have never been a PPA16:36
elopiosergiusens: we are waiting on the slaves to dist-upgrade16:36
sergiusenselopio, ah, ok, thanks :-)16:37
elopiobut if we want a daily edge, then we would have to SRU every day.16:37
ogra_elopio, which wont fly with the SRU rules :)16:38
ogra_SRUs need to stay 2 weeks in quarantaine16:38
* ysionneau flooding bugs16:39
elopioso that makes it even bad if we don't want a daily edge.16:39
sergiusensysionneau, what else did you find?16:39
ysionneauhttps://bugs.launchpad.net/snapcraft/+bug/156057016:39
ubottuLaunchpad bug 1560570 in Snapcraft "snapcraft needs to export CROSS32CC var when building arm64 kernel" [Undecided,New]16:39
elopiolet's say we have a two week cycle. At the end of the second week we want to release, but we will have to put the version for two weeks in quarantine16:39
ogra_elopio, well, we would need to have a whole cdimage setup for an ubuntu-core-edge16:39
ysionneauhttps://bugs.launchpad.net/snapcraft/+bug/156056916:40
ubottuLaunchpad bug 1560569 in Snapcraft "snapcraft kernel plugin misses the bc dependency" [Undecided,New]16:40
ogra_elopio, which is possible but quite some work, nothing i can "just do"16:40
elopioogra_: but I also don't want an ubuntu-core-edge. I just want the same package to be promoted from edge -> stable16:40
ogra_elopio, well, then your daily builds need to go to the archive16:43
elopioogra_: I think that for me, the least bad option of what you told me is to generate the edge snap from the ppa. Once we are ready to move to stable, put the deb into the archive and generate the stable snap from the archive.16:43
elopioit kind of invalidates part of the testing we do during the week, but it's not terrible.16:44
elopioall the other options look worse to me. ogra_: what's your prefered option?16:44
ogra_well, not using the PPA :)16:44
ogra_or getting permission to use it all the time ...16:45
elopioogra_: so with not using the PPA do you mean, daily pushes to the archive, or no daily edge?16:45
ogra_daily to the archive16:45
ogra_but that wont fly witgh the SRU policy16:46
elopiook, I'll send an email. sergiusens: does what I said make sense to you? Or am I missing another requirement here?16:47
sergiusensogra_ and ppisati, can you comment on https://bugs.launchpad.net/snapcraft/+bug/1560570 please. I feel estranged16:49
ubottuLaunchpad bug 1560570 in Snapcraft "snapcraft needs to export CROSS32CC var when building arm64 kernel" [Undecided,New]16:49
ysionneauor maybe it's just a need for tegra (x1?) kernels ?16:50
ysionneaubut by looking at the file path, it seems arm64 generic16:50
ogra_sergiusens, i'll leave that to ppisati16:50
sergiusensysionneau, it confuses me since I'm not a kernel guy and I see 64bit and 32bit mixups in there16:50
ysionneauyep16:50
ysionneaubut I can confirm that in our build system we also set CROSS32CC16:50
ogra_ysionneau, any reason to not use an aarch64 gcc ?16:51
ysionneauit's consistent with the web link I've put16:51
sergiusensysionneau, seems hackish tbh16:51
sergiusensogra_, https://devtalk.nvidia.com/default/topic/894945/jetson-tx1/jetson-tx1/post/4742474/#474247416:51
ysionneauogra_: no idea, it's what we use here and it's also what's on the web link16:51
ysionneauthe kernel is compiled using aarch64 toolchain, but a few parts are compiled using "VDSO32C" makefile variable16:51
ysionneauwhich is set from CROSS32CC16:52
ogra_oh my16:53
* ogra_ agress with sergiusens ... seems hackish16:53
ysionneauor maybe ... https://android.googlesource.com/kernel/tegra/+/android-tegra-flounder-3.10-lollipop-release/arch/powerpc/Makefile16:53
ysionneaudo something like CROSS32CC = $(CC) -m3216:54
sergiusensysionneau, yeah, powerpc is 32bit :-)16:54
ogra_ppc32tegra ?16:55
ogra_:)16:55
ysionneauo/16:55
ysionneauonly source I find for this hack is https://devtalk.nvidia.com/default/topic/917802/issue-with-building-nvidia-kernel-for-tx1/ and https://devtalk.nvidia.com/default/topic/923810/jetson-tx1/rebuilding-the-tegra-tx1-kernel-from-source/16:56
sergiusensysionneau, fwiw I marked this invalid as you can solve it in your snapcraft.yaml https://bugs.launchpad.net/snapcraft/+bug/156056916:57
ubottuLaunchpad bug 1560569 in Snapcraft "snapcraft kernel plugin misses the bc dependency" [Undecided,Invalid]16:57
kyrofasergiusens, elopio still waiting on the upgrade? How are you guys seeing that, anyway?16:58
sergiusenskyrofa, I can't see anything; I'm shooting blanks ;-)16:58
sergiusenserr, shooting in the dark :-)16:58
kyrofasergiusens, well, where did you put the dist-upgrade in the first place?16:59
ysionneausergiusens: arg sorry!16:59
kyrofasergiusens, or was that in that one git repo?16:59
elopiokyrofa: I'm dealing with the last slave.16:59
sergiusenskyrofa, inside the jenkins instance; but they removed that in favor of something else16:59
elopioI found the problem: libc-dev-bin : Depends: libc6 (> 2.23) but 2.21-0ubuntu6 is installed16:59
sergiusenselopio, dist-upgrade?17:00
sergiusensysionneau, no worries17:00
ogra_ppisati, http://paste.ubuntu.com/15473201/ ... but sadly it hangs there (with blinking cursor though)17:00
elopiosergiusens: yes, solved with install -f and dist-upgraded again.17:00
elopioshould be done soon.17:00
sergiusensysionneau, I still have to think about that CC thing; you can do it from the outside (as in `CCXXXX=xxxx snapcraft --target arm64`) if you want17:00
ysionneauyes for now I do export it from my shell before running snapcraft17:01
ysionneauit's not a blocker for me17:01
ysionneauI have to confess I'm not a Tegra kernel export either ... so I don't know if it's a good thing for you to integrate that17:01
sergiusensysionneau, k; I'll leave the bug open in case more people run into it; this one I guess will go in if the population seeing it is huge17:01
ysionneaubut I need it to compile17:01
ysionneaubtw I've tried -m32 from aarch64 toolchain, does not seem OK :o17:02
sergiusensysionneau, from the bc thing and others it seems it is an android kernel this is based out of17:02
ysionneaulet me ask but it's highy probable17:02
ysionneauat least I see some android merges in the git history17:03
sergiusensysionneau, thought so :-)17:07
sergiusenselopio, so are we good?17:08
* sergiusens is getting anxious ;-)17:08
sergiusensI bet kyrofa is too17:08
* kyrofa is indeed, he has all sorts of stuff queued up17:08
elopiosergiusens: good, but the slave is still unpacking debs.17:08
elopiothey are slow. Maybe we should use the slaves only to direct scripts to scalingstack instances.17:09
elopiook, done. I'm retesting my branch.17:11
kyrofaThanks elopio! Hopefully that fixes things17:14
ysionneauallright, kernel snap is done o/17:15
ysionneausergiusens: your kernel plugin works well o/ thanks!17:19
=== retrack is now known as Guest89501
ysionneauany idea what this could be? http://paste.ubuntu.com/15473724/17:41
ogra_ysionneau, you dont need --developer-mode with the all-snaps u-d-f17:46
ogra_tough the issue looks like something with your gadget17:46
Laneysnappy friends17:49
LaneyI was looking at doing the seed change for xenial that you are asking for17:50
Laneybut... https://paste.ubuntu.com/15473751/17:50
ogra_Chipaca, ^^17:50
ogra_i assume they would rather seed ubuntu-snappy-cli to not get the systemd services installed17:50
ogra_s/would/should/17:50
sergiusens_elopio, kyrofa we are back in business17:52
kyrofasergiusens_, YES!17:52
ogra_you business people you17:52
elopio\o/17:54
Laneyogra_: I'm off in 5 minutes - maybe you can execute the seed/meta change when someone waks up?17:55
Laneyhttps://bugs.launchpad.net/ubuntu/+source/ubuntu-snappy/+bug/154888717:55
ubottuLaunchpad bug 1548887 in ubuntu-snappy (Ubuntu) "[FFe][MIR] ubuntu-snappy and install it by default" [Undecided,Fix committed]17:55
ogra_Laney, well, *if* someone wakes up17:55
Laneysure17:56
ogra_not sure if mvo planned to come back today ... and Chipaca's IRC client is a zombie since the telegram group exists17:56
LaneyIt's really weird17:57
ogra_(would really be nice if he could just shut it down)17:57
Laneysometimes this seems urgent17:57
Laneybut nobody is actually pushing the change17:57
Laneyso I don't really understand what's going on tbh17:57
ogra_well, i think it is just the wrong package ... i suggested -cli before but smoser said he'd like ubuntu-snappy instaed17:58
ogra_i think the systemd units come from the ubuntu-snappy package and -cli will omit them ...17:58
Laneymvo re-confirmed on the bug after I asked17:58
ogra_you definitely do not want them17:58
Laneywas assuming that having it on the beta is a good thing17:59
Laneybut hey ho17:59
ogra_yeah, it would be17:59
ogra_but if you cant reach anyone who can make that decision ...17:59
Laneynobody is chasing though17:59
Laneyand they're apparently asking for the wrong thing18:00
Laneyso ?!?!?!18:00
ogra_*shrug*18:00
Laneyyou see what I mean :P18:00
ysionneaubtw where can I fetch the os snap? (or do I need to generate it? how?)18:00
ysionneauI used the os.snap which appeared in my kernel snap parts dir18:00
ogra_ysionneau, http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/18:00
ogra_just grab the one for your arch18:00
ysionneaushould it be the arch of the kernel or user space?18:01
ogra_or simply use: -os ubuntu-core.canonical18:01
ogra_that will pull the last released one from the store18:01
sergiusens_ogra_, no need for .canonical iirc18:01
ogra_oh ?18:01
ogra_when was that dropped ?18:01
jdstrandkgunn: is it possible to test the mir snap in a qemu vm?18:01
sergiusens_ogra_, not dropped; it is optional18:02
ogra_well, it used to be mandatory for a while :)18:02
ysionneaunot sure what's wrong with my gadget snap18:02
sergiusens_jdstrand, using virt-manager it is easier; you need a different display18:02
sergiusens_ogra_, we setup an alias :-18:02
sergiusens_:-)18:02
ogra_ah18:02
Chipacalooking...18:02
ogra_Chipaca, !18:02
ogra_alive !18:02
Chipacaogra_, not a zombie! just even more lagged18:02
ogra_:D18:02
ysionneauhttp://paste.ubuntu.com/15473862/ here is my meta.yaml18:03
jdstrandsergiusens_: you're saying it will work in virt-manager?18:03
Chipacapeople always ping me at 6pm :-(18:03
ysionneau19:01 < ogra_> or simply use: -os ubuntu-core.canonical < ok!18:03
Chipacaum18:03
ogra_ysionneau, that will just produce an empty gadget18:03
ogra_you dont define any files18:03
Chipacai don't think you should install those services on a system with apt-get18:03
kgunnjdstrand: right, that's my understanding is that other vm's don't have nicely configured display/gfx stacks18:03
jdstrandI can use virt-manager all day :)18:04
jdstrandok, thanks18:04
ogra_Chipaca, thats why i suggested to seed -cli instead18:04
ogra_(assuming that doesnt ship the units)18:05
kgunnjdstrand: curious, you just getting around to display-server policy stuff?18:05
Chipacathis is mvo territory i'm afraid18:05
ogra_then we have to wait i guess18:05
jdstrandkgunn: sadly no. still blocked, but hopefully soon18:07
jdstrandI wanted to test a launcher change18:07
kgunnok, lemme know if you have any probs18:07
Chipacaogra_, i've not looked in to what's needed; it might be ubuntu-snappy itself, with the services adhoc-disabled somehow18:08
Chipacai've just never had to look :-)18:08
ogra_heh, same here18:08
Chipacai'd love to *know*, of course, but my bandwidth is only so much18:10
ysionneauogra_: I think I'm fine with an empty gadget for now18:10
ogra_ysionneau, but ubuntu-devicel-flash isnt :)18:10
ysionneauok =)18:10
ogra_you use the ubuntu-device-flash binary from mvo's all-snaps dir ?18:11
ysionneauyes18:11
Chipacaok, back to making dinner for me18:11
ogra_Chipaca, enjoy18:12
ysionneauah indeed I've put a dummy file and now it goes forward to the next error18:12
ogra_good18:12
ysionneau../paros_gadget/paros_1.0_all.snap failed to install: exit status 218:12
ysionneauo/18:12
ysionneaumaybe it should be absolute path18:12
ysionneaunop, same18:13
ogra_no, its the content18:13
ogra_so you have a dtb file thats called tegra-x1 ?18:14
ysionneauno18:14
ysionneaustat("/tmp/diskimage828293005/tegra-x1.dtb", 0xc8202e0448) = -1 ENOENT (No such file or directory) <= indeed18:14
ogra_http://bazaar.launchpad.net/~snappy-dev/snappy-hub/snappy-systems/view/head:/pi2/meta/snap.yaml18:14
ogra_have a look at that file18:15
ysionneauyes I based my snap from this and from the gadget documentation18:15
ogra_you need the boot-assets ... and your platform entry should be the same as your dtb18:15
ysionneauallright, let's do this18:15
ysionneaumaybe this field should be renamed "dtb" instead of platform :o18:17
ysionneauso that it's more clear what you are supposed to put18:17
ogra_well, the gadget is supposed to becompletely re-worked (i learned today) ...18:17
ysionneauahah, ok18:19
ogra_elopio, so whatever we'll do with the PPA stuff, lets for now just do it as you said ... (and perhaps start a mail discussion about how we want to finally fix this process) ... and let me know when i should hit the button for a build18:24
ogra_we are still in pre-release after all18:24
elopioogra_: I sent the mail. Let me dput...18:25
* ogra_ doesnt want to be the blocker18:25
elopioogra_: oh, you are not at all. We just need to finish the details of how to connect everything.18:32
elopioogra_: in his update from yesterday, mvo added a changelog entry for the upload. Should I do that?18:32
elopiowith my current dch, I get a version that's lower than his.18:33
ogra_then it wont be pulled in18:34
ogra_you need a higher version18:34
ogra_(livecd-rootfs is dumb ... it just pulls the latest available versions)18:35
jdstrandkgunn: so, I installed it and rebooted and see this in the logs: http://paste.ubuntu.com/15474097/18:43
jdstrandkgunn: I'm using 'vmvga': http://paste.ubuntu.com/15474110/18:44
jdstrandthis is the same setup I would use to run unity718:44
elopioogra_: no, that makes sense. But what's the trick to get a version number like 1.7.3+20160322ubuntu1~ppa3 automatically?18:44
elopioI'm not sure how to increase the date of the previous entry.18:45
kgunnjdstrand: hmmm....fails on the vt arg18:46
jdstrandkgunn: this is on 16.04. is there a mir snap in the store for 15.04?18:46
jdstrandI can try there too18:46
kgunnjdstrand: i took down the 15.04 one i think18:47
jdstrandthat would explain why I couldn't snappy search it18:47
jdstrandis https://developer.ubuntu.com/en/snappy/guides/mir-snaps/ up to date?18:47
kgunnjdstrand: yes18:47
kgunnjdstrand: and i just now tested against snapcraft2.518:48
kgunnand it worked fine18:48
jdstrandkgunn: do you have a vm where this works? if so, can you paste 'virsh dumpxml <vmname>'18:48
jdstrandkgunn: I downloaded the mir from the store. should I be using snapcraft like in the instructions?18:49
kgunnjdstrand: nah, that snap should work fine18:49
kgunnjdstrand: i'm using Virtual Machine Manager18:49
kgunnwhich18:49
jdstrandyeah that's fine18:49
jdstrandwhat is the name of the vm?18:49
jdstrandin a terminal you should be able to do 'virsh list --all'18:50
jdstrandto see the names18:50
ogra_elopio, you dont want to increase the date but turn ubuntu1 to ubuntu218:50
jdstrandthen if you could paste 'virsh dumpxml <your vm name>' that would be great18:50
ogra_(that is what will effectively land in the archive)18:50
elopioogra_: that's easy, with -i. But that would still be less than the one mvo uploaded. Should I delete that deb?18:51
jdstrandkgunn: ^18:51
kgunnjdstrand: https://pastebin.canonical.com/152534/18:51
jdstrandah qxl18:52
jdstrandkgunn: thanks!18:52
elopioogra_: also I can't combine -i, with the --local to add the prefix ppa# that mvo told me to use.18:52
elopiothese tools...18:52
jdstrandkgunn: ok, progress. a black screen :)18:56
* jdstrand builds the mir client snap18:57
kgunn;)19:02
jdstrandI have clocks :)19:08
jdstrandkgunn: ^19:08
kgunni assumed you ooo'd and awww'd19:09
jdstrandkgunn: curious if it makes sense to upload mir-client-demo or soemthing19:09
ogra_elopio, well, you could assemble the version externally and just pass it to dch19:09
jdstrandkgunn: it is very cool-- I did! :)19:09
elopioogra_: yes, I went that way. Failed to build on armhf, I'm reporting a bug.19:13
ogra_elopio, fun19:13
* ogra_ calls it a day19:21
elopiohave a good night ogra_!19:25
ogra_and you a good rest of the day :)19:25
kyrofaelopio, is sergio off for a bit?20:10
elopiokyrofa: I didn't notice when he left. Maybe lunch?20:11
kyrofaelopio, he pinged out a bit ago. Yeah, maybe20:12
elopiokyrofa: I'm about to take a lunch break too. I quickly saw your clean branch, which looks awesome20:13
elopioI'll look at it all when I'm back.20:14
kyrofaelopio, oh good! Excellent, thank you :) . I've got some more ready when that one lands20:14
elopiokyrofa: this state, partial clean and resume look nice. What do you think about putting some integration tests in there?20:14
kyrofaelopio, yeah I'll do that when things are actually cleaned (that PR is just preliminary stuff)20:15
elopiogreat. To be clear, I'm not asking for this branch :)20:16
elopiowe can define some important use cases, and make sure that the binaries work for them with tests. Maybe leave that for next week, and I'll help you writing some.20:16
kyrofaSounds good20:24
ezraholm50_TAMhey guys, could anyone help me get webmin running on snappy?20:31
genii!webmin20:37
ubottuwebmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system.20:37
genii...so probably not20:38
ezraholm50_TAMah great... thnx for the heads up20:45
ezraholm50_TAManyway, aside from snap, it works great on my 5 ubuntu 14 to 16 systems20:45
ezraholm50_TAMi just need to easily figure out some stuff that i would rather do with some kind of a UI then on cmd line20:46
ezraholm50_TAMchecking out deb2snap right now20:46
roadmris there a way to get "snapcraft snap" to rebuild if files changed? Right now I have to rm -rf parts stage which feels super kludgy20:57
kyrofaroadmr, indeed, it's yucky. Unfortunately not just yet, but it's in progress21:04
roadmrkyrofa: thanks :) I can do it that way in the meanwhile, no problem21:10
roadmris there a way to run a command at snap installation time? use case is e.g. a custom ssh server for which I'd like to generate keys when the snap is installed (rather than shipping the same set of keys to every user :)21:13
kyrofaroadmr, no, but you can check to see if keys already exist, and if not, generate them21:15
roadmrkyrofa: that works! thanks :)21:25
=== retrack is now known as Guest61958

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