public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yanko Kaneti <yaneti@declera.com>
To: git-commits@fedoraproject.org
Subject: [rpms/genimage] f44: FTBFS massage for broken tests
Date: Wed, 03 Jun 2026 13:47:52 GMT	[thread overview]
Message-ID: <178049447259.1.14418525625649510180.rpms-genimage-fd36e6842373@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/genimage
Branch : f44
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=f44

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

                 reply	other threads:[~2026-06-03 13:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178049447259.1.14418525625649510180.rpms-genimage-fd36e6842373@fedoraproject.org \
    --to=yaneti@declera.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox