<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 11, 2016 at 6:45 PM, Oliver Grawert <span dir="ltr"><<a href="mailto:ogra@ubuntu.com" target="_blank">ogra@ubuntu.com</a>></span> wrote:</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="color:rgb(80,0,80);font-size:12.8px">> You can use the same image for whatever you need. One image, one<br></span><span style="color:rgb(80,0,80);font-size:12.8px">> gadget.</span></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">if you define no image size today and use ubuntu-image today you<br>
(should) get a 300MB image that you dd to a device ... on startup,<br>
before the first mount occurs the image gets resized to the full disk<br>
size and it gets made sure that your GPT backup table sits in the right<br>
place at the end of the disk.<br>
<br>
if you start to hard code sizes you lose all this flexibility, you will<br>
already not be able to use the pc image on a 2GB USB key today simply<br>
because we hard code the size for it to ~3GB just for the kvm use case.<br></blockquote><div><br></div><div>Please re-read the point I made above. I didn't talk about resizing at all.</div><div><br></div><div>One gadget, one image. If it makes sense for a category of devices to resize, let's figure the best way to represent that in gadget.yaml.</div><div><br></div><div><br></div><div>(...)</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">so you think we should have a pc.img, a pc-kvm.img, pc-vmware.img and a<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
pc-cloud.img using the same kernel the same core snap and apart from<br>
one line the same gadget ? <br></blockquote><div><br></div><div>If all of these environments can run with the exact same image, by all means let's have a single image.</div><div><br></div><div><br></div></div><div class="gmail_signature">gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div></div>