partition_cgpt: use pmb.chroot.apk.install
Be consistent with the rest of the pmbootstrap codebase and install packages through this function. Reviewed-by: Clayton Craft <clayton@craftyguy.net> Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230301204311.4456-1-ollieparanoid@postmarketos.org%3E
This commit is contained in:
parent
bf820f442d
commit
a26e203f53
|
@ -112,7 +112,7 @@ def partition_cgpt(args, layout, size_boot, size_reserve):
|
|||
:param size_reserve: empty partition between root and boot in MiB (pma#463)
|
||||
"""
|
||||
|
||||
pmb.chroot.root(args, ["apk", "add", "cgpt"])
|
||||
pmb.chroot.apk.install(args, ["cgpt"], build=False)
|
||||
|
||||
cgpt = {
|
||||
'kpart_start': args.deviceinfo["cgpt_kpart_start"],
|
||||
|
|
Loading…
Reference in New Issue