IRC logs for #buildstream for Friday, 2017-03-31

*** tristan has joined #buildstream07:21
*** ChanServ sets mode: +o tristan07:36
*** tiagogomes has joined #buildstream08:12
*** tristan has quit IRC09:04
*** ssam2 has joined #buildstream09:13
*** tristan has joined #buildstream09:19
*** ChanServ sets mode: +o tristan09:23
*** tiagogomes has quit IRC09:43
tristanSo, progress10:14
tristanUsing syslinux, mkdosfs and mtools, I can create an image which boots under qemu-system-x86_64, but not out of the woods yet10:15
tristanit will boot a kernel, at least10:15
tristanbut it seems the vfat fs is only really good enough for a boot partition10:15
tristanSo I'll need to think about fs layout and adjusting the initrd10:16
tristanso probably we want something like /boot -> vfat bootsector & kernel & initrd ... / -> ext4 main data partition and /usr -> Another ext4 partition which can be readonly10:17
tristanactually it gets pretty far, kernel finishes booting and I have a shell10:19
tristanAnd now I have a sample of how to do the partitioning and such: http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/lib/wic/plugins/imager/direct.py#n27610:55
tristanI think though, for starters it will be just 2 partitions, /boot & /10:55
*** tiagogomes has joined #buildstream11:13
*** ssam2 has quit IRC11:51
*** ssam2 has joined #buildstream11:53
paulsher1oodtristan: i hope this is all being described declaratively, as either morph or bst files? :)12:20
tristanpaulsher1ood, this is currently what I have going: https://pastebin.com/raw/BfsT43nP12:26
tristani.e. a script element allows one to stage something as the base (the tools you're going to use) and stage other things, collecting the output from /buildstream/install like a build element does12:26
tristanI'm not sure its a great long term solution, I feel like it would be nicer to have, maybe a customized script element with some sane defaults and options12:27
tristanbut with 'script' element most anything is doable12:27
*** tristan has quit IRC12:39
*** tiagogomes has quit IRC17:15
*** ssam2 has quit IRC17:19
*** tristan has joined #buildstream19:35
*** ChanServ sets mode: +o tristan19:35
*** tristan has quit IRC20:48

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