forked from Mirror/pmbootstrap
Add support for isorec flashing in recovery installer (#609)
This commit is contained in:
parent
9c4c1e9575
commit
3cbd0d19c2
11 changed files with 135 additions and 68 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue