[buildpkg] Add local packages to the chroot
Created by: Kirek
I want to add the option to add local packages to the chroot when building packages, but before starting I want to ask which way should we do it.
Basically this functions already exist with mkchrootpkg with the -I option, but buildpkg doesn't support it. With devtools the extra arguments (options after --) that you pass with "unstable-x86_64-build" command are passed to the mkchrootpkg functions, but with buildpkg we pass them to makepkg.
So two options:
- We pass the extra arguments to mkchrootpkg instead of makepkg
- Add an extra option (-I for example) to buildpkg that will be passed to mkchrootpkg
So any thoughts which way we should go?