Skip to content

Commit

Permalink
packaging: add tar and xz to Requires
Browse files Browse the repository at this point in the history
Fixes the following error on minimal OSH worker installations:
```
<<< 2023-10-09 13:27:08	csmock exit code: 0

/bin/sh: line 1: xz: command not found
tar: /tmp/tmpa05fux7j/units-2.21-5.fc37.tar.xz: Wrote only 4096 of 10240 bytes
tar: Child returned status 127
tar: Error is not recoverable: exiting now
!!! 2023-10-09 13:27:08	fatal error: failed to write '/tmp/tmpa05fux7j/units-2.21-5.fc37.tar.xz', not removing '/tmp/csmockbyw9qj7l'...
```
  • Loading branch information
lzaoral committed Oct 9, 2023
1 parent fc15afb commit 00541f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make-srpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ Requires: csdiff > 3.0.4
Requires: csgcca
Requires: cswrap
Requires: mock
Requires: tar
Requires: xz
%if 0%{?rhel} != 7
Recommends: modulemd-tools
%endif
Expand Down

0 comments on commit 00541f1

Please sign in to comment.