/srv/irclogs.ubuntu.com/2015/05/12/#snappy.txt

tbrrsalveti: I'm trying to understand how I'd be supposed to do this: https://bugs.launchpad.net/ubuntu/+source/goget-ubuntu-touch/+bug/1425370/comments/4 - It has been established that building your own image is effectively impossible and as the image doesn't contain dpkg.05:37
dholbachgood morning06:18
=== erkules_ is now known as erkules
Chipacatbr: what are you trying to do?09:07
=== vrruiz_ is now known as rvr
tbrChipaca: ultimately I'd like to boot snappy on this embedded linux device that has uefi based firmware.09:08
tbrthat says there is a fix and even built, but that points to a package, how do I go from that to a snappy image.09:09
JamesTaitGood morning all; happy International Nurses Day! 😃09:09
Chipacatbr: goget-ubuntu-touch is the project that holds ubuntu-device-flash09:09
Chipacatbr: does that answer your question?09:10
ChipacaJamesTait: ooh! i should call my mum09:10
tbrnot really09:10
Chipacatbr: tell me more :)09:10
JamesTaitChipaca, your mum is a nurse?09:11
ChipacaJamesTait: yep09:11
ChipacaJamesTait: well, she's now an OAP, but once a nurse always a nurse, right?09:11
tbrChipaca: so, for x86_64 there is this: http://releases.ubuntu.com/15.04/ubuntu-15.04-snappy-amd64-generic.img.xz - it doesn't support UEFI.09:12
Chipacatbr: did you install that package?09:12
Chipacatbr: ubuntu-device-flash is what you use to build the images09:13
tbrChipaca: I thought there was no dpkg on those images?09:13
Chipacatbr: you don't install that package on the target, you install it on the host09:13
tbrok. I'll have to install it and try to figure that out then09:13
Chipacatbr: sudo ubuntu-device-flash core rolling --output amd64.img --developer-mode --channel edge09:15
Chipacatbr: once you've got the ppa set up09:15
Chipacatbr: that'll give you an "amd64.img" that you can run with kvm, or dd onto a device09:15
Chipacatbr: to set up the ppa, you do this:09:17
Chipacagah, can't link it09:17
Chipacagimme a sec09:17
Chipacatbr: well, it's explained in https://launchpad.net/~snappy-dev/+archive/ubuntu/tools?field.series_filter=vivid09:17
tbrdon't worry09:17
tbrI can manage a ppa09:17
Chipacatbr: basically, sudo add-apt-repository ppa:snappy-dev/tools  && sudo apt-get update && sudo apt-get install ubuntu-device-flash09:18
Chipacatbr: ah, ok09:18
* Chipaca always wonders why add-apt-repository doesn't do the update itself09:18
* tbr wonders why add-apt-repository only reasonably works with PPAs and not with adding other repositories, but that's completely unrelated09:19
tbroh, that's in 15.04 of that ppa only. time to boot a vm with that...09:20
* tbr prefers LTS as the main machine09:20
* Chipaca is upgrading to wily today09:21
Chipacawell, actually maybe next week when the rest of my team is back09:21
tbrok, so one step closer.10:03
tbrit boots, but I have to manually kick fs0:\EFI\BOOT\BOOTX64.EFI10:04
tbreasily addressed by "echo fs0:\\EFI\\BOOT\\BOOTX64.EFI >startup.nsh" in the root directory of the EFI partition. Not sure if there is a "nicer" way10:09
beowulfChipaca: would you like a review? i added a bem linter for webdm's css https://code.launchpad.net/~stephen-stewart/webdm/post-css-bem-lint10:14
Chipacabeowulf: on it11:01
Chipacabeowulf: http://pastebin.ubuntu.com/11094443/11:14
beowulfChipaca: ooo11:21
soothranhey folks!13:23
soothranI am bit confused reading about snappy!13:23
soothranhow can i (or can I) install Ubuntu snappy core in 32-bit pc?13:24
soothrannot as a kvm image but directly.13:24
thesheff17I don't think you can right now soothran13:26
thesheff17its also server only really at this point13:27
soothranhmm..so why does it say it can be in x86 here (https://www.linux.com/news/embedded-mobile/mobile-linux/804659-ubuntu-snappy-leads-mobile-linux-migration-to-iot)13:28
soothranalso in ubuntu website it says "Ubuntu Core can be installed directly on X86 or ARM devices" https://developer.ubuntu.com/en/snappy/13:29
thesheff17it might eventually have ISO but its super alpha right now13:30
beunosoothran, you can on amd6413:30
beunothe x86 builds have been failing lately13:30
beunobut I'm sure we'll get around to fixing them soon13:30
beunonot a lot of 32bit users left out there though!13:30
soothrani know it can be in ARM..but it is the x86 part that confuses me..13:31
beunosoothran, it works on intel as well13:31
beunobut just 64bit atm, the 32bit builds have been failing and we haven't gotten around to fixing them yet13:32
soothranthanks beunno..so my plain question will be "if i have a x86 intel laptop, is it possible to directly install ubuntu snappy core?13:33
thesheff17even if you could I would consider it very alpha13:34
soothranthat's oke13:34
thesheff17why so set on installing snappy on old hardware?13:34
soothranI am not going to anyways, just wanted to know if it is possible13:34
beunosoothran, yes you will13:34
beunoall new laptops are 64bit13:35
soothranAFAIK, i am not able to burn the 64-bit snappy image from the repo (http://ftp.arnes.si/pub/mirrors/ubuntu-cdimage/vivid/)13:36
soothraninto a usb and boot it. i think this is just hte kvm image or something?13:36
soothranthat's why i was wondering how can i install it 'directly' in a computer13:36
davmor2soothran: why would you? if you want to experiment with snappy just install it in kvm, you will not have a desktop and you will have very limited set of applications.13:44
davmor2soothran: what's your actual plan for snappy13:45
soothranas i said i am not planning to do this thing..i am missing something here.13:46
davmor2soothran: and is this a throw away laptop, ie is it one that is sat there doing nothing and you want to put it to some use?13:46
davmor2soothran: if so then you can try just dd'ing the img file only the hdd not sure if that will work or not as I don't think there is an actual installer for it yet13:47
soothrannothing to be honest..all i wanted is a clarification on few sentences that I read. first one "Ubuntu Core can be installed directly on X86 (or ARM, i am sure about arm part)"13:48
soothranthis one is from here ---> https://developer.ubuntu.com/en/snappy/13:48
soothranbut there is no resources that points to a x86 image (or 64-bit image for that matter)  that can be 'directly' installed in a PC13:49
davmor2soothran: https://developer.ubuntu.com/en/snappy/start/ say kvm only13:49
soothranhow about this one -----> https://www.linux.com/news/embedded-mobile/mobile-linux/804659-ubuntu-snappy-leads-mobile-linux-migration-to-iot13:52
soothransays "...while any x86 computer or VM should do the trick on the x86 side. (Here's a Dustin Kirkland tutorial on loading Snappy on the BeagleBone Black.)"13:52
soothranwhat's with the "any x86 computer" part?13:52
davmor2soothran: no idea I can only go by the stuff on the Ubuntu website as that will actually be updated but the fact that you can run in kvm on any x86 system might be what they are mis-understanding maybe14:00
tbreven the 64bit image  is not quite there yet for use outside kvm (with bios) and legacy bios HW. UEFI support is only getting added.14:01
soothranhmm14:08
soothranyeah may be14:08
=== dholbach_ is now known as dholbach
vmayoral|pcpitti: I'm trying to figure out a way to create a snap from a ROS package. Do you have any thoughts on this?15:38
vmayoral|pcpitti: i guess that the most straightforward way is to scan the CMakeLists.txt of the ROS package and fetch/place the binaries under src/ of a new snap.15:39
jdstranddholbach: hi! fyi, docs/security.md has been updated-- can you update the site? also, if you compare https://developer.ubuntu.com/en/snappy/guides/security-policy/ and https://developer.ubuntu.com/en/snappy/guides/frameworks/, you can see that the security page is not formatted correctly (there is no whitespace border around the page)15:42
dholbachI think davidcalle looked into this earlier? ^15:43
jdstranddholbach: fyi, this is also pending: https://code.launchpad.net/~jdstrand/snappy/snappy.bus-name-docs/+merge/258894 (meta.md and frameworks.md)15:43
dholbachthanks jdstrand15:43
dholbachI'll talk with davidcalle tomorrow to think of a better solution than this15:43
davidcalledholbach, +115:44
jdstranddholbach: I don't know if you want to review that MP so I can commit it and people can update those three pages at the same time15:44
davidcallejdstrand, ouch for the security page, looks like a broken import. Fixing.15:44
jdstranddholbach, davidcalle: thanks for looking into this15:44
dholbachjdstrand, I'm a bit preoccupied right now15:45
jdstranddholbach: not a problem at all15:46
dholbachthanks jdstrand, thanks davidcalle15:46
jdstranddavidcalle: https://developer.ubuntu.com/en/snappy/guides/security-policy/ looks pretty again15:49
davidcallejdstrand, :)15:49
itsme_so i am trying to install "wily-preinstalled-core-http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/i386.tar.gz " from15:52
itsme_how to i go about creating a live USB with this file?15:52
itsme_is it possible at all?15:52
pittivmayoral|pc: ah, hello; (tried to reply this morning, but you weren't online)15:54
pittivmayoral|pc: my initial gut feeling would have been to build the ROS core as a framework, and make ROS apps depend on it, so that you don't always have to build/duplicate everything15:55
pittivmayoral|pc: but apparently that very duplication is "by design" now :/15:55
pittivmayoral|pc: as for building, I figure the tutorial build script that I did a few months back should be by and large apply to other modules too15:56
pittijoin #ubuntu-meeting-215:56
pittioops15:56
jdstrandChipaca: oh, you know, if the launcher is doing all the env var setting, then the bin-path and systemd bits go away and things are always in sync16:11
jdstrandChipaca: you probably thought of that already, so, nice job! :)16:11
Chipacajdstrand: :)16:18
Chipacayou'll laugh at the bit of code that made me avoid doing this in this mp before16:18
Chipacait's the mkdir -p16:18
jdstrandheh16:19
Chipacai've got to: make sure the appname and version have no /. build /tmp/snap.$UID. mkdir that. add the appname. mkdir that. add the version. mkdir that. add tmp. mkdir that. kill me now.16:20
Chipacaeach thing with its error checking of course16:20
* Chipaca bites the bullet16:20
=== dpm is now known as dpm-afk
* Chipaca gets bogged down17:33
* Chipaca EODs while tests pass17:34
jdstrandmterry: did your question regarding snappy.bus-name-docs constitute a review?17:43
mterryjdstrand, sure?  It was the only thing I noticed.  I'm not qualified to comment on content itself, but for presentation, that's all I saw.  rest is good  :)17:44
jdstrandmterry: thanks17:45
mterryjdstrand, I noticed you pushed the other branch directly -- do we not use CI for snappy?17:45
jdstrandtbh, I think I am the only person qualified to comment (I implemented/designed said feature and wrote the review tools checks :)17:45
jdstrandmterry: not currently17:45
jdstrandI imagine that is something that might change in the coming weeks as we got more organized17:46
jdstrandthere is tarmac17:46
jdstrandI should probably set to 'approve' and let it do its thing17:46
mterryjdstrand, and as for my comment about quotes -- is that line the same with or without quotes in yaml?17:46
jdstrandof course, in this case, it is only docs changes17:46
jdstrandmterry: oh I commented on that-- it should've been quoted. fixed17:47
mterryjdstrand, so what would it be if yaml parsed it without the quotes?  (i.e. how does it parse bus-name which doesn't have quotes?)17:47
jdstrandmterry: quotes force it to be parsed as a string. '<' and '>' are apparently special in yaml, so we should quote17:49
mterryjdstrand, ok.  so bus-name will be recognized as a string since it's not an int and doesn't use reserved chars.  So doesn't *need* the quotes17:50
jdstrandright17:51
jdstrandjust like with 'name'17:51
mterrycool17:51
* mterry is not super familiar with yaml17:51
ogra_it is like txt :)17:52
jdstrandyeah, I'm not either. getting better at it17:52
jdstrandI guess I should say that I am familiar with it these days17:53
jdstrandbut not an expert17:53
bjfi'm trying to build an amd64 image for an intel nuc. i'm looking for a device tar ball to use. where do i find one?18:36
=== kyrofa_ is now known as kyrofa
beowulfogra_: using node-snapper, it's complaining that the vivid images can't be found, s/vivid/wily seems to work21:41
c-nv-stest22:15

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