~curtin-dev/curtin/trunk

Viewing all changes in revision 483.

  • Committer: Scott Moser
  • Date: 2017-04-06 20:41:48 UTC
  • mfrom: (481.2.2 trunk.lp1680591)
  • Revision ID: smoser@ubuntu.com-20170406204148-8rdcwyp5fcmvkgew
Make systems with root on bcache use root=UUID=.

Systems with root on bcache would end up booting with root=/dev/bcache0
(or bcache1). Bcache device names are not guaranteed, so this could
cause issues.

The fix is to invoke 'udevadm trigger' after creating a filesystem on
a bcache device. That will populate /dev/disk/by-uuid, which will
cause grub to properly decide to boot by root=UUID=.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: