On 25 May 2015 at 12:09, Martin Lucina <[email protected]> wrote:
> On Monday, 25.05.2015 at 19:41, Andrew Stuart wrote:
>>
>> >>The failure of the Xenstore-style configuration was expected, sorry if I 
>> >>didn't make that clear.
>> It’s ok that’s what I expected. I expected we were going to tackle storage 
>> later.
>>
>> I’m guessing you’re thinking two (or more) types of storage as in the 
>> ability to connect to read/write devices such as EBS volumes and also 
>> storage as in the ability to bake in read only static files into the 
>> unikernel image, perhaps as an iso9660.
>>
>> Or is there a more direct way to embed files in a rump kernel?  I notice 
>> there is an etc directory - is it possible to directly include static files 
>> somehow?
>
> Not currently. As I already wrote, in the "someone should" department,
> someone needs to do the work to make this happen. It's not a huge amount of
> work but I already have a long enough backlog on my TODO list :-/

I got as far as making a small (20k ish) untar program with no
dependencies that compiles easily to embed in a unikernel and can
untar from memory.

https://github.com/justincormack/libuntar

See the mem/ directory for how to link a tarfile into a program; if
you compile as a unikernel that will untar the tarfile onto the root
fs.

It needs integrating to make it easy to build into an existing program.

Justin

Reply via email to