~curtin-dev/curtin/trunk

Viewing all changes in revision 345.

  • Committer: Scott Moser
  • Author(s): Robert Clark
  • Date: 2016-02-08 18:43:14 UTC
  • mfrom: (332.3.3 removable-drive-fixes)
  • Revision ID: smoser@ubuntu.com-20160208184314-uhet1j01c4qt5uik
block-meta: use removable devices if no non-removable devices are found

Revision 202 changed behavior of curtin block-meta to not install to
'removable' devices.  The intent was to avoid installing to usb drives.
The reality is that 'removable' was being read by what lsblk said, and
lsblk was proxying kernel's /sys/class/block/<device>/removable .

That 'removable' indication can even change from kernel to kernel.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: