public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/genimage] rawhide: FTBFS massage for broken tests
@ 2026-06-03 13:46 Yanko Kaneti
  0 siblings, 0 replies; only message in thread
From: Yanko Kaneti @ 2026-06-03 13:46 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/genimage
Branch : rawhide
Commit : fd36e68423733a22df571121bbf393f4a2436b2d
Author : Yanko Kaneti <yaneti@declera.com>
Date   : 2026-06-03T16:46:08+03:00
Stats  : +14/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/genimage/c/fd36e68423733a22df571121bbf393f4a2436b2d?branch=rawhide

Log:
FTBFS massage for broken tests

---
diff --git a/genimage.spec b/genimage.spec
index 23dcdb5..f962e2f 100644
--- a/genimage.spec
+++ b/genimage.spec
@@ -1,5 +1,7 @@
 %global fs_block_tools %(cat <<EOF
+cpio \\
 e2fsprogs \\
+erofs-utils \\
 genext2fs \\
 genisoimage \\
 f2fs-tools \\
@@ -14,6 +16,16 @@ mtd-utils-ubi \\
 uboot-tools
 EOF)
 
+# Exclude some fs tools until their tests can cope with newer features
+# erofs-utils https://github.com/pengutronix/genimage/issues/309
+# genextfs    https://github.com/pengutronix/genimage/issues/330
+%global trim_fs_block_tools %{lua:
+	tr = rpm.expand('%{fs_block_tools}')
+	tr = string.gsub(tr,'genext2fs', '')
+	tr = string.gsub(tr ,'erofs%-utils', '')
+	print(tr)
+}
+
 Name:           genimage
 Version:        19
 
@@ -24,7 +36,7 @@ License:        GPL-2.0-only
 URL:            https://github.com/pengutronix/genimage/
 Source0:        %{url}/releases/download/v%{version}/genimage-%{version}.tar.xz
 
-Recommends:     %{fs_block_tools}
+Recommends:     %{trim_fs_block_tools}
 
 # https://bugzilla.redhat.com/show_bug.cgi?id=2374067
 ExcludeArch: s390x %{ix86}
@@ -38,7 +50,7 @@ BuildRequires:  coreutils
 BuildRequires:  python3-docutils
 # tests
 BuildRequires:  fakeroot
-BuildRequires:  %{fs_block_tools}
+BuildRequires:  %{trim_fs_block_tools}
 
 %description
 genimage is a tool to generate multiple filesystem and flash/disk

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-03 13:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-03 13:46 [rpms/genimage] rawhide: FTBFS massage for broken tests Yanko Kaneti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox