public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Simon de Vlieger <cmdr@supakeen.com>
To: git-commits@fedoraproject.org
Subject: [rpms/image-builder] rawhide: drop unused patches
Date: Thu, 08 Oct 2026 18:09:40 GMT	[thread overview]
Message-ID: <179148298027.1.8492115504466778698.rpms-image-builder-bcda5dafc942@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/image-builder
Branch : rawhide
Commit : bcda5dafc94266780bb2b72b8a81336133f1091c
Author : Simon de Vlieger <cmdr@supakeen.com>
Date   : 2026-10-08T20:04:24+02:00
Stats  : +0/-143 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/image-builder/c/bcda5dafc94266780bb2b72b8a81336133f1091c?branch=rawhide

Log:
drop unused patches

---
diff --git a/2542.patch b/2542.patch
deleted file mode 100644
index 31073b4..0000000
--- a/2542.patch
+++ /dev/null
@@ -1,114 +0,0 @@
-From 8008d1202653520db1fbff62e80456d36e8b9e57 Mon Sep 17 00:00:00 2001
-From: Simon de Vlieger <cmdr@supakeen.com>
-Date: Tue, 21 Jul 2026 22:14:14 +0200
-Subject: [PATCH 1/2] image-builder: test distro detection
-
-This is a failing test for the problem introduced in
-40c680562189265f544680864b98a736e6b2855d. The `getImage` function does
-not try to detect the host distribution when `distroStr` is empty.
-
-Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
----
- cmd/image-builder/main_test.go | 40 ++++++++++++++++++++++++++++++++++
- 1 file changed, 40 insertions(+)
-
-diff --git a/cmd/image-builder/main_test.go b/cmd/image-builder/main_test.go
-index 446c5e7b06..78d52338b7 100644
---- a/cmd/image-builder/main_test.go
-+++ b/cmd/image-builder/main_test.go
-@@ -224,6 +224,46 @@ func TestManifestIntegrationSmoke(t *testing.T) {
- 	}
- }
- 
-+func TestManifestIntegrationAutoDetectDistro(t *testing.T) {
-+	restore := main.MockManifestgenDepsolver(fakeDepsolve)
-+	defer restore()
-+
-+	restore = main.MockManifestgenContainerResolver(fakeContainerResolver)
-+	defer restore()
-+
-+	restore = main.MockNewRepoRegistry(testrepos.New)
-+	defer restore()
-+
-+	restore = main.MockDistroGetHostDistroName(func() (string, error) {
-+		return "centos-9", nil
-+	})
-+	defer restore()
-+
-+	restore = main.MockOsArgs([]string{
-+		"manifest",
-+		"qcow2",
-+		"--arch=x86_64",
-+		fmt.Sprintf("--blueprint=%s", makeTestBlueprint(t, testBlueprint)),
-+	})
-+	defer restore()
-+
-+	var fakeStdout bytes.Buffer
-+	restore = main.MockOsStdout(&fakeStdout)
-+	defer restore()
-+
-+	var fakeStderr bytes.Buffer
-+	restore = main.MockOsStderr(&fakeStderr)
-+	defer restore()
-+
-+	err := main.Run()
-+	require.NoError(t, err)
-+
-+	pipelineNames, err := manifesttest.PipelineNamesFrom(fakeStdout.Bytes())
-+	require.NoError(t, err)
-+	assert.Contains(t, pipelineNames, "qcow2")
-+	assert.Contains(t, fakeStderr.String(), `No distro name specified, selecting "centos-9" based on host`)
-+}
-+
- func TestManifestIntegrationCrossArch(t *testing.T) {
- 	if testing.Short() {
- 		t.Skip("manifest generation takes a while")
-
-From 39123edbeaaea34469549d4b349226c08a213c1c Mon Sep 17 00:00:00 2001
-From: Simon de Vlieger <cmdr@supakeen.com>
-Date: Tue, 21 Jul 2026 22:20:02 +0200
-Subject: [PATCH 2/2] image-builder: fallback to host distro in getImage
-
-This introduces a bit of duplication but fixes a critical bug where
-distribution detection was not performed when no distro is passed to the
-`build` or `describe` subcommands.
-
-The duplication can be unified later. See previous commit for the test
-case for this behavior.
-
-See this [1] bug for more details.
-
-[1]: https://github.com/osbuild/image-builder/issues/2541
-
-Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
----
- cmd/image-builder/main.go | 16 ++++++++++++++++
- 1 file changed, 16 insertions(+)
-
-diff --git a/cmd/image-builder/main.go b/cmd/image-builder/main.go
-index 94d25104c4..8b15555f99 100644
---- a/cmd/image-builder/main.go
-+++ b/cmd/image-builder/main.go
-@@ -349,6 +349,22 @@ func getImage(cmd *cobra.Command, args []string) (*imagefilter.Result, error) {
- 		}
- 		img = &imagefilter.Result{ImgType: imgType, Repos: nil}
- 	} else {
-+		var bpDistroName string
-+		blueprintPath, err := cmd.Flags().GetString("blueprint")
-+		if err != nil {
-+			return nil, err
-+		}
-+		if blueprintPath != "" {
-+			bp, err := blueprintload.Load(blueprintPath)
-+			if err != nil {
-+				return nil, err
-+			}
-+			bpDistroName = bp.Distro
-+		}
-+		distroStr, err = findDistro(distroStr, bpDistroName)
-+		if err != nil {
-+			return nil, err
-+		}
- 		repoOpts := &repoOptions{
- 			RepoDir:      repoDir,
- 			ExtraRepos:   extraRepos,

diff --git a/2735.patch b/2735.patch
deleted file mode 100644
index d39868f..0000000
--- a/2735.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 35a5eeb7f9af61fb7589b8d22f1d755fff703036 Mon Sep 17 00:00:00 2001
-From: Simon de Vlieger <cmdr@supakeen.com>
-Date: Thu, 1 Oct 2026 17:22:51 +0200
-Subject: [PATCH] fedora: allow `customizations.iso`
-
-Allow the `iso` customization to be passed on Fedora's network and
-everything installers. We already had the option to configure them but
-to be able to pass it along we need to allow it in the blueprint as
-well. This is necessary to resolve RHBZ#2544660 [1].
-
-[1]: https://bugzilla.redhat.com/show_bug.cgi?id=2544660
-
-Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
----
- data/distrodefs/fedora/imagetypes.yaml | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/data/distrodefs/fedora/imagetypes.yaml b/data/distrodefs/fedora/imagetypes.yaml
-index 2ed1e474fc..5e8bf41d11 100644
---- a/data/distrodefs/fedora/imagetypes.yaml
-+++ b/data/distrodefs/fedora/imagetypes.yaml
-@@ -2629,6 +2629,7 @@ image_types:
-         - "customizations.fips"
-         - "customizations.group"
-         - "customizations.installer"
-+        - "customizations.iso"
-         - "customizations.kernel.append"
-         - "customizations.locale"
-         - "customizations.user"

                 reply	other threads:[~2026-10-08 18:09 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=179148298027.1.8492115504466778698.rpms-image-builder-bcda5dafc942@fedoraproject.org \
    --to=cmdr@supakeen.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