mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
packages/build: build_package(): source /etc/profile before building so PATH is complete
This commit is contained in:
parent
0353693025
commit
4115d6ba00
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ def build_package(
|
||||||
setup_git_insecure_paths(build_root)
|
setup_git_insecure_paths(build_root)
|
||||||
makepkg_conf_absolute = os.path.join('/', makepkg_conf_path)
|
makepkg_conf_absolute = os.path.join('/', makepkg_conf_path)
|
||||||
|
|
||||||
build_cmd = MAKEPKG_CMD + ['--config', makepkg_conf_absolute, '--skippgpcheck'] + makepkg_compile_opts
|
build_cmd = ['source', '/etc/profile', '&&', *MAKEPKG_CMD, '--config', makepkg_conf_absolute, '--skippgpcheck', *makepkg_compile_opts]
|
||||||
logging.debug(f'Building: Running {build_cmd}')
|
logging.debug(f'Building: Running {build_cmd}')
|
||||||
result = build_root.run_cmd(
|
result = build_root.run_cmd(
|
||||||
build_cmd,
|
build_cmd,
|
||||||
|
|
Loading…
Add table
Reference in a new issue