diskimage-builder/diskimage_builder
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
..
block_device Move localloop to exec_sudo 2018-06-29 11:22:24 +10:00
elements Add iscsi-boot element for CentOS images 2018-06-25 12:01:52 +00:00
lib Save and close stdout on exit 2018-05-25 11:48:20 +10:00
tests Fail if two elements provide the same thing 2018-02-23 10:04:26 +11:00
__init__.py Bump hacking to 0.9.x series 2014-07-21 10:15:41 +02:00
disk_image_create.py squash-package-install to use the correct python 2017-03-13 20:24:39 +11:00
element_dependencies.py Fail if two elements provide the same thing 2018-02-23 10:04:26 +11:00
logging_config.py Add timestamp output filter 2017-06-16 15:58:50 +10:00
paths.py Move diskimage-image-create to an entry point 2016-11-02 05:12:11 +00:00
version.py Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00