Commit Graph

129 Commits

Author SHA256 Message Date
Ana Guerrero
13c903d0c4 Accepting request 1179717 from devel:kubic:ignition
- Update to version 2.19.0:
  * Support LUKS encryption using IBM CEX secure keys on s390x
  * providers: add "akamai" provider
- Adding %check section
- Build scripts are executable by themselves now, remove explicit Bash call

OBS-URL: https://build.opensuse.org/request/show/1179717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=45
2024-06-11 16:27:22 +00:00
Ignaz Forster
64f8b03574 - Update to version 2.19.0:
* Support LUKS encryption using IBM CEX secure keys on s390x
  * providers: add "akamai" provider
- Adding %check section
- Build scripts are executable by themselves now, remove explicit
  Bash call

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=123
2024-06-10 14:46:47 +00:00
Ana Guerrero
64c12b6eb4 Accepting request 1158044 from devel:kubic:ignition
- Update to version 2.18.0:
  * NEWS: update 2.18.0
  * azure: retry HTTP requests on codes 404, 410, and 429
  * docs: add missing scaleway link
  * providers: add scaleway
  * resource/url: customize local address (port)
  * stages/files: filter out non-existent paths before relabeling
  * docs/release-notes: tweak dracut module change
  * Bump minimum Go version to 1.20
  * dracut: Don't include the ignition module by default
  * ci: cancel previous build on PR update
  * Sync repo templates ⚙
  * Update build(deps)
- Remove because included in upstream now:
  0005-dracut-Don-t-include-the-ignition-module-by-default.patch
- Increased required Go version

OBS-URL: https://build.opensuse.org/request/show/1158044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=44
2024-03-15 19:28:04 +00:00
Ignaz Forster
db1f09c4a1 - Update to version 2.18.0:
* NEWS: update 2.18.0
  * azure: retry HTTP requests on codes 404, 410, and 429
  * docs: add missing scaleway link
  * providers: add scaleway
  * resource/url: customize local address (port)
  * stages/files: filter out non-existent paths before relabeling
  * docs/release-notes: tweak dracut module change
  * Bump minimum Go version to 1.20
  * dracut: Don't include the ignition module by default
  * ci: cancel previous build on PR update
  * Sync repo templates ⚙
  * Update build(deps)
- Remove because included in upstream now:
  0005-dracut-Don-t-include-the-ignition-module-by-default.patch
- Increased required Go version

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=121
2024-03-14 15:46:54 +00:00
Dominique Leuenberger
4734931bed Accepting request 1153998 from devel:kubic:ignition
OBS-URL: https://build.opensuse.org/request/show/1153998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=43
2024-03-03 19:18:53 +00:00
Ignaz Forster
aca8707f84 Accepting request 1153997 from home:favogt:branches:devel:kubic:ignition
Not directly tested but copy-pasted from combustion where it works fine

- module-setup.sh: Use $dracutsysrootdir

OBS-URL: https://build.opensuse.org/request/show/1153997
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=119
2024-03-01 13:04:07 +00:00
Ana Guerrero
3073752b7a Accepting request 1129548 from devel:kubic:ignition
- Update to version 2.17.0:
  * NEWS: update 2.17.0
  * packit: add initial support
  * Bump minimum Go version to 1.19
  * Add vsock modules into ramdisk
  * Sync repo templates ⚙
  * providers/applehv: Add Apple Hypervisor
  * tests/blackbox: allow skipping critical logging check
  * stages/disks: retry `sgdisk --zap-all` invocation
  * Add optionally-installed grub2 code
  * internal/exec/stages/disks: prevent races with udev
  * providers/hetzner: add support for Hetzner Cloud
  * docs: expand development docs and rationale
  * doc/development: list the test frameworks
  * docs/development: improve formatting of blackbox section
  * build(deps): updated dependencies
- Increased required Go version
- Removed Changelog part of
  0005-dracut-Don-t-include-the-ignition-module-by-default.patch -
  the information is part of the patch description already and
  conflicts with the upstream Changelog.

OBS-URL: https://build.opensuse.org/request/show/1129548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=42
2023-11-29 20:18:32 +00:00
Ignaz Forster
6d7af7128e OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=117 2023-11-24 13:55:58 +00:00
Ignaz Forster
fe9ddf2dde - Update to version 2.17.0:
* NEWS: update 2.17.0
  * packit: add initial support
  * Bump minimum Go version to 1.19
  * Add vsock modules into ramdisk
  * Sync repo templates ⚙
  * providers/applehv: Add Apple Hypervisor
  * tests/blackbox: allow skipping critical logging check
  * stages/disks: retry `sgdisk --zap-all` invocation
  * Add optionally-installed grub2 code
  * internal/exec/stages/disks: prevent races with udev
  * providers/hetzner: add support for Hetzner Cloud
  * docs: expand development docs and rationale
  * doc/development: list the test frameworks
  * docs/development: improve formatting of blackbox section
  * build(deps): updated dependencies
- Increased required Go version
- Removed Changelog part of
  0005-dracut-Don-t-include-the-ignition-module-by-default.patch -
  the information is part of the patch description already and
  conflicts with the upstream Changelog.

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=116
2023-11-24 13:42:04 +00:00
Ana Guerrero
2be89231a4 Accepting request 1109547 from devel:kubic:ignition
OBS-URL: https://build.opensuse.org/request/show/1109547
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=41
2023-09-08 19:15:11 +00:00
Ignaz Forster
bbe9107b48 Accepting request 1109544 from home:favogt:combustion
- Amend patch to fix race condition with kiwi:
  * 0005-dracut-Don-t-include-the-ignition-module-by-default.patch

OBS-URL: https://build.opensuse.org/request/show/1109544
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=114
2023-09-07 12:45:03 +00:00
Ignaz Forster
5825f98260 - Patch file cleanup:
* Improve description of
    0003-Move-the-GPT-header-on-resized-disks.patch
  * Rename
    0001-Order-ignition-disks.service-before-systemd-fsck-roo.patch
    to
    0004-Order-ignition-disks.service-before-systemd-fsck-roo.patch
  * Rename
    0001-dracut-Don-t-include-the-ignition-module-by-default.patch
    to
    0005-dracut-Don-t-include-the-ignition-module-by-default.patch

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=113
2023-09-06 11:12:20 +00:00
Ana Guerrero
b3ea2bfba7 Accepting request 1105493 from devel:kubic:ignition
OBS-URL: https://build.opensuse.org/request/show/1105493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=40
2023-08-30 08:17:39 +00:00
Ignaz Forster
569fa9e2a7 Accepting request 1105491 from home:favogt:combustion
- Omit ignition module in initrds for already configured systems:
  * Add 0001-dracut-Don-t-include-the-ignition-module-by-default.patch
  * Edit module-setup.sh
- Add explicit dep on combustion in module-setup.sh
- Replace ignition-dracut-grub2 with combustion's firstboot.target:
  * Add 0001-Order-ignition-disks.service-before-systemd-fsck-roo.patch
  * Edit ignition-suse-generator
  * Edit ignition-umount-initrd-fstab.service
  * Edit module-setup.sh
  * Drop 02_ignition_firstboot
  * Drop ignition-firstboot-complete.service
  * Adjust README.SUSE
- Edit ignition-umount-initrd-fstab.service to not rely on combustion
  units forcing proper order

- Add 0003-Move-the-GPT-header-on-resized-disks.patch to make it
- Fix patch file metadata in 0001-ignore-missing-qemu-blockdev.patch
  and 0002-allow-multiple-mounts-of-same-device.patch

OBS-URL: https://build.opensuse.org/request/show/1105491
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=111
2023-08-23 14:09:02 +00:00
Ignaz Forster
f1241dbb88 - Fix segmentation fault if filesystem section of Ignition JSON
doesn't contain path entry
- Add 0003-Move-the-GTP-header-on-resized-disks.patch to make it
  possible to create partitions on resized disk images
- Add dm and crypt modules as dependencies to make it possible to
  configure a luks device
- Fix patch file metadata

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=110
2023-08-23 13:44:12 +00:00
Dominique Leuenberger
f01b2a5ae0 Accepting request 1098572 from devel:kubic:ignition
- Update to version 2.16.2:
  * dracut: make hv_utils module optional
  * Fix build on 32-bit systems
  * Doc updates
  * build(deps) updates
  * providers/qemu: read modprobe path from distro package
  * Add support for Hyper-V platform
  * internal/exec: don't relabel a mountpoint that already exists
  * internal/exec/util: check if unit exists before disabling
  * Dockerfile.validate: update to Fedora 38
  * generate: simplify build of doc generator
  * platform: allow provider fetch to save files to write from files stage
  * templates: update CI ratchet procedure for Butane spec stabilization
  * go.mod: add deep-copy package
  * providers: rename noop to metal
  * platform: drop function pointer indirection for fetch method
  * providers: add Config wrapper structs for cmdline and system providers
  * internal: empty out providers base package
  * internal: move provider registrations out of platforms package
  * templates/stabilize-checklist: disable tests using exp Butane config
  * providers/vmware: rename some structs
  * internal: move stage registration into a separate package
  * platform: avoid needless function pointer indirection in methods
  * tests: port to xfsprogs 5.19+
  * test: ShellCheck fixes

OBS-URL: https://build.opensuse.org/request/show/1098572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=39
2023-07-15 21:14:55 +00:00
Ignaz Forster
af996b5cb5 - Update to version 2.16.2:
* dracut: make hv_utils module optional
  * Fix build on 32-bit systems
  * Doc updates
  * build(deps) updates
  * providers/qemu: read modprobe path from distro package
  * Add support for Hyper-V platform
  * internal/exec: don't relabel a mountpoint that already exists
  * internal/exec/util: check if unit exists before disabling
  * Dockerfile.validate: update to Fedora 38
  * generate: simplify build of doc generator
  * platform: allow provider fetch to save files to write from files stage
  * templates: update CI ratchet procedure for Butane spec stabilization
  * go.mod: add deep-copy package
  * providers: rename noop to metal
  * platform: drop function pointer indirection for fetch method
  * providers: add Config wrapper structs for cmdline and system providers
  * internal: empty out providers base package
  * internal: move provider registrations out of platforms package
  * templates/stabilize-checklist: disable tests using exp Butane config
  * providers/vmware: rename some structs
  * internal: move stage registration into a separate package
  * platform: avoid needless function pointer indirection in methods
  * tests: port to xfsprogs 5.19+
  * test: ShellCheck fixes

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=108
2023-07-13 22:57:17 +00:00
Dominique Leuenberger
dbcb6bc24a Accepting request 1070759 from devel:kubic:ignition
- Add `dasd_mod.dasd=autodetect` to kernel command line parameters
  (for Ignition device support on S/390) [boo#1207903]
- Fix S/390 build in 0001-ignore-missing-qemu-blockdev.patch

OBS-URL: https://build.opensuse.org/request/show/1070759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=38
2023-03-12 15:22:23 +00:00
Ignaz Forster
ff89f29290 Remove unused import in 0001-ignore-missing-qemu-blockdev.patch
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=106
2023-03-10 15:36:17 +00:00
Ignaz Forster
bf78bb8c5f Fix 0001-ignore-missing-qemu-blockdev.patch
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=105
2023-03-10 15:04:09 +00:00
Ignaz Forster
d6c7cb8707 - Add dasd_mod.dasd=autodetect to kernel command line parameters
(for Ignition device support on S/390) [boo#1207903]

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=104
2023-03-09 17:57:32 +00:00
Dominique Leuenberger
bc767cbaca Accepting request 1069979 from devel:kubic:ignition
- Update to version 2.15.0:
  * Features
    * Support offline Tang provisioning via pre-shared advertisement (3.4.0)
    * Allow enabling discard passthrough on LUKS devices (3.4.0)
    * Allow specifying arbitrary LUKS open options (3.4.0)
    * Ship aarch64 macOS ignition-validate binary in GitHub release artifacts
  * Changes
    * Mark the 3.4.0 config spec as stable
    * No longer accept configs with version 3.4.0-experimental
    * Create new 3.5.0-experimental config spec from 3.4.0
    * Fail if files/links/dirs conflict with systemd units or dropins
    * Warn if template for enabled systemd instance unit has no Install section
    * Warn if filesystem overwrites partitioned disk
    * Warn if wipeTable overwrites a filesystem that would otherwise be reused
    * Warn if user/group specified for hard link
    * Install ignition-apply in /usr/libexec
    * Allow distros to add Ignition command-line arguments from a unit drop-in
    * Convert NEWS to Markdown and move to docs site
    * Require Go 1.18+
  * Bug fixes
    * Don't overwrite LUKS1 volume when storage.luks.wipeVolume is false
    * Request network when custom Clevis config has needsNetwork set
    * Fix creating LUKS volume with custom Clevis config that uses TPM2
    * Avoid logging spurious error when a LUKS volume wasn't previously formatted
    * Fix version string in ignition-validate release container
    * Fix reproducibility of systemd preset file in ignition-apply output
    * Document that user/group fields aren't applied to hard links
    * Clarify spec docs for files/directories/links group fields
- Modified 0002-allow-multiple-mounts-of-same-device.patch to add
  new Ignition spec version
- Add 0001-ignore-missing-qemu-blockdev.patch [bsc#1207679] to
  support booting without configuration device on s390x.
- Move all /usr/libexec contents to %sbindir

OBS-URL: https://build.opensuse.org/request/show/1069979
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=37
2023-03-09 16:45:02 +00:00
Ignaz Forster
f6f06357ab - Move all /usr/libexec contents to %sbindir
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=102
2023-03-07 16:19:28 +00:00
Ignaz Forster
bd60f29f75 Fix minimum required Go version
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=101
2023-03-07 16:06:19 +00:00
Ignaz Forster
b4479a8bf8 - Update to version 2.15.0:
* Features
    * Support offline Tang provisioning via pre-shared advertisement (3.4.0)
    * Allow enabling discard passthrough on LUKS devices (3.4.0)
    * Allow specifying arbitrary LUKS open options (3.4.0)
    * Ship aarch64 macOS ignition-validate binary in GitHub release artifacts
  * Changes
    * Mark the 3.4.0 config spec as stable
    * No longer accept configs with version 3.4.0-experimental
    * Create new 3.5.0-experimental config spec from 3.4.0
    * Fail if files/links/dirs conflict with systemd units or dropins
    * Warn if template for enabled systemd instance unit has no Install section
    * Warn if filesystem overwrites partitioned disk
    * Warn if wipeTable overwrites a filesystem that would otherwise be reused
    * Warn if user/group specified for hard link
    * Install ignition-apply in /usr/libexec
    * Allow distros to add Ignition command-line arguments from a unit drop-in
    * Convert NEWS to Markdown and move to docs site
    * Require Go 1.18+
  * Bug fixes
    * Don't overwrite LUKS1 volume when storage.luks.wipeVolume is false
    * Request network when custom Clevis config has needsNetwork set
    * Fix creating LUKS volume with custom Clevis config that uses TPM2
    * Avoid logging spurious error when a LUKS volume wasn't previously formatted
    * Fix version string in ignition-validate release container
    * Fix reproducibility of systemd preset file in ignition-apply output
    * Document that user/group fields aren't applied to hard links
    * Clarify spec docs for files/directories/links group fields
- Modified 0002-allow-multiple-mounts-of-same-device.patch to add
  new Ignition spec version
- Add 0001-ignore-missing-qemu-blockdev.patch [bsc#1207679] to
  support booting without configuration device on s390x.

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=100
2023-03-07 15:49:53 +00:00
Dominique Leuenberger
ffbbee0c73 Accepting request 992323 from devel:kubic:ignition
OBS-URL: https://build.opensuse.org/request/show/992323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=36
2022-08-03 19:16:27 +00:00
Fabian Vogt
8d3e609fd1 Accepting request 992322 from home:favogt:combustion
- ignition-enable-network.sh: Use /lib/dracut/hooks directly
  instead of the usr-merged location which isn't available everywhere
  (bsc#1201957)

OBS-URL: https://build.opensuse.org/request/show/992322
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=98
2022-08-02 13:00:22 +00:00
Dominique Leuenberger
0fc12ef141 Accepting request 982087 from devel:kubic:ignition
- Update to version 2.14.0:
  * NEWS: update v2.14.0
  * docs/operator-notes: add section on provisioning secrets
  * Dockerfile.validate: build with Fedora 36
  * internal/resource: fix gs:// fetches in GCE without a service account
  * docs/operator-notes: document supported S3 URL formats
  * internal/resource: fix S3 access point object ARNs
  * exec/util: fix infinite loop in Depth() if -root is relative
  * Add ignition-delete-config.service and ignition-rmcfg symlink
  * providers/virtualbox: support deleting Ignition configs
  * providers/virtualbox: add comment referencing VirtualBox source
  * providers/virtualbox: add define for GUEST_PROP_FN_GET_PROP
  * providers/virtualbox: add helper to set up hypervisor connection
  * providers/vmware: support deleting Ignition configs
  * main: add ignition-rmcfg multicall binary
  * go.mod: add github.com/beevik/etree
  * providers/vmware: switch to internal copy of OVF parser
  * internal/resource: fix bucket field in error message
  * internal/resource: derive AWS region hint from ARN partition field
  * internal/resource: simplify test
  * internal/resource: fix minor nits
  * provider/azure: try to fetch userdata from IMDS
  * providers/vmware: convert OVF tests to testify
  * providers/vmware: drop vmw-ovflib docs
  * providers/vmware: add verbatim copy of vmw-ovflib
  * providers/vmware: add constants for guestinfo and OVF property names
  * providers/virtualbox: fix reading properties with flags
  * internal/resource: support S3 access point URLs
- Update fixes CVE from [bsc#1199524]; this introduces a new service "ignition-delete-config.service"
- Add ignition-rmcfg-suse.conf dropin to adapt to SUSE environment
- Use fixed paths in spec file for hardcoded installation paths

OBS-URL: https://build.opensuse.org/request/show/982087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=35
2022-06-17 19:20:09 +00:00
Ignaz Forster
a54e27fc9c Move ignition-rmcfg to /usr/sbin
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=96
2022-06-10 22:25:46 +00:00
Ignaz Forster
8bba5e9cf6 - Update to version 2.14.0:
* NEWS: update v2.14.0
  * docs/operator-notes: add section on provisioning secrets
  * Dockerfile.validate: build with Fedora 36
  * internal/resource: fix gs:// fetches in GCE without a service account
  * docs/operator-notes: document supported S3 URL formats
  * internal/resource: fix S3 access point object ARNs
  * exec/util: fix infinite loop in Depth() if -root is relative
  * Add ignition-delete-config.service and ignition-rmcfg symlink
  * providers/virtualbox: support deleting Ignition configs
  * providers/virtualbox: add comment referencing VirtualBox source
  * providers/virtualbox: add define for GUEST_PROP_FN_GET_PROP
  * providers/virtualbox: add helper to set up hypervisor connection
  * providers/vmware: support deleting Ignition configs
  * main: add ignition-rmcfg multicall binary
  * go.mod: add github.com/beevik/etree
  * providers/vmware: switch to internal copy of OVF parser
  * internal/resource: fix bucket field in error message
  * internal/resource: derive AWS region hint from ARN partition field
  * internal/resource: simplify test
  * internal/resource: fix minor nits
  * provider/azure: try to fetch userdata from IMDS
  * providers/vmware: convert OVF tests to testify
  * providers/vmware: drop vmw-ovflib docs
  * providers/vmware: add verbatim copy of vmw-ovflib
  * providers/vmware: add constants for guestinfo and OVF property names
  * providers/virtualbox: fix reading properties with flags
  * internal/resource: support S3 access point URLs
- Update fixes CVE from [bsc#1199524]; this introduces a new
  service "ignition-delete-config.service"
- Add ignition-rmcfg-suse.conf dropin to adapt to SUSE environment
- Use fixed paths in spec file for hardcoded installation paths

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=95
2022-06-09 16:46:15 +00:00
Dominique Leuenberger
07f0a63f10 Accepting request 970361 from devel:kubic:ignition
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/970361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=34
2022-04-17 21:49:49 +00:00
Dominique Leuenberger
3237711740 Accepting request 967468 from devel:kubic:ignition
- ignition-mount-initrd-fstab.service:
  - Don't ignore errors in loops
  - Unmount mount points recursively - a new submount may have appeared
  - Split umount part into own service file:
- ignition-umount-initrd-fstab.service:
  - Unmounts the additional mounts as soon as they are not required for Ignition any more; the ExecStop operation is running quite late in initrd and may unmount essential mount points flagged with "x-initrd.mount" (e.g. when storing /usr on a separate mount point). In theory this will also affect Ignition itself, but it hasn't been reported as a problem so far.
- Don't include non-MarkDown files in documentation

OBS-URL: https://build.opensuse.org/request/show/967468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=33
2022-04-08 23:43:49 +00:00
Ignaz Forster
2c72aa2dbd - Use /bin/sh instead of /usr/bin/sh (for backwards compatibility
with SLE Micro 5.1) [bsc#1196679]

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=92
2022-04-08 14:05:22 +00:00
Ignaz Forster
a71d5e1ac3 - ignition-mount-initrd-fstab.service:
- Don't ignore errors in loops
  - Unmount mount points recursively - a new submount may have
    appeared
  - Split umount part into own service file:
- ignition-umount-initrd-fstab.service:
  - Unmounts the additional mounts as soon as they are not
    required for Ignition any more; the ExecStop operation is
    running quite late in initrd and may unmount essential mount
    points flagged with "x-initrd.mount" (e.g. when storing /usr on
    a separate mount point). In theory this will also affect
    Ignition itself, but it hasn't been reported as a problem so
    far.

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=91
2022-04-06 17:10:21 +00:00
Ignaz Forster
93209cb94e - Don't include non-MarkDown files in documentation
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=90
2022-04-04 17:25:05 +00:00
Dominique Leuenberger
3562a1d2fd Accepting request 964893 from devel:kubic:ignition
OBS-URL: https://build.opensuse.org/request/show/964893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=32
2022-03-28 15:00:15 +00:00
Ignaz Forster
6957e768d0 Accepting request 964892 from home:fos:branches:devel:kubic:ignition
- Add ignition-touch-selinux-autorelabel.conf: Trigger SELinux autorelabel after Ignition runs; Ignition would support SELinux itself, however this is a compile time option, so it can't be used here.
- Filter commented lines in ignition-mount-initrd-fstab.service

OBS-URL: https://build.opensuse.org/request/show/964892
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=88
2022-03-25 15:23:52 +00:00
Dominique Leuenberger
e6f4fbf554 Accepting request 962241 from devel:kubic:ignition
OBS-URL: https://build.opensuse.org/request/show/962241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=31
2022-03-18 15:41:37 +00:00
Ignaz Forster
c489446194 Accepting request 962210 from home:favogt:combustion
- Remove /var/lib/YaST2/reconfig_system if a config was provided:
  * ignition-remove-reconfig_system.service

OBS-URL: https://build.opensuse.org/request/show/962210
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=86
2022-03-16 16:27:02 +00:00
Ignaz Forster
5ec6f3f99d Add bug reference
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=85
2022-03-11 12:33:47 +00:00
Dominique Leuenberger
b4dff7eb92 Accepting request 959493 from devel:kubic:ignition
OBS-URL: https://build.opensuse.org/request/show/959493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=30
2022-03-04 19:17:08 +00:00
Ignaz Forster
b2be981c8f Accepting request 959393 from home:favogt:combustion
- Add support for NetworkManager in dracut:
  * ignition-enable-network.service, ignition-enable-network.sh

OBS-URL: https://build.opensuse.org/request/show/959393
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=83
2022-03-04 15:13:47 +00:00
Dominique Leuenberger
41836d53f8 Accepting request 934938 from devel:kubic:ignition
- Update to version 2.13.0
- Removed obsolete ignition-rpmlintrc

OBS-URL: https://build.opensuse.org/request/show/934938
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=29
2021-12-01 19:47:26 +00:00
Ignaz Forster
19d289ada8 - Update to version 2.13.0
- Removed obsolete ignition-rpmlintrc

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=82
2021-12-01 10:00:39 +00:00
Dominique Leuenberger
8020e752a5 Accepting request 913855 from devel:kubic:ignition
Make sure to create /boot/writable (may not be present in some images)

OBS-URL: https://build.opensuse.org/request/show/913855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=28
2021-08-24 08:54:42 +00:00
Ignaz Forster
cd6cc3da56 Make sure to create /boot/writable (may not be present in some images)
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=81
2021-08-23 14:23:22 +00:00
Richard Brown
d95b10e0af Accepting request 913198 from devel:kubic:ignition
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/913198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=27
2021-08-20 14:57:50 +00:00
Ignaz Forster
35d7b6c402 - is-live-image doesn't exist on *SUSE, and our live images don't
use Ignition, so just add the Ignition device dependency to the
  service file directly.

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=80
2021-08-12 17:47:02 +00:00
Richard Brown
596f4a9ad9 Accepting request 911075 from devel:kubic:ignition
This is a major update, as it is removing several Dracut scripts and making them distribution specific.

- Update to version 2.12.0:
  * news: add notes for 2.12.0
  * stages/files: add previousReport to result report
  * tests: fix linter warning
  * workflows: limit permissions to reading repo contents
  * workflows: bump linter version
  * go.mod: revendor
  * Drop EOL Go versions
  * internal/distro: drop DiskByIDDir
  * providers/azure: add support for azure gen2 VMs
  * stages/mount: correctly relabel the root of a fresh ext4 filesystem
  * exec: fix permissions for mountpoints in home dirs
  * tests: drop os.ModeDir requirement in mode of output directories
  * examples: reboot with --force
  * exec/util: add blkid API to query block devices based on FSTYPE
  * stages/files: use IntToPtr() in createCrypttabEntries()
  * stages/files: write result report to /var/lib/ignition
  * engine: persist fetched config summaries in State
  * stages/disks: use State to persist keyfiles for files stage
  * *: add general mechanism for persisting state between stages
  * main: drop -clear-cache flag
  * engine: don't hardcode neednet path
  * fetch-offline: return ErrNeedNet if we need net
  * engine: switch Engine.logReport() to pointer receiver
  * engine: fix incorrect error in log message
  * dracut: drop ignition-setup-user.service
  * dracut: drop reference to ignition-setup-base.service
  * providers/gcp: access GCP metadata service by IP address
  * Remove ignition-firstboot-complete.service
  * OWNERS: remove
  * internal/exec/util: drop device argument from cResultToErr()
  * docs/config*: document storage.luks.clevis.threshold default
  * ci: disable spec bump external test workaround
  * docs: Add Ignition release / Spec version table
  * templates: update example releng signing ticket
  * templates: don't update %gotest lines
* Provide ignition-firstboot-complete.service (removed by upstream
  due to correctly being considered distro spcific), based on the
  old upstream version; removed all non-SUSE specific stuff and
  integrated our own changes
* Removed change-ignition-firstboot-path.conf (changes are
  integrated into ignition-firstboot-complete.service now).
* Provide ignition-setup-user.service  (removed by upstream due
  to correctly being considered distro spcific), based on the old
  upstream version.
* Renamed ignition-setup-user-suse.sh to ignition-setup-user.sh
* Adapted ignition-generator-suse and module-setup.sh to use the
  custom ignition-setup-user.service (no overriding of parts of the
  service file necessary any more).
* Synced ignition-kargs-helper script with upstream example
* Raising minimum Go version to 1.15 as required by upstream

OBS-URL: https://build.opensuse.org/request/show/911075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=26
2021-08-10 08:27:40 +00:00
Ignaz Forster
406cbf31e8 - Update to version 2.12.0:
* news: add notes for 2.12.0
  * stages/files: add previousReport to result report
  * tests: fix linter warning
  * workflows: limit permissions to reading repo contents
  * workflows: bump linter version
  * go.mod: revendor
  * Drop EOL Go versions
  * internal/distro: drop DiskByIDDir
  * providers/azure: add support for azure gen2 VMs
  * stages/mount: correctly relabel the root of a fresh ext4 filesystem
  * exec: fix permissions for mountpoints in home dirs
  * tests: drop os.ModeDir requirement in mode of output directories
  * examples: reboot with --force
  * exec/util: add blkid API to query block devices based on FSTYPE
  * stages/files: use IntToPtr() in createCrypttabEntries()
  * stages/files: write result report to /var/lib/ignition
  * engine: persist fetched config summaries in State
  * stages/disks: use State to persist keyfiles for files stage
  * *: add general mechanism for persisting state between stages
  * main: drop -clear-cache flag
  * engine: don't hardcode neednet path
  * fetch-offline: return ErrNeedNet if we need net
  * engine: switch Engine.logReport() to pointer receiver
  * engine: fix incorrect error in log message
  * dracut: drop ignition-setup-user.service
  * dracut: drop reference to ignition-setup-base.service
  * providers/gcp: access GCP metadata service by IP address
  * Remove ignition-firstboot-complete.service
  * OWNERS: remove
  * internal/exec/util: drop device argument from cResultToErr()
  * docs/config*: document storage.luks.clevis.threshold default
  * ci: disable spec bump external test workaround
  * docs: Add Ignition release / Spec version table
  * templates: update example releng signing ticket
  * templates: don't update %gotest lines
* Provide ignition-firstboot-complete.service (removed by upstream
  due to correctly being considered distro spcific), based on the
  old upstream version; removed all non-SUSE specific stuff and
  integrated our own changes
* Removed change-ignition-firstboot-path.conf (changes are
  integrated into ignition-firstboot-complete.service now).
* Provide ignition-setup-user.service  (removed by upstream due
  to correctly being considered distro spcific), based on the old
  upstream version.
* Renamed ignition-setup-user-suse.sh to ignition-setup-user.sh
* Adapted ignition-generator-suse and module-setup.sh to use the
  custom ignition-setup-user.service (no overriding of parts of the
  service file necessary any more).
* Synced ignition-kargs-helper script with upstream example
* Raising minimum Go version to 1.15 as required by upstream

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=79
2021-08-09 15:33:18 +00:00