ubuntu-image 0.15

knitzsche kyle.nitzsche at canonical.com
Thu Feb 16 21:44:15 UTC 2017


Hi Barry,

I had been (with 0.14 snap) building the image and saving to file with 
-o my.img

Then mounting the img partitions with (as root):

kpartx -a my.img
loopmnt=`findfs LABEL=writable`
mount $loopmtn DIR

With 0.15, that mount fails with a Kill message.

So for now, back to 0.14 (via deb).

Can you help me understand the equivalent steps for 0.15?

Purpose: mount the writable partition to modify it, for example to 
suppress console-conf by touching a file.

Cheers,
kyleN

On 02/15/2017 04:07 PM, Barry Warsaw wrote:
> ubuntu-image 0.15 has been released to the snap store beta channel, and
> uploaded to Zesty, Yakkety, and Xenial.  The debs are working their way
> through the autopkgtest infrastructure, and of course Y and X will also have
> to go through the SRU process.  The snap is available now.
>
> This is a bug fix and feature release.  I'm considering it a release candidate
> for a 1.0 version.  If you've been wanting to create gadgets with multiple
> volumes, now's your chance.  Each volume in your gadget.yaml now produces a
> separate disk image file, named after the volume.  As such, we're deprecating
> the -o/--output cli option in favor of -O/--output-dir.
>
> Also, thanks to Łukasz Zemczak, ubuntu-image now supports sizes and offsets
> less than 1MiB, although you get a warning if either is not a multiple of the
> sector size.  Because of the tools available to us, that limitation is still
> in effect, and such values will be rounded up to the nearest sector boundary.
> Typically, the sector size is 512 bytes.
>
> The snap version of ubuntu-image still has a few restrictions that the deb
> versions do not.  You cannot have models or extra snaps in /tmp, and you
> cannot write image files to /tmp.  You'll get warnings in both cases.
>
> Release details:
>
> https://launchpad.net/ubuntu-image/trunk/0.15
>
> As always, please let us know if you find any problems:
>
> https://bugs.launchpad.net/ubuntu-image
>
> Contributions welcome:
>
> https://github.com/CanonicalLtd/ubuntu-image
>
> Enjoy,
> -Barry
>



More information about the Devices mailing list