Commit Graph

89 Commits

Author SHA1 Message Date
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
a614d3e5a0 sources: add new sources for 2.0.0 2019-06-10 14:07:07 -07: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
Andrew Jeddeloh
cbc266db72 go-mods-to-bundled: use /usr/bin/env python
Do not assume a python is /bin/python
2019-04-29 15:12:39 -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
Benjamin Gilbert
0b9a765df3 Drop old patch files 2019-03-27 18:23:49 -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
e797537371 tests: try running ignition-validate 2019-03-18 16:56:37 -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
Dusty Mabe
d3515dd2dd
add a few utility scripts for downloading sources 2019-01-08 09:51:07 -05:00