diff options
author | Pascal Terjan <pterjan@mageia.org> | 2021-07-11 18:40:57 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2021-07-11 18:40:57 +0000 |
commit | f310a568fd93cd519c08caed4025d5780295129e (patch) | |
tree | 2dfd64b9a187cbacdd411bf2cd0b293d7ad5b7c6 | |
parent | 23bcfe9b9646200d3a41daea937a027cfa215041 (diff) | |
download | iurt-f310a568fd93cd519c08caed4025d5780295129e.tar iurt-f310a568fd93cd519c08caed4025d5780295129e.tar.gz iurt-f310a568fd93cd519c08caed4025d5780295129e.tar.bz2 iurt-f310a568fd93cd519c08caed4025d5780295129e.tar.xz iurt-f310a568fd93cd519c08caed4025d5780295129e.zip |
iurt: record the list of generated packages
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | iurt | 8 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- iurt: record the list of generated packages + 0.7.16 - iurt: use --target noarch for noarch packages rather than the arch used to built them. @@ -885,8 +885,16 @@ retry: # If copy fails (like disk full), report a failure and delete partially copied files plog('ERROR', "ERROR: could not copy rpm files from $chroot_tmp/home/$luser/rpmbuild/RPMS/ to $local_spool ($!)"); foreach my $package (@packages) { + $package =~ s|.*/||; unlink "$local_spool/$package"; } + } else { + my $packagesfile = "$local_spool/log/$srpm/packages.$run{my_arch}.$run{run}.log"; + open my $f, ">$packagesfile"; + foreach my $package (@packages) { + $package =~ s|.*/||; + print $f "$package\n"; + } } } |