diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-06-15 21:19:23 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-06-15 21:20:01 +0000 |
commit | e801a2771cabad3872479e75c83b439d3825b944 (patch) | |
tree | f788821b9bf884b32d2ea708fdb8c27ddb5ced29 /iurt | |
parent | d0d6c8c6a2e3829dd20d9e591dc6ec138ce7dec1 (diff) | |
download | iurt-e801a2771cabad3872479e75c83b439d3825b944.tar iurt-e801a2771cabad3872479e75c83b439d3825b944.tar.gz iurt-e801a2771cabad3872479e75c83b439d3825b944.tar.bz2 iurt-e801a2771cabad3872479e75c83b439d3825b944.tar.xz iurt-e801a2771cabad3872479e75c83b439d3825b944.zip |
Move the updating of packages later
The creation of chroot is a mess with various retries, so do it as late
as possible when there is no way something gets changed again.
Diffstat (limited to 'iurt')
-rwxr-xr-x | iurt | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -784,6 +784,10 @@ retry: mkdir $log_dir; -d $log_dir or die "FATAL: could not create $log_dir (check permissions and group ownerships)"; + # We may have media not used to create the chroot (when building for updates_testing + # or if using additional_media) so need to update basesystem packages. + $urpmi->update($chroot); + plog('INFO', "Install build dependencies for $srpm"); my $path_srpm = "$chroot_tmp/home/$luser/rpmbuild/SRPMS/"; |