forked from Mirror/pmbootstrap
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:
parent
915dc8a049
commit
94306b51ee
136 changed files with 207 additions and 269 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue