diskimage-builder/diskimage_builder/block_device/level1
Ian Wienand a1a549548a Move localloop to exec_sudo
One call in localloop requires the output of the command, so modify
exec_sudo to buffer up output and return it.  This is modelled on the
same thing in package-installs-v2 which seems to work.  Rather than
return a subprocess exception, return a dib exception which everything
should have imported anyway.

The overall reason for this is to make our external calls more
consistent for mocking in unit testing.

Change-Id: I10d23b873dee9f775daef2a4c8be5671d02c386e
2018-06-29 11:22:24 +10:00
..
__init__.py Create and use plugin/node abstract classes 2017-05-26 11:48:11 +10:00
lvm.py Move localloop to exec_sudo 2018-06-29 11:22:24 +10:00
mbr.py Sync after writing partition table 2017-06-19 17:13:36 +10:00
partition.py Fix default partition type 2018-03-22 10:10:47 +11:00
partitioning.py GPT partitioning support 2018-02-23 10:04:26 +11:00