Add support for isorec flashing in recovery installer (#609)

This commit is contained in:
Attila Szöllősi 2017-09-29 00:05:00 +02:00 committed by Oliver Smith
parent 9c4c1e9575
commit 3cbd0d19c2
11 changed files with 135 additions and 68 deletions

View file

@ -79,6 +79,12 @@ def list_devices(args):
def sideload(args):
method = args.flash_method or args.deviceinfo["flash_methods"]
cfg = pmb.config.flashers[method]
# Install depends
pmb.chroot.apk.install(args, cfg["depends"])
# Mount the buildroot
suffix = "buildroot_" + args.deviceinfo["arch"]
mountpoint = "/mnt/" + suffix