mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-10-17 17:20:31 +00:00
5213e5fe8d4636d6791b9f774fe1c5e829ca19e6
mock_chroot_uid parsed the mock configuration files itself and read each include() after the file that names it. A chrootuid set after an include lost to the value in the include, so mockbuild-perl-packages.pl gave the result directories to a uid mock does not build as. mock_chroot_uid now asks mock's own loader, mockbuild.config.load_config, for chrootuid. It fails with a clear message when mock is not installed. mock_result_dirs takes the configuration and gets the uid from mock_chroot_uid, so the caller cannot pass a uid from another source. native/mock-chroot-uid.t returned 1000 instead of 1001 before this change. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
Description
No description provided
Languages
Perl
80.2%
JavaScript
7.4%
Shell
3.7%
SQLPL
2.4%
CSS
2.1%
Other
4.2%