deviceinfo: remove external_disk_install and external_disk, use external_storage instead (#1301)

* deviceinfo: remove external_disk_install and external_disk, use external_storage instead
* Complain when external_disk* is used
This commit is contained in:
Daniele Debernardi 2018-03-07 23:35:02 +01:00 committed by Oliver Smith
parent 915dc8a049
commit 94306b51ee
136 changed files with 207 additions and 269 deletions

View file

@ -46,7 +46,7 @@ def previous_install(args):
def mount_sdcard(args):
# Sanity checks
if args.deviceinfo["external_disk_install"] != "true":
if args.deviceinfo["external_storage"] != "true":
raise RuntimeError("According to the deviceinfo, this device does"
" not support a sdcard installation.")
if not os.path.exists(args.sdcard):