/srv/irclogs.ubuntu.com/2015/06/22/#snappy.txt

=== erkules_ is now known as erkules
=== Guest47071 is now known as pitti
=== pitti is now known as Guest48990
=== Guest48990 is now known as pitti_
dholbachgood morning06:46
fgimenezgood morning06:58
rickspencer3mvo, https://bugs.launchpad.net/snappy/+bug/146572408:06
ubottuUbuntu bug 1465724 in Snappy "net_admin apparmor denial when using Go" [Undecided,New]08:06
=== davmor2_ is now known as davmor2
JamesTaitGood morning all; happy Monday and happy Onion Rings Day! 😃09:00
=== rbasak_ is now known as rbasak
* ogra_ grumbles at lool for including HTML tables in mails 10:25
loolthe joys of HTML emails10:25
zygaogra_: it's the company 2.010:26
zygaogra_: without shell10:26
zygaogra_: with html10:26
zygaogra_: about the removal of {dpkg,apt,bash,python}10:26
zygaogra_: I'd love to have a roadmap for that10:26
ogra_zyga, and without answering inline in emails :P10:26
zygaogra_: for people like me10:26
zygaogra_: to know when something must be ready on my side10:26
zygaogra_: so that my app continues to work10:26
zygaogra_: and I think for everyone in the dev community10:26
ogra_zyga, simpoly dont make use of them :P10:26
zygaogra_: as any time you remove stuff from the image10:26
zygaogra_: you break compatiblity10:26
ogra_then you wont be bitten by their removal10:27
zygaogra_: that's unrealistic, go rewrite my software for me10:27
ogra_no we dont10:27
zygaogra_: sure, that's just reality10:27
ogra_we never guranteed compatibility beyond the snappy command10:27
ogra_no it is not10:27
zygaogra_: well, then snappy is a lousy thing to target10:27
zygaogra_: it's worse than docker10:27
zygaogra_: just bring your own distro10:27
ogra_reality ios that the core system is abused as a dependency where it shouldnt10:27
zygaogra_: well, regardless of what you think about what is in the core and what can be used10:28
zygaogra_: if the core grants you nothing10:28
zygaogra_: then it's not a core10:28
ogra_it doesnt10:28
zygaogra_: it's not a thing at all10:28
ogra_it is enough OS to boot and to run the snappy command ... that is all it is10:28
zygaogra_: great, who wants that?10:28
ogra_and thats all we promise10:28
* zyga is grumpy about that10:29
ogra_thats the design of snppy10:29
ogra_*snappy10:29
ogra_it hasnt been described differently anywhere10:29
zygaogra_: this is like putting people in an empty room, not giving them any tools to fill the room and say, 'enjoy'10:29
ogra_zyga, that is why your snap should include everything it needs, a snap needs to be self contained10:29
zygaogra_: IMO we should have started with the empty room and added stuff, we started with a room with some things labelled "don't touch" (but nobody stopped you if you did)10:30
ogra_not dependencies ... not even on core10:30
zygaogra_: microsoft and apple learned the hard way that's not the way to do it10:30
* zyga feels that snappy is not useful withouy stuff like snapcraft being done on day one10:30
ogra_we couldnt start with the empty room ... simply because we use legacy tools in core that we cant immediately replace10:30
ogra_i.e. system-image10:30
zygaogra_: ha, but you ask everyone to replace theirs10:30
zygaogra_: I see what you do10:30
zygaogra_: but it's hard to work in this world10:31
ogra_we never and nowhere asked anyone to add a dependency on core ... quite the opposite10:31
zygaogra_: the problem is in wording10:31
zygaogra_: show me a link on .ubuntu.com that lists what the core provides10:31
zygaogra_: and a big warning that says everything else is not supported10:31
ogra_http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/wily-preinstalled-core-armhf.manifest10:32
zygaogra_: and that {insert name of big thing people see and assume it's there} will go away10:32
zygaogra_: be serious10:32
ogra_nothing is supported10:32
zygaogra_: I want high-level thing10:32
zygaogra_: on ubuntu.com, in html10:32
zygaogra_: with explanation10:32
zygaogra_: nobody understands snappy because of failure of communication10:32
ogra_i am serious, that is the list of bits core provides ... but that doesnt mean you should depend on anything in there ... this isnt dpkg10:32
zygaogra_: of what snappy is and isnt10:32
zygaogra_: and each time you ship a new core that has one bit less, something that works now will break -- and that's fine, it's just a failure to communicate this correctly10:33
ogra_if it breaks the creator of that "something else" made a mistake ...10:34
zygaogra_: and all those issues just contribute to the fact that snappy is hard to taget today, because of misunderstandings and missing tooling10:34
ogra_since ... again, a snap needs to be self contained10:34
zygaogra_: no, we're all people, nobody cares, if to make something great you need to make it great for developers and all the other people, or nobody will care10:34
zygaogra_: is libc assumed?10:34
zygaogra_: is this written down anywhere? any design doc? a white paper? anything that I can read apart from being grumpy to collegues?10:35
zyga(which I'd much much rather not do)10:35
ogra_it surely is ... it is the fundamental design principle of snappy10:36
ogra_(now dont ask me where in these 100s of google docs ... )10:36
zygaso how can anyone write a good snap todaty10:37
zygaif we as a company failed to communicate this clearly10:37
ogra_by including everything you need for execution inside your snap10:38
zygaI shouldn't be doing this, you are not at fault here10:38
ogra_well, i'm promoting it ... and on purpose (and i knew that there will be resistance but i want to get peoples minds straight before the world falls apart because we remove something)10:39
zygaogra_: don't mistake resistance10:39
zygaogra_: with walking blindfolded over a minefield10:39
zygaogra_: I'm forced to deliver somthing onto a platform I don't fully understand, that is changing, that has no tooling, that is totally barren (by design) -- this is frustrating as a developer experience10:40
zygaogra_: it seems to me that the best way to do what I want is to just ship a debian chroot until some form of better tooling exists, maybe, someday10:40
ogra_zyga, well, one reason for me working on py-snapper (or node-snapper) or ted and mike working on snapcraft, is to solve that ... we are just not there yet with the tooling10:41
ogra_you are a pre-early-adopter here ...10:41
ogra_you cant ship a debian chroot ... i dont think the security policy will allow chrooting ... you would have to depend on a container framework like docker or lxc10:42
zygaogra_: and one that has a large app to port10:42
zygaogra_: neither py-snapper nor anything like that will help me as my app is just more complex than that and relies on a zoo of tools10:43
ogra_then you need to ship that zoo10:43
zygaogra_: in docker?10:43
ogra_by using deb2snap or whatnot10:43
ogra_or in docker10:43
zygaogra_: deb2snap ~30-50 packages10:43
zygaogra_: into one huge snap (if that's possible by deb2snap)10:44
zygaogra_: then path everything to understand new executable names10:44
ogra_i think it is, AFIK deb2snap can take a package list10:44
ogra_and it mangles the executable names, preload and library paths for you10:44
sergiusensogra_: zyga 15.04 will not break; rolling on the other hand...10:52
ogra_right10:53
ogra_but even if it will not break it is wrong to depend on core even there :)10:53
ogra_sergiusens, btw, putting files into /system/boot/uboot does indeed not work since we have a-b mounted on top :)10:55
sergiusensogra_: if you are going to put it in /system/boot/uboot maybe just target the file to no where and it will land there (but there would be no a/b logic for these)10:57
sergiusensogra_: you wont ever be able to get anything in the store that relies on dpkg at least10:58
ogra_well, i'm pondering to just ship it in /lib/modules somewhere10:58
ogra_but we should have some plan for changelogs, configs and licenses10:59
ogra_sergiusens, bug 146747411:10
ubottubug 1467474 in Snappy "hardware.yaml should allow including changelog, kernel-config and license files" [Undecided,New] https://launchpad.net/bugs/146747411:10
=== pitti_ is now known as pitti
=== pitti is now known as Guest84030
=== Guest84030 is now known as pitti_
zygaogra_: can I bug you for a moment about snappy and wifi?12:44
zygaogra_: from what you said earlier12:44
zygaogra_: it seems that I need to package things like wpa supplicant and all the IP tools12:45
zygaogra_: is that correct?12:45
zygaogra_: the goal is to make an app that can use wifi12:45
zygaogra_: (and to be precise, for certification, what kind of base feature set should I test for when the hardware says that wifi is supported)12:47
ogra_zyga, wpa_supplicant is shipped (hardware enablement is something that goes into core indeed)12:48
ogra_(at least generic bits of it )12:48
zygaogra_: ah, so what kind of hardware enablement for wifi can any app rely on?12:48
ogra_and you should have all tools needed to make a wlan come up12:48
zygaogra_: or networking in general, what kind of IP tools do we plan on supporting12:48
zygaogra_: ok, that's good to know12:48
zygaogra_: can you tell me how this is all supposed to work according to you12:49
ogra_though this should not be done by your snap i guess ... but rather via the owem snap in some way12:49
ogra_*oem12:49
zygaogra_: e.g. at which level do apps come in12:49
zygaogra_: and at which level should we test12:49
zygaogra_: the oem snap ships kernel image, modules and support bits, correct? can it also ship commands/scripts?12:50
ogra_no, it ships bootloader and dtb files (and their overlays)12:50
ogra_kernel is in a separate part12:50
zygaogra_: ah, so everything goes to os snap?12:50
ogra_(currently the device tarball)12:50
zygaogra_: note: please separate current limitations12:50
zygaogra_: from the design12:51
ogra_(soon to be its own snap too)12:51
zygaogra_: as the cert should work beyond 15.0412:51
zygaogra_: (at least without major changes)12:51
zygaogra_: hmm, wait, new snap? (I though minimal system has three snaps: os + oem + gadget)12:51
ogra_so technically -> hardware enablement should happen inside the core image itself via the owm snap ... wifi configuration should happen via snappy config of the core snap i guess ... your app snap should only make use of the preconfigured hardware then12:52
ogra_*oem12:52
ogra_(whats up with me today not being able to type oem)12:52
zygaogra_: :D12:53
zygaogra_: ok, so snappy config (yaml) is how apps can reconfigure network? (I didn't know about that part)12:53
ogra_now there are some grey areas ... where your app snap needs to configure hardware ... (set the default resolution for a webcam that you need to set via echoing into a /sysfs node or some such ... ) not sure how that should be handled12:54
zygaogra_: it depends on a product, if I wanted to build a STB device on top of snappy I'd have to handle network setup12:55
ogra_i havent played personally with our hardware access story, i know some bits of that landed though and enable you to use it12:55
zygaogra_: (though perhaps in a private framework for network that my app could talk to)12:55
zygaogra_: for certification, I'm trying to see what's the low level stuff we need to test12:55
ogra_yeah, something like that12:55
zygaogra_: and verify through the programme12:55
zygaogra_: when we say "wifi on $product works" what did we test?12:55
zygaogra_: and what did we specifically left out?12:56
ogra_the prob here is that all our implementations are still rather theoretic ... while they are there we dont have much code beyond simple examples using them yet12:56
zygaogra_: in the past I assumed we'd be testing at the framework level but that's no longer true12:56
ogra_there is a webcam example that might give some insight12:56
zygaogra_: so what would be your advice, to wait and not create the programme?12:56
zygaogra_: or to specify $something and just go with it for 15.0412:56
ogra_no, to challenge the current implementation by trying to implement it with whats there12:56
zygaogra_: webcams are going to be under generic USB host capability, along with lots of other products12:57
ogra_(would be my way)12:57
ogra_to find the flaws and issues with what we created and fix them12:57
zygaogra_: ok, if that's what you say then this is important feedback, so far we've been working on different assumptions12:57
zygaogra_: as in, come up with requirements and start writing tests right now12:57
zyga(btw, I used deb2snap for plainbox, got 154MB archive, didn't test it yet)12:58
zyga(and it looks quite like a chroot I was thinking about earlier)12:58
ogra_yeah, for now snaps will still be rather big :)12:58
ogra_deduplication on all levels will help with that some day12:58
zygaogra_: $now + 1 ;-)12:59
ogra_(but thats not there yet))12:59
zygaogra_: who's working on the hardware design side of snap12:59
ogra_until then i fear we have to live with giantic snaps on disk :)12:59
ogra_well, there were some mails from jdstrand_ about that12:59
zygaon the mailing list?12:59
ogra_yep13:01
=== dpm_ is now known as dpm
seb128slangasek, you around to help me with some uefi snappy personal boot issues? ;-)13:38
ogra_about time that x86 switches to uboot :P13:39
seb128ahah13:39
ogra_all these UEFI issues all the time13:39
seb128slangasek, the bios lists the usb stick correctly but selecting it displays a "error: file "/boot/" not found" then gives a grub shell rather that the boot menu13:43
elopiogood morning.14:09
tedgMorning elopio!14:11
elopiohey tedg!14:15
elopiofgimenez: lets skip our call today. I have a good bunch of emails to read.14:16
fgimenezhi elopio, ok14:17
fgimenezelopio, any luck with the cross compilation?14:45
elopiofgimenez: I've just had a successful build, a couple of minutes ago.14:46
elopioChipaca: ^ it seems it was actually a python problem, that maybe barry fixed.14:46
fgimenezelopio, great! should it work with the command we were using?14:47
elopiofgimenez: oh, wait, no, I've just run it in amd, not cross compile.14:48
* elopio tries again.14:48
Chipacaelopio: i'm shocked. will need to sit down for a bit.14:49
barryelopio, Chipaca hi14:49
elopiofgimenez: barry: Chipaca: now I get a problem from golang-go: http://paste.ubuntu.com/11757173/14:52
Chipacabarry: hi14:53
Chipacaelopio: could you pastebin the postinst?14:53
elopioChipaca: http://paste.ubuntu.com/11757206/14:59
=== pitti_ is now known as pitti
=== pitti is now known as Guest85442
zygaogra_: I'm on image .3, I see there's wpa_supplicant there, there's no iw* tools though15:04
zygaogra_: how would one, in practice, get wifi to work?15:04
ogra_i think there si some blog post about how thats done15:06
* ogra_ has never needed wifi yet15:06
elopioChipaca: https://www.goodreads.com/book/show/25676397-designing-connected-products15:08
=== Guest85442 is now known as pitti_
zygaogra_: any links? I'm looking around but found only similar questions15:12
ogra_i think rickspencer3 had one recently15:12
ogra_(thats still from before we added wpa_suppl. to the image though, so it has some ill instructions about making the image writable etc ... the second half should just work though)15:13
zygaogra_: wpa_supplicant is there but perhaps that's not enough (iwconfig is not there)15:14
ogra_what for aourl you need iwconfig ?15:14
ogra_*would15:14
ogra_tsk ..15:14
zygaogra_: not sure, probably to set the AP data15:14
ogra_you dump your wlan config into /e/n/i.d/ and thats it15:15
zygaogra_: interfaces?15:15
zygaogra_: to /etc/network/interfaces?15:15
ogra_there were discussions about moving away from /e/n/i to systemd's network manager tool15:15
ogra_interfaces.d ... but yeah15:15
zygaogra_: but that stuff relies on wireless-tools15:16
zygaogra_: and without it the hooks won't do anything15:16
zygaogra_: dpkg -L wireless-tools15:16
zygaogra_: grep | if-post-(up|down)15:16
* zyga cannot find anything on google about rick's blog post15:18
ogra_http://askubuntu.com/questions/585790/how-to-connect-wifi-network-from-raspberry-pi-2-snappy15:19
ogra_"then added this file to /etc/network/interfaces.d/wlan0"15:19
ogra_you should only need the bit below that line15:19
ogra_(as long as you have a kernel compliant device for which a module exists)15:20
zygathanks!, let's see15:20
ogra_(forst hit for "ubuntu snappy wireless" on google btw)15:21
zygaogra_: nothing like personalized searches ;-) I was googling for beaglebone wifi"15:22
zygaogra_: works, nice15:23
zygaogra_: thanks15:24
ogra_:)15:24
zygaogra_: one less cable for me to manage ^_^15:24
zygaI sent a question on how to snapify network-manager to the mailing list, looking forward to see how that could be done15:25
* elopio walks the dog before it rains.15:25
* zyga goes to the other desk to desolder some stuff15:26
* davmor2 sees that zyga is after more cables, or is that not what you are trying to say at all ;)15:28
zygadholbach: haha15:29
zygagrr15:29
zygadavmor2: ^^15:29
zygadavmor2: I want to solder angled headers for serial15:29
zygadavmor2: so that I can fit everything in the case I've got15:29
davmor2zyga: mad fool you ;)15:30
zygadavmor2: why? it's so cute when it fits in the case15:30
elopiodholbach: balloons: rsalveti said we want to make a new stable release next week.15:36
elopioso we need to start planning for the testing session by the end of this week or beginning of the next one.15:36
dholbachelopio, oooooh!15:37
elopioboth are ok for me. Any preference on your side?15:37
dholbachboth should be fine for me as well15:37
balloonsawesome!15:39
kyrofasergiusens, ping15:57
sergiusenskyrofa: pong15:59
sergiusensbbl pong then :-)16:00
kyrofasergiusens, haha, okay :)16:00
balloonselopio, so I was just going to ask you if we would see a release next week. Thanks for the heads up.16:03
balloonselopio, so we should probably have a quick chat later this week. Can we pick a date for the open house yet?16:05
fgimenezelopio, i've just sent you a catch up email, one more for your pile ;)16:06
elopiofgimenez: thanks, I'll check.16:06
popeyogra_: do we have a handy guide for putting a snappy image on an sd card to play with on a pi 2?16:07
ogra_popey, https://developer.ubuntu.com/en/snappy/start/#snappy-raspi216:08
elopioballoons: yes, we should meet again to get the final details. We can pick a date, and then tell the team to have an RC ready for that date.16:08
popeyta16:08
* balloons notes ogra_ points popey back to d.u.c16:10
balloonssuccess!16:10
ogra_:D16:10
fgimeneznice evening everyone o/16:11
balloonselopio, as soon as you have that date, let's meet. I'll get with Daniel tomorrow to kick off the announcements and line up the onair session, etc.. But that's all easier with a date :-)16:12
elopioballoons: a part of our team is sprinting this week, so I'm inclined to do it early next week.16:13
elopioif they are back on monday, monday sounds good. I'll ask.16:14
balloonselopio, ack.16:16
slangasekseb128: a grub shell rather than the boot menu, interesting.  show me the contents of the second partition on the USB stick?16:27
slangasekcertainly, "/boot" is not the expected path16:27
=== jdstrand_ is now known as jdstrand
seb128slangasek, http://paste.ubuntu.com/11757694/16:34
seb128slangasek, http://people.canonical.com/~seb128/video20150622_154059164.mp4 is the video from the bios/grub behaviour16:35
slangasekseb128: please pastebin the text of efi/boot/grub.cfg16:36
seb128slangasek,16:37
seb128set prefix=($root)'/EFI/ubuntu/grub'16:37
seb128configfile $prefix/grub.cfg16:37
seb128EFI/BOOT/grub.cfg yoy mean right?16:37
slangasekyes16:37
slangasekit's a fat partition, so it's the same thing ;)16:37
slangasekseb128: that all looks correct and expected, and does not explain the error message you got16:38
seb128slangasek, the grub cfg is http://paste.ubuntu.com/11757708/16:38
seb128well /EFI/ubuntu/grub/grub.cfg16:38
davmor2slangasek: calling things fat is so politically incorrect can't we call it larger ;)16:38
seb128slangasek, it looks like /boot isn't mounted/it doesn't find the kernel maybe?16:39
slangasekseb128: I supposed that's possible.  If you look at sda3 and sda4, do you have the expected /boot contents?16:40
seb128slangasek, hum, no16:44
seb128wth16:44
slangasekso I guess this error is also reproducible when booting under bios ;)16:45
seb128slangasek, /system-a/boot has 3.19.0-22 files16:45
seb128but the grub config has 3.19.0-10 entries16:45
seb128oh, no16:45
sergiusenskyrofa: pong16:45
seb128I'm reading the wrong section16:45
seb128slangasek, seems about right in fact, and that image boots fine under kvm16:46
seb128I'm going to try on a non uefi machine in a bit16:46
seb128slangasek, should I be able to ls /boot from grub?16:46
seb128I wonder if it fails to mount the fs for some reason16:46
seb128slangasek, brb, trying on my laptop which is not uefi/signed boot16:47
kyrofaHey sergiusens :)16:47
kyrofasergiusens, one of the things the snapp scope will eventually need to do is actually launch snaps16:48
kyrofasergiusens, but lots of snaps don't have the concept of "launching"16:48
kyrofasergiusens, we need a way to tell which snaps have a GUI, or can be launched16:49
sergiusenskyrofa: you want the equivalent of binaries I guess; I thought tvoss was going to be looking into that16:49
kyrofasergiusens, I'm really talking about the snappy API. I assume the store doesn't have a way to tell which snaps are launchable, but will that fit into the API when it does?16:49
sergiusenskyrofa: when there is a complete story for it, I guess it will, yes16:50
kyrofasergiusens, alright. I wasn't sure if that would somehow fit into the "type" field or what16:51
sergiusenskyrofa: well that's a question for the elders of the internet (aka snappy architects)16:51
sergiusenskyrofa: I don't see tvoss here, so maybe olli knows who's dealing with this16:52
kyrofasergiusens, alright, thanks :)17:00
seb128re17:04
seb128slangasek, that key works fine on my latitude17:04
seb128so the issue seems to be with the signed boot17:04
slangasekoh?  there's signed boot in place on the images already?17:06
seb128slangasek, well, I don't know, maybe it's not properly set up :p17:07
seb128slangasek, that image has grub-efi-amd64-signed installed17:08
seb128and is built with goget-u-t 0.23 so with working uefi17:09
seb128before that the boot menu of the inspiron wouldn't list the device17:09
seb128maybe it's just the uefi mode which is misconfigured...17:10
slangasekseb128: ok. so if it's booting the signed grub efi binary, one notable difference is that it will not load any modules from the disk but only use those that are built in.  So it's possible that there's something funny with your target device to cause it to require some module that's not currently part of the set we build into the signed grub17:18
ollikyrofa, from looking over the thread I think mvo (absent) or alecu can help17:20
ogra_olli, where is my armhf mir !!17:20
ogra_:)17:20
seb128slangasek, how can I tell if there is anything funny/get debug info?17:21
slangasekseb128: let me think about that17:25
slangasekseb128: I do see that this system has both bootx64.efi and grubx64.efi.  Is SecureBoot enabled on it?17:25
slangasekseb128: also, what seed are you building from?  I guess this isn't in ubuntu.wily yet17:26
kyrofaolli, alright, thank you17:28
seb128slangasek, "Is SecureBoot enabled on it?", how do I tell?17:38
seb128slangasek, seed is http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/ubuntu-touch.wily/view/head:/desktop17:39
seb128slangasek, you can see a build log on https://launchpadlibrarian.net/209683596/buildlog_ubuntu_wily_amd64_ubuntu-desktop-next_BUILDING.txt.gz17:39
slangasekseb128: checking whether secureboot is enabled: mv /efi/boot/bootx64.efi /efi/boot/bootx64.efi.bak; cp /efi/boot/grubx64.efi /efi/boot/bootx64.efi; try to boot it17:40
slangasekseb128: if you get a different error, you know secureboot is enabled :)17:41
seb128slangasek, if I do that the device stops being listed as a bootable one17:43
slangasekreally? that's interesting17:43
seb128that inspiron doesn't list non uefi (or non secure) devices17:43
seb128like back then I first tried to boot a x86 iso and it never listed the device as bootable17:44
slangasekwe haven't made it a non-uefi device.17:44
slangasek/efi/boot/bootx64.efi is the magic path17:44
slangasekand I would not expect the firmware to try to validate the signature on /efi/boot/bootx64.efi before it's been asked to boot it17:44
seb128bah17:44
seb128sorry, nautilus/fat fail17:45
seb128the rename didn't work17:45
seb128k, same issue17:45
seb128well "same" = file "/boot" not found17:46
slangasekok17:46
slangasekso that means secureboot is not enabled on the device, and the problem is not related to failure to load external modules17:46
seb128that's something ;-)17:47
slangasekyou probably want to debug this at the grub shell then17:47
slangasekstarting with 'ls ($root)'17:48
seb128(hd0,gpt2): filesystem is fat17:49
slangasekseb128: ok.  'ls $prefix' ?17:50
seb128error: disk `(hd0,gpt2' not found17:50
seb128ups17:51
seb128sorry17:51
seb128I had extra ()17:51
seb128error: file `/boot/grub' not found.17:52
seb128ls / -> efi/17:52
seb128not sure if /boot should exist/be mounted17:52
slangasekok that's interesting17:55
slangasekecho $prefix ?17:55
slangasekseb128: ^^17:55
seb128(hfb0,gpt2)/boot/grub17:56
seb128grr17:56
seb128(hd0,gpt2)/boot/grub17:56
slangasekok17:56
slangasekno idea where that came from, because that's not what was specified in /efi/boot/grub.cfg17:56
slangasekand your directory listing showed only two grub.cfg on the disk, and both of them appear to be correct17:57
slangasekand you said this same image booted successfully on your UEFI-capable laptop in non-secureboot mode?17:58
seb128no17:59
seb128I've 2 laptop, the inspiron which is uefi and the latitude which is older and non-uefi18:00
seb128it boots fine in kvm and on the latitude in non-uefi18:00
slangasekah.18:00
seb128it failes to boot on the inspiron18:00
seb128secure or not18:00
slangasekseb128: what's the precise version of ubuntu-device-flash you used for creating this image, and what commandline did you use? I'd like to try to reproduce locally18:13
seb128slangasek, I tried with the hack from http://paste.ubuntu.com/11700710/ but let me try again with trunk, proper support got merged18:14
seb128before you spend time debugging18:15
seb128though those changes are just partition size extended and using the correct channel18:15
seb128so it shouldn't make a difference18:15
seb128slangasek, command, the one on top of http://paste.ubuntu.com/11719625/18:17
slangasekseb128: ok - but I should wait for you to test the goget-ubuntu-touch trunk before I try to reproduce?18:21
seb128slangasek, as you want, I doubt it makes a difference18:23
seb128but I'm happy to try and let you know18:23
seb128it might be tomorrow morning for me though18:23
_4M8B_Hi guys , I was searching howto configure my keyboard layout in snappy but without results... Can somebody help ?18:23
seb128slangasek, $ strings EFI/BOOT/grubx64.efi | grep /boot18:24
seb128set prefix=($root)/boot/grub18:24
_4M8B_https://bugs.launchpad.net/snappy/+bug/1464944?comments=all -- seems to have same issue18:25
ubottuUbuntu bug 1464944 in Snappy "no way to configure keyboard layout" [Wishlist,Triaged]18:25
seb128unsure where that comes from though18:25
_4M8B_ah ok18:25
_4M8B_I'll wait thanks18:27
=== Jordan_U_ is now known as Jordan_U
slangasekseb128: well, one thing I've confirmed, that grubx64.efi is not the grubx64.efi from the grub-efi-amd64-signed package.19:23
slangasek$ strings /usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed |grep prefix=19:23
slangasek$19:23
slangasekfor both wily and vivid19:23
seb128slangasek, do you get the same issue?19:51
seb128slangasek, do you have any idea where the grubx64.efi is coming from then?19:51
slangasekseb128: I haven't tried to reproduce it yet, just got udf built from trunk19:52
slangasekseb128: the grubx64.efi is being created by grub-install at udf time19:52
=== nessita_ is now known as nessita
slangasek(apparently with wrong options)19:55
slangasekseb128: I've just run the command from http://paste.ubuntu.com/11719625/ but I don't think it worked, I wound up with cache/ubuntuimages/ubuntu-core/rolling/edge/generic_amd64/version-84.tar.xz.  Is 'AME' really the right variable name?20:27
slangasekseb128: looks like that should be UDF_UBUNTU_CORE_NAME but is ignorable; but the command should be 'personal rolling' instead of 'core rolling', since I'm pretty sure you said you were seeing this with personal rather than core20:31
slangasekseb128: reproduced that 'strings | grep prefix' output that you showed, by running 'UDF_UBUNTU_CORE_NAME=ubuntu-personal DEBUG_DISK=1 ~/bin/ubuntu-device-flash --verbose personal rolling --channel edge --output amd64-rolling.img --size 10'.  So udf is doing something buggy here20:45
slangasek(or else grub-install itself is)20:47
seb128slangasek, sorry, I was afaik, yeah unsure about why sergiusens used 'AME' in his command, UDF_UBUNTU_CORE_NAME was the hack name in mvo's patch but I think trunk has a proper option for the new channel?20:49
slangasekI don't know what that option is.  So I just reproduced it with the above command20:49
seb128k20:50
seb128http://bazaar.launchpad.net/~phablet-team/goget-ubuntu-touch/trunk/revision/190 was the merge for personal20:50
slangasekwhat is DEBUG_DISK=1 supposed to give me?  doesn't seem to give me much in the way of new output from grub-install20:51
seb128the "parted" output I think20:52
seb128e.g on http://paste.ubuntu.com/11719625/ the lines 17 to 2620:52
seb128I don't think it's useful to debug the grub issue20:52
seb128sergiusens suggested it when I was hitting partitioning errors20:53
seb128because the partitions were too small for the new image20:53
slangasekthat's certainly not the cause of this problem.20:53
seb128right, that was a previous issue that got resolved by the 10G size bump20:53
seb128you can drop that env variable afaik20:54
slangasekoh, you mean the grub issue from the pastebin.  Yeah I don't know what that is20:54
seb128it's orthogonal, don't worry about it20:54
seb128we resolved that one since the pastbin was done20:55
slangasekgrub-install: info: copying `/usr/lib/grub/x86_64-efi-signed/gcdx64.efi.signed' -> `/boot/efi/EFI/BOOT/grubx64.efi'.20:56
slangasekaha20:56
slangasekso apparently when passing --removable it's copying the CD image not the disk image20:57
slangasekand that's where it gets the prefix=20:57
slangasekthat may be a regression in grub-install in wily20:57
slangasekhmm nope20:59
slangaseksame behavior in vivid, where it was working fine for me on core20:59
seb128slangasek, k, I'm calling it a day and closing IRC but drop me an email or let me know tomorrow if you figure out more about the issue!21:23

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