SHA256
1
0
forked from pool/ignition

16 Commits

Author SHA256 Message Date
e4e7a9df3a Accepting request 1328545 from devel:kubic:ignition
OBS-URL: https://build.opensuse.org/request/show/1328545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=55
2026-01-22 14:12:22 +00:00
5ba4662b72 Fix compatibility with dracut-ng. Similar patches were applied to combustion.
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=145
2026-01-21 15:41:11 +00:00
1541cbe98b Accepting request 1325115 from devel:kubic:ignition
- Update to version 2.25.1:
  * Bug fixes
    * Fix OpenStack provider returning empty JSON instead of empty
      bytes when metadata has no config
- Update to version 2.25.0:
  * Features
    * The name for custom clevis pins is not validated by Ignition
      anymore, enabling the use of arbitrary custom pins (3.6.0-exp)
    * Add NVIDIA BlueField provider
  * Bug fixes
    * Fix EnsureGroup to be idempotent when group already exists
      (#2158)
    * Fix invalid random source in FIPS 140-only mode in FIPS mode
      (#2159)
    * Only load kernel modules when actually necessary so that they
      can be built-in (#2164)

OBS-URL: https://build.opensuse.org/request/show/1325115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=54
2026-01-03 16:26:13 +00:00
2cb3902c8d - Update to version 2.25.1:
* Bug fixes
    * Fix OpenStack provider returning empty JSON instead of empty
      bytes when metadata has no config
- Update to version 2.25.0:
  * Features
    * The name for custom clevis pins is not validated by Ignition
      anymore, enabling the use of arbitrary custom pins (3.6.0-exp)
    * Add NVIDIA BlueField provider
  * Bug fixes
    * Fix EnsureGroup to be idempotent when group already exists
      (#2158)
    * Fix invalid random source in FIPS 140-only mode in FIPS mode
      (#2159)
    * Only load kernel modules when actually necessary so that they
      can be built-in (#2164)

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=143
2026-01-02 12:20:05 +00:00
3d2df31d4c Accepting request 1312438 from devel:kubic:ignition
- Update to version 2.24.0:
  * Features
    * Add support for nocloud config fetching in kubevirt
  * Bug fixes
    * Fix occasional cex.key file removal
    * Fix multipath partitioning: ignore DM holders when no
      partitions are mounted

OBS-URL: https://build.opensuse.org/request/show/1312438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=53
2025-10-23 14:35:15 +00:00
d8321a2645 - Update to version 2.24.0:
* Features
    * Add support for nocloud config fetching in kubevirt
  * Bug fixes
    * Fix occasional cex.key file removal
    * Fix multipath partitioning: ignore DM holders when no
      partitions are mounted

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=141
2025-10-20 14:47:00 +00:00
606b6b27a4 Accepting request 1305210 from devel:kubic:ignition
- Update to version 2.23.0:
  * Features
    * Support UpCloud
  * Changes
    * Switch to aws-sdk-go-v2 for S3 fetches and EC2 interactions
  *Bug fixes
    * Fix fetch-offline for Oracle Cloud Infrastructure

OBS-URL: https://build.opensuse.org/request/show/1305210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=52
2025-09-17 14:43:06 +00:00
6d03d6f8ab - Update to version 2.23.0:
* Features
    * Support UpCloud
  * Changes
    * Switch to aws-sdk-go-v2 for S3 fetches and EC2 interactions
  *Bug fixes
    * Fix fetch-offline for Oracle Cloud Infrastructure

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=139
2025-09-16 13:29:56 +00:00
ea0f423a55 Accepting request 1294836 from devel:kubic:ignition
- Update to version 2.22.0:
  * Features
    * Support Oracle Cloud Infrastructure
  * Changes
    * Rename ignition.cfg -> 05_ignition.cfg
    * Support setting setuid/setgid/sticky mode bits (3.6.0-exp)
    * Warn if setuid/setgid/sticky mode bits specified (3.4.0 - 3.5.0)
    * Add initial TMT tests and a new workflow to execute tests on PRs

OBS-URL: https://build.opensuse.org/request/show/1294836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=51
2025-07-23 14:31:53 +00:00
65b96e46a3 - Update to version 2.22.0:
* Features
    * Support Oracle Cloud Infrastructure
  * Changes
    * Rename ignition.cfg -> 05_ignition.cfg
    * Support setting setuid/setgid/sticky mode bits (3.6.0-exp)
    * Warn if setuid/setgid/sticky mode bits specified (3.4.0 - 3.5.0)
    * Add initial TMT tests and a new workflow to execute tests on PRs

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=137
2025-07-21 13:02:54 +00:00
3ef6672689 Accepting request 1289304 from devel:kubic:ignition
OBS-URL: https://build.opensuse.org/request/show/1289304
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=50
2025-07-01 09:33:51 +00:00
94091a4fad ignition-suse-generator: Only use Ignition platform ID when the corresponding kernel modules are found [bsc#1234315] [boo#1230668] [gh#coreos/ignition#1984]
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=135
2025-06-30 15:02:42 +00:00
ddb6231bb8 Accepting request 1268379 from devel:kubic:ignition
OBS-URL: https://build.opensuse.org/request/show/1268379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=49
2025-04-11 14:44:24 +00:00
9508674cb3 - Update to version 2.21.0:
* Features
    * Add Azure blob support for fetching ignition configs
    * Add a check for ignition config in vendor-data (proxmoxve)
  * Bug fixes
    * Add pkey_cca kernel module to detect CEX domain for LUKS encryption
- Add support for nested /etc subvolume (t-u 5.0.0)

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=133
2025-04-10 12:06:22 +00:00
9e7682d840 Accepting request 1222585 from devel:kubic:ignition
- Update to version 2.20.0:
  * Features
    * Support partitioning disk with mounted partitions
    * Support Proxmox VE
    * Support gzipped Akamai user_data
  * Changes
    * The Dracut module now installs partx
    * Mark the 3.5.0 config spec as stable
    * No longer accept configs with version 3.5.0-experimental
    * Create new 3.6.0-experimental config spec from 3.5.0
  * Bug fixes
    * Fix network race when phoning home on Equinix Metal
    * Fix Akamai Ignition base64 decoding on padded payloads
    * Fix Makefile GOARCH for loongarch64 (#1942)
- Drop go build bugfix again, fixed upstream
- Adapting 0002-allow-multiple-mounts-of-same-device.patch to new
  3.6.0 spec

OBS-URL: https://build.opensuse.org/request/show/1222585
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=48
2024-11-08 10:55:56 +00:00
69f59feb61 - Update to version 2.20.0:
* Features
    * Support partitioning disk with mounted partitions
    * Support Proxmox VE
    * Support gzipped Akamai user_data
  * Changes
    * The Dracut module now installs partx
    * Mark the 3.5.0 config spec as stable
    * No longer accept configs with version 3.5.0-experimental
    * Create new 3.6.0-experimental config spec from 3.5.0
  * Bug fixes
    * Fix network race when phoning home on Equinix Metal
    * Fix Akamai Ignition base64 decoding on padded payloads
    * Fix Makefile GOARCH for loongarch64 (#1942)
- Drop go build bugfix again, fixed upstream
- Adapting 0002-allow-multiple-mounts-of-same-device.patch to new
  3.6.0 spec

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=131
2024-11-07 20:16:44 +00:00
14 changed files with 174 additions and 38 deletions

View File

@@ -6,10 +6,10 @@ Upstream: Ticket opened [gh#coreos/ignition#890]
e.g. to mount several subvolumes from a Btrfs device or bind mounting
the device to multiple places, by also adding the path to the key.
Index: ignition-2.16.2/config/v3_1/types/filesystem.go
Index: ignition-2.20.0/config/v3_1/types/filesystem.go
===================================================================
--- ignition-2.16.2.orig/config/v3_1/types/filesystem.go
+++ ignition-2.16.2/config/v3_1/types/filesystem.go
--- ignition-2.20.0.orig/config/v3_1/types/filesystem.go
+++ ignition-2.20.0/config/v3_1/types/filesystem.go
@@ -23,6 +23,9 @@ import (
)
@@ -20,10 +20,10 @@ Index: ignition-2.16.2/config/v3_1/types/filesystem.go
return f.Device
}
Index: ignition-2.16.2/config/v3_2/types/filesystem.go
Index: ignition-2.20.0/config/v3_2/types/filesystem.go
===================================================================
--- ignition-2.16.2.orig/config/v3_2/types/filesystem.go
+++ ignition-2.16.2/config/v3_2/types/filesystem.go
--- ignition-2.20.0.orig/config/v3_2/types/filesystem.go
+++ ignition-2.20.0/config/v3_2/types/filesystem.go
@@ -23,6 +23,9 @@ import (
)
@@ -34,10 +34,10 @@ Index: ignition-2.16.2/config/v3_2/types/filesystem.go
return f.Device
}
Index: ignition-2.16.2/config/v3_3/types/filesystem.go
Index: ignition-2.20.0/config/v3_3/types/filesystem.go
===================================================================
--- ignition-2.16.2.orig/config/v3_3/types/filesystem.go
+++ ignition-2.16.2/config/v3_3/types/filesystem.go
--- ignition-2.20.0.orig/config/v3_3/types/filesystem.go
+++ ignition-2.20.0/config/v3_3/types/filesystem.go
@@ -23,6 +23,9 @@ import (
)
@@ -48,10 +48,10 @@ Index: ignition-2.16.2/config/v3_3/types/filesystem.go
return f.Device
}
Index: ignition-2.16.2/config/v3_4/types/filesystem.go
Index: ignition-2.20.0/config/v3_4/types/filesystem.go
===================================================================
--- ignition-2.16.2.orig/config/v3_4/types/filesystem.go
+++ ignition-2.16.2/config/v3_4/types/filesystem.go
--- ignition-2.20.0.orig/config/v3_4/types/filesystem.go
+++ ignition-2.20.0/config/v3_4/types/filesystem.go
@@ -23,6 +23,9 @@ import (
)
@@ -62,10 +62,24 @@ Index: ignition-2.16.2/config/v3_4/types/filesystem.go
return f.Device
}
Index: ignition-2.16.2/config/v3_5_experimental/types/filesystem.go
Index: ignition-2.20.0/config/v3_5/types/filesystem.go
===================================================================
--- ignition-2.16.2.orig/config/v3_5_experimental/types/filesystem.go
+++ ignition-2.16.2/config/v3_5_experimental/types/filesystem.go
--- ignition-2.20.0.orig/config/v3_5/types/filesystem.go
+++ ignition-2.20.0/config/v3_5/types/filesystem.go
@@ -23,6 +23,9 @@ import (
)
func (f Filesystem) Key() string {
+ if (f.Path != nil) {
+ return f.Device + *f.Path
+ }
return f.Device
}
Index: ignition-2.20.0/config/v3_6_experimental/types/filesystem.go
===================================================================
--- ignition-2.20.0.orig/config/v3_6_experimental/types/filesystem.go
+++ ignition-2.20.0/config/v3_6_experimental/types/filesystem.go
@@ -23,6 +23,9 @@ import (
)

View File

@@ -1,7 +1,7 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="version">2.19.0</param>
<param name="revision">v2.19.0</param>
<param name="version">2.25.1</param>
<param name="revision">v2.25.1</param>
<param name="url">https://github.com/coreos/ignition</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>

View File

@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/coreos/ignition</param>
<param name="changesrevision">09c99e0305adc1377b87964a39ad2d009aec9b12</param>
<param name="changesrevision">ef86d6118071a0094f286a13c19f85f2d86a00bc</param>
</service>
</servicedata>

Binary file not shown.

3
ignition-2.25.1.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:efcaf37ab31c183b8e8ea28c444215d7dce0fd07182a876305e5d4d5fa529db7
size 4648488

View File

@@ -15,7 +15,7 @@ Before=ignition-fetch.service
# See hack in coreos-enable-network, as well as coreos-copy-firstboot-network.service;
# adapted for SUSE / wicked use
After=dracut-cmdline.service
Before=dracut-initqueue.service nm-initrd.service
Before=dracut-initqueue.service nm-initrd.service NetworkManager-initrd.service
[Service]
Type=oneshot

View File

@@ -14,5 +14,8 @@ if [ -f /run/ignition/neednet ] && ! getargbool 0 'rd.neednet'; then
else
# NetworkManager
. /lib/dracut/hooks/cmdline/99-nm-config.sh
if [ -e /usr/lib/systemd/system/NetworkManager-config-initrd.service ]; then
systemctl restart NetworkManager-config-initrd.service
fi
fi
fi

View File

@@ -10,8 +10,8 @@ grubcfg="/sysroot/etc/default/grub"
# for us.
. /dracut-state.sh
mount "${root#block:}" "${NEWROOT}"
# Also mount x-initrd.mount flagged mounts to get the current /etc state
awk '$4 ~ /x-initrd.mount/ { system("findmnt /sysroot" $2 " >/dev/null || mount -t " $3 " -o " $4 " " $1 " /sysroot" $2) }' /sysroot/etc/fstab
# Mount x-initrd.mount flagged mounts, but skip the bind mount of the new nested subvolume based /etc
awk '$4 ~ /x-initrd.mount/ && ! ( $2 == "/etc" && $3 == "none" ) { system("findmnt /sysroot" $2 " >/dev/null || mount -t " $3 " -o " $4 " " $1 " /sysroot" $2) }' /sysroot/etc/fstab
orig_kernelopts="$(grep GRUB_CMDLINE_LINUX_DEFAULT "${grubcfg}")"
orig_kernelopts="${orig_kernelopts#*=}"

View File

@@ -17,4 +17,4 @@ Before=ignition-files.service
[Service]
Type=oneshot
ExecStart=/bin/sh -e -c 'eval $(awk '"'"'$4 ~ /x-initrd.mount/ && $1 !~ /^#/ {print "if ! findmnt /sysroot" $2 " >/dev/null; then mount -t " $3 " -o " $4 " " $1 " /sysroot" $2 "; fi;" }'"'"' /sysroot/etc/fstab)'
ExecStart=/bin/sh -e -c 'eval $(awk '"'"'$4 ~ /x-initrd.mount/ && $1 !~ /^#/ && ! ( $2 == "/etc" && $3 == "none" ) {print "if ! findmnt /sysroot" $2 " >/dev/null; then mount -t " $3 " -o " $4 " " $1 " /sysroot" $2 "; fi;" }'"'"' /sysroot/etc/fstab)'

View File

@@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
set -e
@@ -42,12 +40,24 @@ add_requires ignition-umount-initrd-fstab.service ignition-files.service
add_requires ignition-enable-network.service ignition-fetch.service
if [ -z "${PLATFORM_ID}" ]; then
platform="$(systemd-detect-virt || true)"
case "${platform}" in
*vmware*) platform="vmware" ;;
*oracle*) platform="virtualbox" ;;
*kvm*|*qemu*) platform="qemu" ;;
*) platform="metal" ;;
platform="metal"
detectedvirt="$(systemd-detect-virt || true)"
case "${detectedvirt}" in
*vmware*)
if modinfo -F name vmw_vsock_virtio_transport >/dev/null; then
platform="vmware"
fi
;;
*oracle*)
if modinfo -F name vboxguest >/dev/null; then
platform="virtualbox"
fi
;;
*kvm*|*qemu*)
if modinfo -F name qemu_fw_cfg >/dev/null; then
platform="qemu"
fi
;;
esac
echo "PLATFORM_ID=${platform}" > /run/ignition.env
fi

View File

@@ -9,4 +9,4 @@ Before=initrd-parse-etc.service
[Service]
Type=oneshot
ExecStart=/bin/sh -e -c 'if [ -f /sysroot/etc/systemd/system-preset/20-ignition.preset ]; then while read line; do systemctl --root=/sysroot $line; done < /sysroot/etc/systemd/system-preset/20-ignition.preset; fi'
ExecStart=/bin/sh -e -c 'eval $(awk '"'"'$4 ~ /x-initrd.mount/ && $1 !~ /^#/ {print "if findmnt /sysroot" $2 " >/dev/null; then umount -R /sysroot" $2 "; fi;" }'"'"' /sysroot/etc/fstab)'
ExecStart=/bin/sh -e -c 'eval $(awk '"'"'$4 ~ /x-initrd.mount/ && $1 !~ /^#/ && ! ( $2 == "/etc" && $3 == "none" ) {print "if findmnt /sysroot" $2 " >/dev/null; then umount -R /sysroot" $2 "; fi;" }'"'"' /sysroot/etc/fstab)'

View File

@@ -1,3 +1,112 @@
-------------------------------------------------------------------
Fri Jan 16 14:12:31 UTC 2026 - Antonio Feijoo <antonio.feijoo@suse.com>
- Adapt code to the new initrd services provided by NetworkManager
upstream, used in dracut-ng:
* ignition-enable-network.service: Also order it before
NetworkManager-initrd.service.
* ignition-enable-network.sh: This script sets `rd.neednet` in
/etc/cmdline.d/40-ignition-neednet.conf after dracut's cmdline
hooks run, so it manually sources network-manager's cmdline hook
`/lib/dracut/hooks/cmdline/99-nm-config.sh` to call
nm-initrd-generator and generate connections. This is done now by
NetworkManager-config-initrd.service.
-------------------------------------------------------------------
Fri Jan 02 12:13:05 UTC 2026 - Ignaz Forster <iforster@suse.com>
- Update to version 2.25.1:
* Bug fixes
* Fix OpenStack provider returning empty JSON instead of empty
bytes when metadata has no config
- Update to version 2.25.0:
* Features
* The name for custom clevis pins is not validated by Ignition
anymore, enabling the use of arbitrary custom pins (3.6.0-exp)
* Add NVIDIA BlueField provider
* Bug fixes
* Fix EnsureGroup to be idempotent when group already exists
(#2158)
* Fix invalid random source in FIPS 140-only mode in FIPS mode
(#2159)
* Only load kernel modules when actually necessary so that they
can be built-in (#2164)
-------------------------------------------------------------------
Mon Oct 20 14:34:33 UTC 2025 - Ignaz Forster <iforster@suse.com>
- Update to version 2.24.0:
* Features
* Add support for nocloud config fetching in kubevirt
* Bug fixes
* Fix occasional cex.key file removal
* Fix multipath partitioning: ignore DM holders when no
partitions are mounted
-------------------------------------------------------------------
Tue Sep 16 13:24:12 UTC 2025 - Ignaz Forster <iforster@suse.com>
- Update to version 2.23.0:
* Features
* Support UpCloud
* Changes
* Switch to aws-sdk-go-v2 for S3 fetches and EC2 interactions
*Bug fixes
* Fix fetch-offline for Oracle Cloud Infrastructure
-------------------------------------------------------------------
Mon Jul 21 12:56:07 UTC 2025 - Ignaz Forster <iforster@suse.com>
- Update to version 2.22.0:
* Features
* Support Oracle Cloud Infrastructure
* Changes
* Rename ignition.cfg -> 05_ignition.cfg
* Support setting setuid/setgid/sticky mode bits (3.6.0-exp)
* Warn if setuid/setgid/sticky mode bits specified (3.4.0 -
3.5.0)
* Add initial TMT tests and a new workflow to execute tests on
PRs
-------------------------------------------------------------------
Mon Jun 30 14:08:02 UTC 2025 - Ignaz Forster <iforster@suse.com>
- ignition-suse-generator: Only use Ignition platform ID when
the corresponding kernel modules are found
[bsc#1234315] [boo#1230668] [gh#coreos/ignition#1984]
-------------------------------------------------------------------
Tue Apr 01 11:56:36 UTC 2025 - iforster@suse.com
- Update to version 2.21.0:
* Features
* Add Azure blob support for fetching ignition configs
* Add a check for ignition config in vendor-data (proxmoxve)
* Bug fixes
* Add pkey_cca kernel module to detect CEX domain for LUKS encryption
- Add support for nested /etc subvolume (t-u 5.0.0)
-------------------------------------------------------------------
Thu Nov 07 19:58:35 UTC 2024 - iforster@suse.com
- Update to version 2.20.0:
* Features
* Support partitioning disk with mounted partitions
* Support Proxmox VE
* Support gzipped Akamai user_data
* Changes
* The Dracut module now installs partx
* Mark the 3.5.0 config spec as stable
* No longer accept configs with version 3.5.0-experimental
* Create new 3.6.0-experimental config spec from 3.5.0
* Bug fixes
* Fix network race when phoning home on Equinix Metal
* Fix Akamai Ignition base64 decoding on padded payloads
* Fix Makefile GOARCH for loongarch64 (#1942)
- Drop go build bugfix again, fixed upstream
- Adapting 0002-allow-multiple-mounts-of-same-device.patch to new
3.6.0 spec
-------------------------------------------------------------------
Fri Aug 30 15:27:58 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,8 @@
#
# spec file for package ignition
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +18,7 @@
Name: ignition
Version: 2.19.0
Version: 2.25.1
Release: 0
Summary: First boot installer and configuration tool
License: Apache-2.0
@@ -94,7 +95,6 @@ cp %{SOURCE12} dracut/30ignition/ignition-kargs-helper.sh
%build
sed -i -e 's|go build -ldflags|go build -buildmode=pie -ldflags|g' build
sed -i -e '/go clean/d' build
VERSION=%{version} GLDFLAGS='-X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=false -X github.com/coreos/ignition/v2/internal/distro.writeAuthorizedKeysFragment=false ' ./build
%check

View File

@@ -41,7 +41,7 @@ install() {
"/usr/sbin/ignition-enable-network"
inst_script "$moddir/ignition-setup-user.sh" \
"/usr/sbin/ignition-setup-user"
inst_multiple awk systemd-detect-virt cryptsetup
inst_multiple awk systemd-detect-virt cryptsetup modinfo
install_ignition_unit ignition-remove-reconfig_system.service initrd.target
install_ignition_unit ignition-setup-user.service
}