Skip to content

Commit

Permalink
Also capture F41 log files
Browse files Browse the repository at this point in the history
mock in F41 appears to put the build directory in
a different location, so try to copy logs from both
possible directories.
  • Loading branch information
benmwebb committed Oct 31, 2024
1 parent b11baa3 commit 56447f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ END
# We should be able to use IMP without the debuginfo packages
rm -f packages-${CFG}/IMP-*debuginfo*.rpm
cp /var/lib/mock/${CFG}/root/builddir/build/BUILD/imp-*/build/logs/* \
${LOG_DIR}
/var/lib/mock/${CFG}/root/builddir/build/BUILD/IMP-*/imp-*/build/logs/* \
${LOG_DIR}
cat /var/lib/mock/${CFG}/result/*.log
if [ ${RET} -eq 0 ]; then
mock -r $CFG --clean \
Expand Down

0 comments on commit 56447f2

Please sign in to comment.