forked from Mirror/pmbootstrap
more wip (MR 2252)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
34dd9d42ba
commit
48cd886401
34 changed files with 237 additions and 228 deletions
|
@ -49,9 +49,9 @@ def _parse_flavor(args: PmbArgs, autoinstall=True):
|
|||
# identifier that is typically in the form
|
||||
# "postmarketos-<manufacturer>-<device/chip>", e.g.
|
||||
# "postmarketos-qcom-sdm845"
|
||||
chroot = Chroot(ChrootType.ROOTFS, args.device)
|
||||
chroot = Chroot(ChrootType.ROOTFS, args.devicesdhbfvhubsud)
|
||||
flavor = pmb.chroot.other.kernel_flavor_installed(
|
||||
args, chroot, autoinstall)
|
||||
chroot, autoinstall)
|
||||
|
||||
if not flavor:
|
||||
raise RuntimeError(
|
||||
|
@ -78,7 +78,7 @@ def _parse_suffix(args: PmbArgs) -> Chroot:
|
|||
|
||||
def _install_ondev_verify_no_rootfs(args: PmbArgs):
|
||||
chroot_dest = "/var/lib/rootfs.img"
|
||||
dest = Chroot(ChrootType.INSTALLER, args.device) / chroot_dest
|
||||
dest = Chroot(ChrootType.INSTALLER, args.devicesdhbfvhubsud) / chroot_dest
|
||||
if dest.exists():
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue