aboutsummaryrefslogtreecommitdiffstats
path: root/iurt
diff options
context:
space:
mode:
Diffstat (limited to 'iurt')
-rwxr-xr-xiurt4
1 files changed, 4 insertions, 0 deletions
diff --git a/iurt b/iurt
index 3143375..72ad823 100755
--- a/iurt
+++ b/iurt
@@ -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/";