Commit Graph

169 Commits

Author SHA1 Message Date
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
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