Skip to content

Commit 8a33ba2

Browse files
tonyhutterFedorUporovVstack
authored andcommitted
runners: Fix zfs-release RPM creation (openzfs#17173)
The zfs-qemu-packages workflow was incorrectly copying the built zfs-release RPMs to ~/zfsonlinux.github.com rather than ~/zfs. This meant that the RPMs were not being correctly picked in the artifacts files. This fixes the issue. Signed-off-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: @ImAwsumm Reviewed-by: Tino Reichardt <[email protected]>
1 parent 684e326 commit 8a33ba2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/scripts/qemu-4-build-vm.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,9 @@ function rpm_build_and_install() {
259259

260260
# ZFS release RPMs are built. Copy them to the ~/zfs directory just to
261261
# keep all the RPMs in the same place.
262-
cp ~/rpmbuild/RPMS/noarch/*.rpm .
263-
cp ~/rpmbuild/SRPMS/*.rpm .
262+
cp ~/rpmbuild/RPMS/noarch/*.rpm ~/zfs
263+
cp ~/rpmbuild/SRPMS/*.rpm ~/zfs
264+
264265
popd
265266
rm -fr ~/rpmbuild
266267
echo "##[endgroup]"

0 commit comments

Comments
 (0)