~jamesodhunt/ubuntu/vivid/ubuntu-core-snappy/mount-current-rootfs-in-chroot-for-bug-1412737

Viewing all changes in revision 171.

  • Committer: James Hunt
  • Date: 2015-02-17 14:21:42 UTC
  • Revision ID: james.hunt@ubuntu.com-20150217142142-jhia33rr24qpkngg
* snappy/partition.py:
  - bind_mount(): Add options parameter.
  - bindmount_required_filesystems(): Add read-only bindmount of current
    rootfs to allow update-grub, running from within the chroot to
    establish details of both rootfs's.
  - get_bootloader_type(): Look for update-grub, not grub-install.
  - handle_grub(): Don't call grub-install now that there is a shared
    grub boot partition.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: