Split up repos by arches, always add already-built packages to repo file again, don't use repo-add --new, ...

Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
This commit is contained in:
InsanePrawn 2021-10-04 20:16:27 +02:00
parent 1ba4dcfaec
commit 0b2caa02af
6 changed files with 155 additions and 96 deletions

View file

@ -161,7 +161,7 @@ def cmd_build():
rootfs_mount = get_chroot_path(chroot_name)
mount_rootfs_image(image_name, rootfs_mount)
packages_dir = config.get_path('packages')
packages_dir = config.get_packages(arch)
if os.path.exists(os.path.join(packages_dir, 'main')):
extra_repos = get_kupfer_local(arch).repos
else: