~rcj/maas-images/ppc64el

Viewing all changes in revision 151.

  • Committer: Scott Moser
  • Date: 2014-06-23 15:33:30 UTC
  • Revision ID: smoser@ubuntu.com-20140623153330-0y802iix0c0qvsfs
bin/kpack-from-image: regenerate initramfs if it did not get updated

In a case where the copymods package and the kernel package were
already installed, the 'apt-get install' would not generate a new
initramfs.

To address that, we explicitly call update-initramfs now if it is
older than the start of the chrooted function.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: