commands: move index command to pmb/commands (MR 2252)

Use the new command runner for pmbootstrap index.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-06-08 00:04:23 +02:00 committed by Oliver Smith
parent d4070c0e9e
commit 852ace63c4
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
5 changed files with 21 additions and 9 deletions

View file

@ -217,4 +217,4 @@ def package_kernel(args: PmbArgs):
except Exception as e:
pmb.helpers.mount.umount_all(Chroot.native() / "mnt/linux")
raise e
pmb.build.other.index_repo(args, arch)
pmb.build.other.index_repo(arch)