*** tristan has joined #buildstream | 07:21 | |
*** ChanServ sets mode: +o tristan | 07:36 | |
*** tiagogomes has joined #buildstream | 08:12 | |
*** tristan has quit IRC | 09:04 | |
*** ssam2 has joined #buildstream | 09:13 | |
*** tristan has joined #buildstream | 09:19 | |
*** ChanServ sets mode: +o tristan | 09:23 | |
*** tiagogomes has quit IRC | 09:43 | |
tristan | So, progress | 10:14 |
---|---|---|
tristan | Using syslinux, mkdosfs and mtools, I can create an image which boots under qemu-system-x86_64, but not out of the woods yet | 10:15 |
tristan | it will boot a kernel, at least | 10:15 |
tristan | but it seems the vfat fs is only really good enough for a boot partition | 10:15 |
tristan | So I'll need to think about fs layout and adjusting the initrd | 10:16 |
tristan | so probably we want something like /boot -> vfat bootsector & kernel & initrd ... / -> ext4 main data partition and /usr -> Another ext4 partition which can be readonly | 10:17 |
tristan | actually it gets pretty far, kernel finishes booting and I have a shell | 10:19 |
tristan | And 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#n276 | 10:55 |
tristan | I think though, for starters it will be just 2 partitions, /boot & / | 10:55 |
*** tiagogomes has joined #buildstream | 11:13 | |
*** ssam2 has quit IRC | 11:51 | |
*** ssam2 has joined #buildstream | 11:53 | |
paulsher1ood | tristan: i hope this is all being described declaratively, as either morph or bst files? :) | 12:20 |
tristan | paulsher1ood, this is currently what I have going: https://pastebin.com/raw/BfsT43nP | 12:26 |
tristan | i.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 does | 12:26 |
tristan | I'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 options | 12:27 |
tristan | but with 'script' element most anything is doable | 12:27 |
*** tristan has quit IRC | 12:39 | |
*** tiagogomes has quit IRC | 17:15 | |
*** ssam2 has quit IRC | 17:19 | |
*** tristan has joined #buildstream | 19:35 | |
*** ChanServ sets mode: +o tristan | 19:35 | |
*** tristan has quit IRC | 20:48 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!