public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ignition] rawhide: Update to 2.28.0
@ 2026-10-13 13:18 Steven Presti
0 siblings, 0 replies; only message in thread
From: Steven Presti @ 2026-10-13 13:18 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ignition
Branch : rawhide
Commit : 5b822c6f224de71eddb30ceed1e62d259b24671e
Author : Steven Presti <spresti@redhat.com>
Date : 2026-10-12T14:46:50-04:00
Stats : +8/-147 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/ignition/c/5b822c6f224de71eddb30ceed1e62d259b24671e?branch=rawhide
Log:
Update to 2.28.0
---
diff --git a/.gitignore b/.gitignore
index 8aecf5b..48556b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -77,3 +77,4 @@
/ignition-2.27.0.tar.gz
/ignition-edge-6be7c94.tar.gz
/ignition-edge-b6c8245.tar.gz
+/ignition-2.28.0.tar.gz
diff --git a/0001-internal-exec-stages-files-resolve-intermediate-syml.patch b/0001-internal-exec-stages-files-resolve-intermediate-syml.patch
deleted file mode 100644
index d08417e..0000000
--- a/0001-internal-exec-stages-files-resolve-intermediate-syml.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 6dd62cb069f1d7d214a50bebc0677800328986be Mon Sep 17 00:00:00 2001
-From: Rolv Apneseth <rolv.apneseth@gmail.com>
-Date: Tue, 1 Sep 2026 14:53:44 +0100
-Subject: [PATCH] internal/exec/stages/files: resolve intermediate symlinks in
- relabel paths
-
-Due to a recent libselinux (3.11) update in the next/testing streams of
-FCOS, Software Factory nodes started failing provisioning.
-
-They had a home_dir: /home/zuul-worker defined in their butane config
-and were failing with a relabelling issue. With the 3.11 update
-(including
-https://github.com/SELinuxProject/selinux/commit/67bc978bfaf9e4d00883fbaf1f83f5fb6a0018ce),
-lstat() was replaced with safe_open() using O_NOFOLLOW on intermediate
-path components. This ended up exposing a latent bug in Ignition since
-only the final component was being resolved via ResolveSymlink(), so
-/home/user (where /home -> var/home on ostree) is passed unresolved.
-setfiles no longer resolves for us, leading to the failures.
-
-Avoid this issue by using JoinPath() to resolve intermediate symlinks in
-directory paths before passing them to setfiles for SELinux relabelling.
-
-https://github.com/coreos/ignition/pull/2316
----
- docs/release-notes.md | 1 +
- internal/exec/stages/files/passwd.go | 17 +++++++++++++----
- 2 files changed, 14 insertions(+), 4 deletions(-)
-
-diff --git a/internal/exec/stages/files/passwd.go b/internal/exec/stages/files/passwd.go
-index 737e9cced..85f661945 100644
---- a/internal/exec/stages/files/passwd.go
-+++ b/internal/exec/stages/files/passwd.go
-@@ -80,17 +80,26 @@ func (s *stage) createPasswd(config types.Config) error {
- return err
- }
-
-+ // Resolve intermediate symlinks in the homedir path.
-+ // This is relevant on OSTree-based platforms, where
-+ // /home is a symlink to var/home.
-+ resolvedPath, err := s.JoinPath(homedir)
-+ if err != nil {
-+ return err
-+ }
-+ unprefixed := resolvedPath[len(s.DestDir):]
-+
- // Check if the homedir is actually a symlink, and make sure we
- // relabel the target instead in that case. This is relevant on
- // OSTree-based platforms, where /root is a link to /var/roothome.
-- if resolved, err := s.ResolveSymlink(homedir); err != nil {
-+ if target, err := s.ResolveSymlink(unprefixed); err != nil {
- return err
-- } else if resolved != "" {
-+ } else if target != "" {
- // note we don't relabel the symlink itself; we assume it's
- // already properly labeled
-- s.relabel(resolved)
-+ s.relabel(target)
- } else {
-- s.relabel(homedir)
-+ s.relabel(unprefixed)
- }
- }
- }
diff --git a/0002-Makefile-install-usr-bin-fcct-as-symlink-to-butane.patch b/0002-Makefile-install-usr-bin-fcct-as-symlink-to-butane.patch
deleted file mode 100644
index dc2c0bf..0000000
--- a/0002-Makefile-install-usr-bin-fcct-as-symlink-to-butane.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 6b570eeb1a8a7c72d9293ee4ffdd681074bb005e Mon Sep 17 00:00:00 2001
-From: Bipin B Narayan <bbnaraya@redhat.com>
-Date: Tue, 29 Sep 2026 15:20:00 +0530
-Subject: [PATCH] Makefile: install /usr/bin/fcct as symlink to butane
-
----
- Makefile | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/Makefile b/Makefile
-index 1cd905a0..f33e4c72 100644
---- a/Makefile
-+++ b/Makefile
-@@ -72,6 +72,7 @@ install-ignition-validate-cross:
- .PHONY: install-butane
- install-butane:
- install -m 0755 -D -t $(DESTDIR)/usr/bin $(BIN_PATH)/butane
-+ ln -sf butane $(DESTDIR)/usr/bin/fcct
-
- # For distros that need to build cross platform butane binaries
- .PHONY: install-butane-cross
---
-2.55.0
-
diff --git a/0003-build-don-t-strip-DWARF-debug-info-from-butane.patch b/0003-build-don-t-strip-DWARF-debug-info-from-butane.patch
deleted file mode 100644
index 00dbaba..0000000
--- a/0003-build-don-t-strip-DWARF-debug-info-from-butane.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 21cc98857057175d3d17a6e4b1f39855c9d8b317 Mon Sep 17 00:00:00 2001
-From: Steven Presti <spresti@redhat.com>
-Date: Fri, 9 Oct 2026 12:52:01 -0400
-Subject: [PATCH] build: don't strip DWARF debug info from butane
-
-The butane and cross-butane builds passed '-w' to the Go linker, which
-omits the DWARF debug info from the resulting binaries. This diverges
-from the ignition and ignition-validate builds, which keep debug info,
-and leaves downstream debuginfo packages without usable debug symbols.
-
-Drop '-w' so butane produces debuggable binaries consistent with the
-other build targets. Distro packaging still splits debug symbols into a
-separate debuginfo package, so the shipped binary remains stripped.
-
-Signed-off-by: Steven Presti <spresti@redhat.com>
----
- build | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/build b/build
-index 4c96bd99..20e08739 100755
---- a/build
-+++ b/build
-@@ -67,7 +67,7 @@ ignition_validate_cross() {
-
- butane() {
- local name="butane"
-- local butane_ldflags="-w -X github.com/coreos/ignition/v2/butane/internal/version.Raw=${VERSION}"
-+ local butane_ldflags="-X github.com/coreos/ignition/v2/butane/internal/version.Raw=${VERSION}"
-
- echo "Building ${name}..."
- CGO_ENABLED=0 go build -ldflags "${butane_ldflags}" -o "${BIN_PATH}/${name}" ${REPO_PATH}/butane/internal
-@@ -75,7 +75,7 @@ butane() {
-
- build_cross_butane() {
- local goos=$1 goarch=$2 output=$3
-- local butane_ldflags="-w -X github.com/coreos/ignition/v2/butane/internal/version.Raw=${VERSION}"
-+ local butane_ldflags="-X github.com/coreos/ignition/v2/butane/internal/version.Raw=${VERSION}"
- echo "Building ${output}..."
- CGO_ENABLED=0 GOARCH=${goarch} GOOS=${goos} go build -ldflags "${butane_ldflags}" -a -v -x -o "${BIN_PATH}/${output}" ${REPO_PATH}/butane/internal
- }
---
-2.54.0
-
diff --git a/ignition.spec b/ignition.spec
index ffc866f..230eed6 100644
--- a/ignition.spec
+++ b/ignition.spec
@@ -13,7 +13,7 @@
# https://github.com/coreos/ignition
%global goipath github.com/coreos/ignition
%global gomodulesmode GO111MODULE=on
-Version: 2.27.0
+Version: 2.28.0
%gometa
@@ -22,7 +22,7 @@ Version: 2.27.0
%global dracutlibdir %{_prefix}/lib/dracut
Name: ignition
-Release: 4%{?dist}
+Release: 1%{?dist}
Summary: First boot installer and configuration tool
# Upstream license specification: Apache-2.0
@@ -32,18 +32,6 @@ Source0: %{gosource}
Source1: https://github.com/fedora-iot/ignition-edge/archive/%{ignedgecommit}/ignition-edge-%{ignedgeshortcommit}.tar.gz
Source2: 91-ignition-authorized-keys-file.conf
-# Backport fix for SELinux relabelling failures when specifying a symlink for home_dir
-# https://github.com/coreos/ignition/pull/2316
-# https://github.com/coreos/fedora-coreos-tracker/issues/2216
-Patch0: 0001-internal-exec-stages-files-resolve-intermediate-syml.patch
-
-# Install /usr/bin/fcct as a symlink to butane.
-Patch1: 0002-Makefile-install-usr-bin-fcct-as-symlink-to-butane.patch
-
-# Don't strip DWARF debug info from butane so butane-debuginfo is valid
-# Merged upstream: https://github.com/coreos/ignition/pull/2341
-Patch2: 0003-build-don-t-strip-DWARF-debug-info-from-butane.patch
-
BuildRequires: libblkid-devel
BuildRequires: systemd-rpm-macros
@@ -418,6 +406,10 @@ make install-butane-cross BIN_PATH=bin DESTDIR=%{buildroot}
%endif
%changelog
+* Mon Oct 12 2026 Steven Presti <spresti@redhat.com> - 2.28.0-1
+- New upstream release
+- Drop patches merged upstream
+
* Tue Sep 29 2026 Bipin B Narayan <bbnaraya@redhat.com> - 2.27.0-4
- Use makefile from ignition repo for building and installing the files.
- Backport build: install /usr/bin/fcct as symlink to butane
@@ -954,4 +946,3 @@ make install-butane-cross BIN_PATH=bin DESTDIR=%{buildroot}
* Thu Jun 21 2018 Dusty Mabe <dusty@dustymabe.com> - 0.26.0-0.1.git7610725
- First package for Fedora
-
diff --git a/sources b/sources
index 443091c..0aba2fb 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (ignition-2.27.0.tar.gz) = 7f1ad2da57a196ba0d01b7f2f886f1484edb1f48b8f295f1ad9a4ef9ba2801f0d9d3e9701ec266b4a2446bbf182c50c6733b5ca069ac0c749d77ed342d6a6a9e
+SHA512 (ignition-2.28.0.tar.gz) = 8d54ba69ef5ded2b49ff386c778a87bc64e813924a94540f1b3acf8fb835e22c345c369ce68affe710ae1bc951857cb39798d3b55d321a085dfb4d4fcfdf7a07
SHA512 (ignition-edge-b6c8245.tar.gz) = fb823a7c87c7014fcb38566fcd41b11bd38ff27e1ca2bfe6b76111bbabab0d917bc7ba56af450eab434d1907a056b0b1a0fcd6d29e456a4ba2985ddf74efb155
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-13 13:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 13:18 [rpms/ignition] rawhide: Update to 2.28.0 Steven Presti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox