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.
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
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.