~j-harbott/cirros/dev

Viewing all changes in revision 247.

  • Committer: Scott Moser
  • Date: 2013-01-14 15:42:14 UTC
  • Revision ID: smoser@ubuntu.com-20130114154214-5bo6ribmerko1zas
make fixup-fs idempotent

I had tested repacking a -lxc.tar.gz file, and found that it would
fail because fixup-fs didn't work on an already fix'd up image.

This should change it to be idempotent.

This means that you can now do something like:

sudo ./bin/bundle download/lxc-amd64.tar download/kernel-amd64.deb \
  repacked.dir

And that will excercise the bundle stage, effectively using the lxc tarball
as if it were the 'root.tar' file that buildroot would produce.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: