packages/ and image.py: less wrapping, remove hardcoded 'aarch64' where possible
This commit is contained in:
parent
657a5fe227
commit
f5e3fa46ad
3 changed files with 62 additions and 46 deletions
|
@ -16,9 +16,11 @@ from constants import Arch, MAKEPKG_CMD
|
|||
from distro.package import PackageInfo
|
||||
from logger import setup_logging
|
||||
from utils import git
|
||||
from wrapper import check_programs_wrap
|
||||
|
||||
|
||||
def clone_pkbuilds(pkgbuilds_dir: str, repo_url: str, branch: str, interactive=False, update=True):
|
||||
check_programs_wrap(['git'])
|
||||
git_dir = os.path.join(pkgbuilds_dir, '.git')
|
||||
if not os.path.exists(git_dir):
|
||||
logging.info('Cloning branch {branch} from {repo}')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue