[08:00] o/ [08:01] * zyga-ubuntu feels useless today [08:01] 30C since early morning [08:28] ogra_: Hi. Still trying to get splash screen working. I managed to load it to the RAM. Can read it with bmp info as well. bmp display though does nothing :-( I put image with wrong color depth initially and bmp display actually displayed that in the error message. But after fixing the image it does not complain about anything but does not show anything on the screen as well. Any ideas? [08:48] sborovkov, not really, no === ogra_ is now known as ogra [08:51] ogra_: oh well I will try using $splashscreen variable as well instead of bmp display. I am not sure how .env.in works - can I write this splashimage=fastload .... ; 0x100000; Or should I be adding loading the bmp into the memory to the bootcmd? [08:52] i think you just want the var set (afaik u-boot actually checks for it) [09:00] ogra: yeah but I need the code to load image into the memory somewhere [09:02] sure, add some code that checks if "bmp info $splashimage" returns something ... if not, run a script to fatload ... [09:03] ogra: what code is actually ran when it's starting? I was adding load to the bootcmd. Not sure if that might be too late? [09:04] i'd add it to loadfiles [09:12] splashimage=0x02000000 ... loadsplashimage=fatload ${devtype} ${devnum}:${bootpart} $splashimage /screenly.bmp && bmp info $splashimage; Meh. This code executes. Show info about image. But splash image is never displayed. [09:13] ty adding $filesize to the fatload catt [09:13] *try [09:19] no, that gives absolutely same result. Displays that the same amount of bytes was read. [09:24] where do you call bmp disaply btw ? [09:25] *display [09:28] ogra: I tried adding it to the bootcmd, and then to loadfiles. At the end of that command [09:29] also I actually have that splashimage and splashsize variables defined... [09:34] zyga-ubuntu: Chipaca: hi, I merged the use of numeric http statutes last night [09:39] fgimenez: ping [09:39] pedronis: thank you [09:39] * zyga-ubuntu is exhausted by the heat [09:40] hey morphis === koza|away is now known as koza [09:40] fgimenez: if you want you can give https://github.com/morphis/snapd/tree/f/raspbian-as-external a try now [09:41] morphis: sure! will let you know how it goes [09:41] SPREAD_TRUST_TEST_KEYS=false SPREAD_SRU_VALIDATION=1 spread -v -resend -reuse external:raspbian-8-arm-32:tests/main/ still gives a few test failures when using that branch but most are because the branch is based on lastest master and we're testing 2.26.4 [09:41] rebasing on release/2.26 isn't that easy as it misses all the pkgdb changes [09:46] Bug #1632388 changed: console-conf wifi only setup on pi3 Ubuntu Core image not possible [09:50] morphis: ok thanks, SPREAD_SRU_VALIDATION is for forcing snapd to be installed from "-proposed"? if that's the case maybe we could rename it [09:50] fgimenez: yeah, I abusing it a bit here [09:51] morphis: np :) [09:51] fgimenez: https://github.com/snapcore/snapd/compare/master...morphis:f/raspbian-as-external#diff-6eea9b76e2bf27f60519f7b5c98333c9R222 [09:53] fgimenez: but yeah, renaming might be good [09:54] morphis: aha IMO makes sense if we rename SRU_VALIDATION to SNAPD_FROM_{ARCHIVE,PROPOSED,..} or something, if not the SRU implies ubuntu [09:54] morphis: yep [09:54] +1 [11:00] * zyga-ubuntu -> coffee [11:15] re === elfgoh_ is now known as elfgoh [11:58] * Chipaca ~> lunch [12:14] morphis: btw i'm looking into the errors of the suite running against staging on opensuse it turns out that this error http://paste.ubuntu.com/24872100/ is because of wrong quoting, go's version is fine [12:14] ah! [12:14] sounds like a double quote [12:14] morphis: yes, quoting all the string and evaluating it works, now i'm getting http://paste.ubuntu.com/24872106/ maybe the binary wasn't built with the testing keys, will dig further [12:16] fgimenez: that smells like you miss https://github.com/snapcore/snapd/pull/3450 [12:16] PR snapd#3450: packaging/{opensuse,fedora}: allow package build with testkeys included [12:16] need to fix these PRs later today [12:17] morphis: yes! exactly that :) thx [12:23] PR snapd#3487 opened: tests: reenable help test on ubuntu and debian systems [12:35] PR snapd#3488 opened: tests: prevent quoting error on opensuse [12:44] morphis: about the execution on raspbian it looks like external:raspbian-8-arm-32:tests/main/classic-ubuntu-core-transition makes the whole thing fail, it reinstalls the snapd package https://github.com/morphis/snapd/blob/f/raspbian-as-external/tests/main/classic-ubuntu-core-transition/task.yaml#L33 and seems to fail because of a missing "--force-yes" http://paste.ubuntu.com/24872205/ [12:45] morphis: other than that, and considering what you mentioned about release/2.26 and master, things look good http://paste.ubuntu.com/24872209/ [12:47] sorry the link to where snapd is installed without --force-yes is https://github.com/morphis/snapd/blob/f/raspbian-as-external/tests/main/classic-ubuntu-core-transition/task.yaml#L34 [13:03] fgimenez: standup? [13:03] Chipaca: sure omw! [13:05] fgimenez: yeah have similar results [13:05] fgimenez: hm, force-yes doesn't exist on raspbian? [13:05] morphis: yes, i needed it to install snapd before executing the suite [13:05] yes [13:06] did the same, is that how SRU_VALIDATION is supposed to work? [13:06] maybe we can tweak the code a bit more to install snapd if missed from either propose (for ubuntu) or just the archive [13:14] fgimenez: hm, apt-get on raspbian has support for -f -y [13:20] morphis: mm from the log http://paste.ubuntu.com/24872205/ we are sending just "apt install -y snapd" in distro_install_build_snapd, probably from https://github.com/morphis/snapd/blob/f/raspbian-as-external/tests/lib/pkgdb.sh#L220, probably adding -f there should fix it [13:22] ah [13:22] let me add that [13:56] Hi. I just installed snappy core on raspberry pi 3 and followed all the steps to install the demo snaps like "hello". However, after installation I assumed that just typing in the name of the snap is the command to invoke the snap. However, I get the following error: -bash: hello: command not found [13:56] Have I missed out on something while setting up the environment? [14:07] take a look in /snap/bin [14:07] is there a "hello" ? [14:09] snaps can ship multiple binaries ... even daemons, so "typing in the name of the snap is the command to invoke the snap" is often enough not true [14:14] guys, is there an ETA for snapcraft 2.30/2.31 to land in xenial? [14:14] kyrofa, ^^^ [14:31] ogra: I get an error saying that such a directory does not exit :| [14:31] exist* [14:32] are you sure you are on ubuntu core ? [14:32] :) [14:33] Question: http:/v2/system-info gives me snap-mount-dir (ie. "/snap"). Is there an API that returns "/var/lib/snapd/snaps"? Or is it safe to assume that folder always exists? [14:37] ogra: I logged into the pi that running on core from my notebook and installed the snap. So I believe I am on the core? [14:38] Vamsi, which core image did you install = [14:38] ? [14:38] http://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-pi3.img.xz [14:38] this one [14:39] well, that definitely has /snap [14:39] (and should also have /snap/bin) === cory_fu_ is now known as cory_fu [14:40] ogra: What happens when I am in the devmode? [14:40] you mean if you installed a snap with --devmode ? [14:40] yup [14:41] then the security oprions for the binaries get turned off [14:41] *options [14:41] What I was doing was that I was following the "get-started" instructions as given in the link: https://developer.ubuntu.com/core/get-started/developer-setup [14:42] ogra@sabrelite:~$ snap install hello [14:42] hello 2.10 from 'canonical' installed [14:42] ogra@sabrelite:~$ ls /snap/bin/hello [14:42] /snap/bin/hello [14:43] that should be identical on all ubuntu core installs ... [14:44] ogra: Are both /snap and /var/lib/snapd/ guaranteed on all systems with snapd? [14:45] So here it was mentioned that i could have a development environment right on the pi itself and thus proceeded to install the classic environment... After which my host changed from vamsi3012@localhost to (classic)vamsi3012@localhost. [14:45] kalikiana_, not sure on classic systems ... (especially on non-ubuntu ones) ... thats a question for the cross-distro guys i guess [14:45] Vamsi, AH! [14:45] Vamsi, ok, then you are in the classic environment [14:45] ogra: there is no bin folder :| [14:45] ogra: Any suggestion whom to ask? [14:45] Vamsi, i dont think you can see any snap stuff in there [14:45] yes. the classic environment [14:46] kalikiana_, try morphis or zyga-ubuntu [14:46] Thanks! [14:46] Vamsi, right, that pretends to be a classic ubuntu installation (like ubuntu-server) and has no direct access to /snap ... you need to exit ... then you can execute snaps [14:47] oh okay. And... um... where can I find a reference to these commands? I'd like to build my knowledge base on that. [14:47] Vamsi, this classic env is really only for building ... to install and run a snap you have built in there you should exit (ctrl-d) and do all snap stuff from the outside [14:47] oh okay. Thanks :) [14:48] (also typing "exit" and hitting enter works) [14:48] * Chipaca walks in on ogra talking dirty again [14:48] haha [14:49] * ogra throws little orangepi-zero's at Chipaca [14:49] So just for to clarify my understanding: Classic environment to develop snaps on the host itself. And exiting this then enbles you to install the snap you just developed? [14:49] yeah [14:49] * Chipaca uses a SoundBlaster 16 ISA card as a tennis racket to return it [14:50] with the --dangerous option [14:50] (to tell the system it is not from the store (i.e. sideloaded)) [14:50] oh okay. [14:52] ogra: I am so used to developing on an IDE that I feel an idiot on the command line. Is there an IDE for developing snaps :| :| [14:53] i dont think so ... [14:53] i mean ... snaps are just a package format ... use your normal IDE and then copy the tree to the board and call snapcraft there ... or some such [14:56] ppisati, it's in proposed, testing looks good as far as I'm aware (though elopio will know more). I think it'll land soon [14:57] ppisati: the SRU is ready, but they don't land things on Friday. So Monday. [14:57] kalikiana_, I don't think /snap is guaranteed at least... I don't think fedora uses it [14:57] they could just wrok through the weekend ... then they could land things on friday too :P [14:58] But I think that's less of a concern for us right now, since snapcraft won't run there as a snap anyway [14:58] ogra: hey, I grabbed https://code.launchpad.net/~ogra/+junk/linux-generic-bbb and am trying to build a local kernel in a classic chroot on bbb. is that expected to work? [14:58] jdstrand, no idea, never tried :) [14:59] (thanks for pinging me ogra, I would have missed that) [14:59] jdstrand, it creates a chroot (or even two stacked ones) [14:59] that might not work inside classic [14:59] ogra: basically, I'm trying to simply go from linux-generic deb that I've got from somewhere else and making a snap [15:00] jdstrand, hah, funny coincidence ... i'm just trying the same with a patched deb to add allwinner support [15:00] ogra: the chroot operation and the bind mounts work, but I don't know everything that is needed [15:00] though i kept the kernel side for the WE ... i'm just done with the gadget [15:00] (as in, I don't know that the classic chroot has everything in it that the makefile is expecting in the chroot it uses [15:01] jdstrand, well, http://bazaar.launchpad.net/~snappy-dev/kernel-snap-makefile/trunk/view/head:/Makefile is what it runs [15:02] the "all:" target just deboostraps a chroot and installs the debs in there [15:02] elopio: cool, ta [15:02] kyrofa: ^ [15:02] ogra: yeah, quite familiar with the script at this point (been playing with it since yesterday :) [15:03] but the one you linked to is slightly different than your junk bzr branch I mentioned, so perhaps I should try that [15:03] well, if chroot and the mounting of /proc and /sys work i dont see why classic would get in your way [15:03] jdstrand, oh, right ... we split the Makefile at some point and only kept the snapcraft.yaml [15:04] but there shouldnt be huge differences ... [15:05] jdstrand, you're building a kernel on a bbb? Multi-day waitfest? [15:05] kyrofa: building as in extracting a deb and snapping that [15:05] Oh, well : [15:05] Nevermind :P [15:06] I was impressed with your resolve [15:06] jdstrand, oh ... note that all these Makefiles assume the image PPA to be enabled on the host [15:07] jdstrand, you want to add that to your classic env [15:07] ogra: curious if you would expect this makefile with snapcraft run on classic snap rpi2 to produce a snap for bbb [15:07] else you dont get the initrd scripts [15:07] ogra: oohhh!!! [15:07] that's probably it [15:07] the snap LP builds have that set by default. i totally forgot about that [15:07] I could boot a kernel but it would drop into the initramfs [15:07] yeah [15:07] missing the core initrd scripts [15:08] (or using a very old version at least) [15:08] ogra: so classic or the chroot that the makefile generates needs it? [15:08] cp /etc/apt/sources.list chroot/etc/apt/sources.list [15:08] ;) [15:09] the outer env needs it in the sources.list [15:09] the Makefile calls the above cp [15:09] right, but I made some modifications to the makefile to add to the chrrot's sources.list [15:10] just wondering if that is enough [15:10] (i should perhaps adjust the makefile to call add-apt-repository instead [15:10] ) [15:10] (instead of blindly assuming it is set in sources.list) [15:10] ogra: ok, this ppa: https://launchpad.net/~snappy-dev/+archive/ubuntu/image/+packages [15:11] yep [15:11] ok. I'm cautiously optimistic now :) [15:11] ogra: thanks! [15:11] good luck ... :) [15:11] (i'm around for any additional questions ...) [15:12] ogra: I thought you were off yesterday and today. I saw you chatting here so thought I'd ask. sorry if you are off and just lurking [15:12] i was off yesterday, yeah [15:12] not today though [15:13] ok, good. glad I didn't bother you :) [15:13] :) [15:16] GRR ... so the allwinner u-boot binaries can only be built with gcc-6 ... and indeed we dont have a gcc-6-cross backport in xenial [15:16] this will result in awful snapcraft.yaml hackery to create an artful chroot to do the build in :( [15:17] (and indeded all boards i want are also only supported in 4.11+ ... more hackery :/ ) [15:18] (on the kernel side that is) [15:48] kyrofa, elopio: would you mind shedding some light on what the next steps for the ruby plugin might be? I've thought of some things to test and wanted to run those by you guys also. [15:50] bdx: well, next step from my point of view is to fill those integration tests :) That will give us a clear idea of what works. [15:50] I want to test for the existence of the compiled binary files: erb, gem, irb, rake, rdoc, ri, and ruby [15:50] I'll give it a try today with my travis test subject. [15:51] following the build step, I feel like the thing I want to test is "do the things I built exist?", right? [15:51] ok [15:51] right. [15:52] also, that only those and nothing else is left in the install directory. [15:53] ok [16:24] PR snapd#3489 opened: tests: add bluetooth-control interface test [18:13] ogra: hey, well, I don't have a kernel yet with the new Makefile, but I think I'm close. [18:13] ogra: this is what I see in the classic chroot: http://paste.ubuntu.com/24874108/ [18:14] ogra: before I added to ENV := ... FLASH_KERNEL_SKIP=yes [18:14] ogra: so I am trying that again. hopefully with that I'll get a snap and with the ppa initramfs tool I'll get a bootable system [18:15] ogra: is FLASH_KERNEL_SKIP=yes safe? it seemed to have the same end result (though not the same mechanism) as what I saw in the buildd logs for your linux-generic-bbb [18:16] I'm guessing it is. we don't want to flash anything, and I did have a booting kernel before (it was the initramfs that was the problem) [18:17] ogra: if you are interested for Makefile improvements, I did: [18:17] ENV := DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANG=C FLASH_KERNEL_SKIP=yes [18:17] and in 'all: [18:17] echo "deb http://ppa.launchpad.net/snappy-dev/image/ubuntu xenial main" >>chroot/etc/apt/sources.list [18:17] $(ENV) chroot chroot apt-key adv --recv-key --keyserver keyserver.ubuntu.com 78E1918602959B9C59103100F1831DDAFC42E99D === mup_ is now known as mup === mup_ is now known as mup [20:40] ogra: btw, that FLASH_KERNEL_SKIP=yes with the initramfs from the image ppa did the trick. thanks for your help === grumble is now known as Guest77353 === rumble is now known as grumble === mup_ is now known as mup === JanC is now known as Guest55726 === JanC_ is now known as JanC [21:51] Hey guys, anyone else getting failures trying to install the core snap? http://bit.ly/2syZ2Rp [23:03] PR snapcraft#1367 opened: catkin plugin: add support for ROS Lunar === chihchunl is now known as chihchun === philroche_ is now known as philroche === ahayzen is now known as Guest24249 === Elleo__ is now known as Elleo