From 24a955f9d901d670ea3fb61245d6d0a0ad5d0df6 Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Fri, 6 Jan 2006 22:53:59 +0000 Subject: Dump macro in nocheckchroot mode --- iurt2 | 6 +++--- 1 file 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"; -- cgit v1.2.1