aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-01-06 22:53:59 +0000
committerFlorent Villard <warly@mandriva.com>2006-01-06 22:53:59 +0000
commit24a955f9d901d670ea3fb61245d6d0a0ad5d0df6 (patch)
tree50f1aa0abe6a83b550d9bfda46d9c3cb9233ff69
parent215e6c5df5b6fc7aabcfdfb6d2f04d634fbf07fc (diff)
downloadiurt-24a955f9d901d670ea3fb61245d6d0a0ad5d0df6.tar
iurt-24a955f9d901d670ea3fb61245d6d0a0ad5d0df6.tar.gz
iurt-24a955f9d901d670ea3fb61245d6d0a0ad5d0df6.tar.bz2
iurt-24a955f9d901d670ea3fb61245d6d0a0ad5d0df6.tar.xz
iurt-24a955f9d901d670ea3fb61245d6d0a0ad5d0df6.zip
Dump macro in nocheckchroot mode
-rwxr-xr-xiurt26
1 files changed, 3 insertions, 3 deletions
diff --git a/iurt2 b/iurt2
index a58f108..4b6a3d2 100755
--- a/iurt2
+++ b/iurt2
@@ -273,10 +273,11 @@ if (!$nocheckchroot) {
die => 1);
if ($unionfs) {
- clean_chroot($chroot) or die "FATAL iurt: Could no prepare initial chroot";
+ clean_chroot($chroot) or die "FATAL iurt: Could no prepare initial chroot"
}
+} else {
+ dump_rpmmacros("$chroot/home/builder/.rpmmacros") or die "FATAL iurt: could not dump rpm macros"
}
-
if ($unionfs) {
$unionfs_dir = "$config->{local_home}/iurt_unionfs$debug_tag";
-d $unionfs_dir or mkdir $unionfs_dir
@@ -415,7 +416,6 @@ foreach (my $i ; $i < @todo; $i++) {
system("cp $chroot/home/builder/rpm/RPMS/*/*.rpm $local_spool") and print "ERROR: could not copy rpm files from $chroot/home/builder/rpm/RPMS/ to $local_spool ($!)\n";
process_queue()
}
- end:
}
print STDERR "iurt: reprocess generated packages queue\n";