diff options
author | Florent Villard <warly@mandriva.com> | 2006-01-06 22:53:59 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2006-01-06 22:53:59 +0000 |
commit | 24a955f9d901d670ea3fb61245d6d0a0ad5d0df6 (patch) | |
tree | 50f1aa0abe6a83b550d9bfda46d9c3cb9233ff69 | |
parent | 215e6c5df5b6fc7aabcfdfb6d2f04d634fbf07fc (diff) | |
download | iurt-24a955f9d901d670ea3fb61245d6d0a0ad5d0df6.tar iurt-24a955f9d901d670ea3fb61245d6d0a0ad5d0df6.tar.gz iurt-24a955f9d901d670ea3fb61245d6d0a0ad5d0df6.tar.bz2 iurt-24a955f9d901d670ea3fb61245d6d0a0ad5d0df6.tar.xz iurt-24a955f9d901d670ea3fb61245d6d0a0ad5d0df6.zip |
Dump macro in nocheckchroot mode
-rwxr-xr-x | iurt2 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"; |