Commit Graph

150 Commits

Author SHA1 Message Date
Sohan Kunkerkar
ec21a27d4c release: Ignition v2.9.0 2021-01-08 04:27:44 -05:00
Sohan Kunkerkar
d194305bc2 release: Ignition v2.8.1 2020-12-03 11:06:14 -05:00
Sohan Kunkerkar
6f5a0f935d release: Ignition v2.8.0 2020-11-25 17:24:15 -05:00
Stephen Lowrie
2c158893d7 Ignition 2.7.0 2020-10-14 23:25:26 -05:00
Benjamin Gilbert
e0fdfe16ef Fix sector size detection on s390x 2020-08-12 10:55:51 -04:00
Benjamin Gilbert
0e08b0f288 Ignition 2.6.0 2020-08-07 23:50:33 -04:00
Jonathan Lebon
fd1940c70e Backport conditional networking fix for OpenStack and CloudStack
https://github.com/coreos/ignition/pull/1057
2020-08-07 09:44:02 -04:00
Fedora Release Engineering
3fba3554ec - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 01:41:10 +00:00
Benjamin Gilbert
b66caa20db Ignition 2.5.0
Co-authored-by: Ben Howard <ben.howard@redhat.com>
2020-07-23 22:05:36 -04:00
Benjamin Gilbert
64396e2988 Ignition 2.4.1 2020-07-16 12:25:54 -04:00
Jonathan Lebon
64c18a989e Backport root homedir relabeling fix
Need https://github.com/coreos/ignition/pull/1029 for
https://github.com/coreos/fedora-coreos-config/pull/426#issuecomment-658867731.
2020-07-15 13:46:33 -04:00
Benjamin Gilbert
480b997359 Ignition 2.4.0 2020-07-13 18:46:38 -04:00
Timothée Ravier
6dedd4b441
Update to latest ignition-dracut to fix coreos-gpt-setup unit
https://github.com/coreos/ignition-dracut/pull/191
2020-06-15 17:11:45 +02:00
Jonathan Lebon
de97bc03b2 Update to latest ignition-dracut to fix error handling
https://github.com/coreos/ignition-dracut/pull/188
2020-06-01 14:28:40 -04:00
Benjamin Gilbert
8010f80671 Ignition 2.3.0 2020-05-05 19:22:03 -04:00
Dusty Mabe
c6f0f376ed
Update to latest ignition-dracut for network fixes
https://github.com/coreos/ignition-dracut/pull/174
2020-04-26 01:47:08 -04:00
Colin Walters
4307eea205 Update to latest ignition-dracut for virtio dump 2020-04-16 15:06:46 +00:00
Benjamin Gilbert
820aa5ae5f Bump ignition-dracut to fix umount stage network access 2020-03-30 14:36:00 -04:00
Benjamin Gilbert
e279304633 Fix userdata/metadata fetch on Packet 2020-03-28 10:13:49 -04:00
Benjamin Gilbert
6ab21c400a Ignition 2.2.1 2020-03-24 17:26:47 -04:00
Benjamin Gilbert
1b6d133ca1 Switch -validate-nonlinux to noarch; move files to /usr/share/ignition
We shouldn't put non-Linux binaries in /usr/bin.  They're opaque data
as far as Linux is concerned, and we can build them on any arch.
Switch the subpackage to noarch, move the binaries to
/usr/share/ignition, and make them non-executable.

Rename files to include architecture triples, and in the Windows case,
the necessary .exe suffix.  These names match the ones used for FCCT
binaries.  For macOS the name now matches the actual name used on the
GitHub releases page; for Windows this is a change.
2020-02-01 15:47:00 -05:00
Benjamin Gilbert
1e620a001f Improve -validate-nonlinux descriptive text 2020-02-01 15:35:20 -05:00
Jonathan Lebon
12436a7180 Bump ignition-dracut for ignition-diskful-subsequent target
https://github.com/coreos/ignition-dracut/pull/151

While we're here, tweak the `download-*` scripts to use `curl` instead
of `wget` since the former is installed by default but not the latter.

Also adapt spec file for not packaging any GRUB dropins anymore.
2020-01-31 10:31:28 -05:00
Fedora Release Engineering
895ede441f - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 05:18:38 +00:00
Dusty Mabe
1017665935
Backport upstream patch to workaround problem booting on live systems
- https://github.com/coreos/fedora-coreos-tracker/issues/339
- https://github.com/coreos/ignition/pull/907
2019-12-20 15:12:13 -05:00
Andrew Jeddeloh
367cb35982 spec: add ignition-validate-nonlinux subpackage
This will be used to create official release binaries to include on the
upstream project's releases page.
2019-12-18 13:26:41 -08:00
Andrew Jeddeloh
6201cd37bf spec: update spec for 2.1.1 2019-12-13 15:19:48 -08:00
Jonathan Lebon
a995f0230b Use the master branch of ignition-dracut, not spec2x
It was accidentally changed to spec2x in:
https://src.fedoraproject.org/rpms/ignition/pull-request/42
2019-12-09 16:01:10 -05:00
Jonathan Lebon
37b7c93f07 Bump Ignition for better SELinux labeling
https://github.com/coreos/ignition/pull/846
2019-12-06 17:27:27 -05:00
Jonathan Lebon
368a09bf73 Don't require btrfs-progs, just recommend it
Some variants may not want to support btrfs at all:
https://github.com/coreos/fedora-coreos-tracker/issues/323
2019-12-05 16:09:47 -05:00
Allen Bai
3c5c0bc444 Update dracut to latest spec2x
Signed-off-by: Allen Bai <abai@redhat.com>
2019-12-05 09:34:53 -05:00
Colin Walters
3c6023281c Update dracut 2019-10-31 16:40:47 +00:00
Colin Walters
3b622206f6 Bump to latest in prep for rootfs redeploy work 2019-09-25 20:40:06 +00:00
Peter Robinson
eb718b540d fix up arch deps for latest golang specs so all the right arches get built 2019-09-21 11:47:00 +01:00
Colin Walters
a08755a3b9 Fix files list 2019-08-16 14:06:53 +00:00
Colin Walters
f83f249db4 Update dracut for gpt fixes 2019-08-16 13:55:42 +00:00
Andrew Jeddeloh
422cf8579b ignition.spec: fix changelog
This was causing fedpkg build to fail.
2019-07-25 11:08:49 -07:00
Andrew Jeddeloh
6ebb45a48e *: bump to Ignition 2.0.1 2019-07-25 10:55:59 -07:00
Fedora Release Engineering
127a4b1ca3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 09:23:03 +00:00
Andrew Jeddeloh
b3b10ac7e4 spec: update generated bits of the spec 2019-06-10 14:07:07 -07:00
Andrew Jeddeloh
5048cceb49 spec: change non-generated bits 2019-06-10 14:07:07 -07:00
Jonathan Lebon
cfcfe34c36 Adapt distro.selinuxRelabel flag path for v2/ move
I.e. https://github.com/coreos/ignition/pull/791.

Otherwise, this whole illusion of happy coexistence with SELinux all
comes crashing down.
2019-05-03 15:54:11 -04:00
Jonathan Lebon
5df9bc031d Bump to ignition-dracut df88988
For https://github.com/coreos/ignition-dracut/pull/76.
2019-05-03 14:05:38 -04:00
Andrew Jeddeloh
e25383b0a1 *: update to 2.0.0-beta 2019-05-01 15:03:15 -07:00
Jonathan Lebon
6e12473d8f Bump to ignition-dracut 85f2e65
There's lots of important fixes in there that we should get in.
2019-04-08 16:28:36 -04:00
Benjamin Gilbert
25e842489a Drop obsolete override of chroot path 2019-03-27 18:27:36 -04:00
Benjamin Gilbert
edf3b2635a Backport fix for SELinux relabeling of systemd units 2019-03-27 18:27:16 -04:00
Jonathan Lebon
d551c56f90 Bump to Ignition v2.0.0-alpha
Go back to git master for ignition-dracut and import Ignition from git
tag v2.0.0-alpha. This required adapting the build to using go modules
by building with `-mod=vendor` and `GO111MODULE=on` and dropping the
`GOPATH` hacks.

We also drop `parsedeps.go` since Ignition moved away from glide.
Instead introduce a new tiny `go-mods-to-bundled-provides.py` script
that just parses `go.mod` and `vendor/modules.txt` to generate virtual
`Provides`.  The `parsedeps.go` approach also had a few issues that are
fixed in the new script. Notably, it would only pick up on subpackages
of dependent repos, and not the main packages (e.g. it skipped over
`ajeddeloh/go-json`). And also, it was generating `Provides` at the
version of the Ignition package (using `%{version}`), instead of the
version of the bundled package itself.
2019-03-27 10:44:20 -04:00
Dusty Mabe
f1fa20fc14
backports from spec2x branches
- ignition-dracut: Pull in latest from spec2x branch
    * grub: support overriding network kcmdline args
- ignition: pull in subuid/subgid files patch from spec2x branch
    * stages/files: Also relabel subuid/subgid files
2019-03-22 17:50:11 -04:00
Michael Nguyen
cdb9cf4cdb Backport support for ignition vmware properties
Backport support for guestinfo.ignition.config.data
2019-03-20 15:54:30 -04:00
Dusty Mabe
8f7558a405
Use the spec2x branch of ignition-dracut upstream
Since ignition-dracut master has moved to supported ignition
spec 3.x we are applying fixes 2.x related fixes to the spec2x
branch in the ignition-dracut repo.

Summary of backports: https://github.com/coreos/ignition-dracut/pull/58
2019-03-18 18:15:10 -04:00
Benjamin Gilbert
49656b1105 Move ignition binary into dracut module directory
It's too dangerous to put in the PATH.
2019-03-18 16:56:35 -04:00
Benjamin Gilbert
a4778c4191 Drop developer docs from base package 2019-03-18 16:50:39 -04:00
Benjamin Gilbert
b311717e60 Include ignition-dracut license file 2019-03-18 16:50:39 -04:00
Benjamin Gilbert
ecc7b2311e Merge ignition-dracut into ignition; split out ignition-validate 2019-03-18 16:49:01 -04:00
Benjamin Gilbert
c796b57e00 Remember to exit ignition-dracut directory after installing 2019-03-18 16:47:52 -04:00
Benjamin Gilbert
785d477541 Drop stray summary line from package description 2019-03-18 16:47:52 -04:00
Benjamin Gilbert
a50f54ed84 Fix trailing spaces in %description 2019-03-18 16:47:52 -04:00
Benjamin Gilbert
efdd301bab Move some dracut subpackage configuration within the specfile 2019-03-18 16:47:47 -04:00
Colin Walters
08c873e0e3 Backport networking patch 2019-03-18 19:59:05 +00:00
Dusty Mabe
14c71e122e
ignition-dracut: backport patch for finding ignition.firstboot file on UEFI systems
https://github.com/coreos/ignition-dracut/pull/52
2019-03-04 22:50:57 -05:00
Andrew Jeddeloh
ed359188d7 Bump to Ignition v0.31.0 2019-02-20 17:01:48 -08:00
Dusty Mabe
25ea599bd0
Bump to ignition-dracut 2c69925 2019-02-15 17:39:24 -05:00
Fedora Release Engineering
d8b94af17d - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 03:13:42 +00:00
Dusty Mabe
83f481ab24
Bump to ignition-dracut fa7131b 2019-01-30 14:02:18 -05:00
Benjamin Gilbert
a917a6aa1a Bump to Ignition 0.30.0 2018-12-15 15:06:08 -05:00
Michael Nguyen
45ea7ada15 additional fixups for building against rhel7
add gopath macro to build against rhel7
2018-12-14 17:58:28 +00:00
Dusty Mabe
f1d23b1b46
fixups for building against rhel7
- require golang >= 1.10
- specify arch list since no %go_arches macro
2018-12-11 16:57:08 -05:00
Andrew Jeddeloh
56617235ec Bump to Ignition 0.29.1 2018-12-11 11:46:10 -08:00
Dusty Mabe
6cf1223812
clarify that protobuf 3.6 is only for f30
Since I'd like to keep common git history among all of our branches
(it makes things easier) I'm going to push the latest changes to
all branches. I clarified the changelog message to indicate the
protobuf 3.6 change was only for rawhide/f30.
2018-11-21 21:38:03 -05:00
Igor Gnatenko
603981e76a
Rebuild for protobuf 3.6
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-11-21 17:16:17 +01:00
Jonathan Lebon
78722da2a8 Bump to ignition-dracut 7b83454 2018-11-20 16:13:20 -05:00
Dusty Mabe
a0c94134f8
Bump to ignition-dracut decf63f
* 03d8438 30ignition: only instmods if module available
2018-10-25 18:02:39 -04:00
Dusty Mabe
6fc7632a89
Bump to ignition-dracut 7ee64ca
* 3ec0b39 remove ignition-remount-sysroot.service files
* 66335f2 ignition: run files stage at original CL ordering
* 0301a03 ignition-disks.service: drop Requires=network.target
* a0bc135 ignition-ask-var-mount.service: use RemainAfterExit=yes
* ecf5779 module-setup.sh: explicitly install qemu_fw_cfg
2018-10-25 10:17:44 -04:00
Dusty Mabe
c1c1198ead
Bump to ignition-dracut 4bdfb34
* 6d0763a module-setup: Make mkfs.btrfs optional
2018-10-15 10:07:09 -04:00
Jonathan Lebon
0d1e132c3e Backport patch for sysctl.d handling
This was required before by just

https://github.com/coreos/coreos-assembler/pull/128

which could wait.

But now this showed up in the machine-config-operator as well:

https://github.com/openshift/machine-config-operator/pull/123

So let's just backport it now to make sure the new installer doesn't get
bitten by this.
2018-10-10 15:45:17 -04:00
Dusty Mabe
42544b245f
Bump to ignition-dracut c09ce6f
* ce9f648 30ignition: add support for ignition-disks
2018-09-26 10:44:51 -04:00
Dusty Mabe
8a2fd45726
Bump to ignition-dracut 8c85eb3
* 26f2396 journal: Don't log to console AND kmsg
2018-09-24 15:07:21 -04:00
Colin Walters
1ba750e8df Only require btrfs-progs on Fedora
Other distributions may choose not to ship it.
2018-09-24 13:58:09 -04:00
Jonathan Lebon
623734c384 Backport patch for relabeling /var/home on FCOS
Ref: https://github.com/coreos/fedora-coreos-config/issues/2
2018-09-17 14:33:18 -04:00
Luca Bruno
89e03c4b51
ignition/spec: add requires for disks stage
This adds dependencies for binaries that can be invoked by ignition
disks stage.
2018-09-06 12:57:56 +00:00
Dusty Mabe
8c01d92726
Bump to ignition-dracut d056287
* 3f41219 dracut/ignition: remove CL-legacy udev references
* 92ef9dd coreos-firstboot-complete: RemainAfterExit=yes
2018-09-05 17:30:59 -04:00
Dusty Mabe
baf7e10e47
fixups for c14ed24
- match gofed call at top of .spec match .orig
- fix release to -1 in changelog comment
2018-09-05 17:03:08 -04:00
Andrew Jeddeloh
c14ed2407e New release Ignition-0.28.0
This contains mostly test fixes and a bug fix for 4k sector disks. Drop
the patch for relabeling /root since that is now included in Ignition
itself.

Delete the dropped patch from the repo as well.

Sort all %BuildRequires, %Provides etc lists of go packages.

Update the ignition.spec.orig as well.
2018-09-05 13:18:43 -07:00
Dusty Mabe
d2ffbc197f
Bump to ignition-dracut 56aa514 2018-08-17 13:27:58 -04:00
Jonathan Lebon
5597ff7efc Backport patch for /root relabeling
upstream: https://github.com/coreos/ignition/pull/613
2018-08-16 20:45:25 -04:00
Jonathan Lebon
c77c54becf New release ignition-0.27.0-1.gitcc7ebe0
Notably, we now enable the new SELinux relabeling support.
2018-08-10 10:46:27 -04:00
Dusty Mabe
84db7cb04c
forgot to bump release 2018-07-21 14:09:11 -04:00
Dusty Mabe
ece2be4cbe
Bump to ignition-dracut d664657 2018-07-21 14:07:05 -04:00
Fedora Release Engineering
dc057e0a79 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 05:37:20 +00:00
Dusty Mabe
ec59806570
Fix building on el7
For some reason install -D is not working on el7 when
providing multiple source* inputs.
2018-06-29 22:54:35 -04:00
Dusty Mabe
25ac30cae9
bump ignition-dracut to 17a201b 2018-06-29 18:17:16 -04:00
Dusty Mabe
7fb31cc7fe
bump release + changelog 2018-06-26 14:08:33 -04:00
Dusty Mabe
b24ebe937f
Move Source1 into dracut package stanza 2018-06-26 14:01:27 -04:00
Dusty Mabe
7b7c72195b
renamed bootengine -> ignition-dracut upstream 2018-06-26 14:01:27 -04:00
Dusty Mabe
5ddad9198b
make it so %prep won't unpack Source0 twice
(cherry picked from commit c2b27f2cd02a11b00408b2c295c7f0716b6d7937)
2018-06-26 11:58:59 -04:00
Dusty Mabe
63ee52de6c
Update with comments from code review
[!] ignition-dracut does not do "Requires: %{name} = %{version}-%{release}"
[!] Unnecessary "%defattr(-,root,root,0755)" in dracut subpackage

(cherry picked from commit a789cdea4942165f80d04e2916d363605a39caa1)
2018-06-26 11:56:24 -04:00
Dusty Mabe
6596f44009
fix dracutprovider_prefix dracutimport_path macros
(cherry picked from commit e60050652e3bf43c79ee0b69cfa969b824220131)
2018-06-26 11:56:24 -04:00
Dusty Mabe
44fe06b5ab
make ignition-dracut a subpackage
It was requested i make it a subpackage rather than a
separate package.

(cherry picked from commit 3d83b5d89ce2613647a4eb6b21c1a6bc66b52ca7)
2018-06-26 11:56:24 -04:00
Dusty Mabe
333e3ff7de
First pass add creating ignition spec with gofed
- notes.txt
    - explains how to use gofed and build rpm
- ignition.spec.orig
    - the spec file as generated by gofed
- ignition.spec
    - the edited spec file
- parsedeps.go
    - used to generate bundled provides

(cherry picked from commit cd20621c8cfa1027f7afd76bac7af11899a453a2)
2018-06-26 11:56:20 -04:00