When bootupd/grub2-static/configs.d was introduced,
blscfg was after every config. Some config need to be after blscfg,
so rename to 05_ignition.cfg so we can align bootupd numbering with
legacy grub (blscfg is in 10_linux).
uname gives loongarch64 target value while go has
loong64 target instead. Without the fix `make
install` can't find correct executable since it
looks into bin/loongarch64 instead of bin/loong64
This pairs with https://github.com/coreos/bootupd/pull/543
Basically we want bootupd to take care of installing this. Add
the config here (where it more closely arguably belongs) so
that it can be optionally installed.
My proposal for at least the Fedora packaging of Ignition
is that we unconditionally depend on bootupd and install this,
because there's no one there using Ignition who doesn't want bootupd.
Add a systemd service that runs ignition-rmcfg to delete userdata early
in first boot on VirtualBox and VMware. This will fail the boot if it
runs unsuccessfully, and can be masked in the config if desired. Add
/usr/libexec/ignition-rmcfg as a symlink to the Ignition binary in the
Dracut module, to save space.
Distros will probably want to enable this service by default.
Fixes https://github.com/coreos/ignition/issues/1315.
This is a distro-level integration service. Let's remove it from here
and have it live e.g. in coreos/fedora-coreos-config for FCOS/RHCOS.
Closes: #1125
Following https://github.com/coreos/ignition-dracut/pull/106
add a default `make install` rule that honors `DESTDIR`. Main
motivation is hacking on ignition in a unified way with ostree,
ignition-dracut and other projects using coreos-assembler.
Switch from using raw commit hashes to tags. This makes it much more
human readable. Also drop a transient dep that did not need to be in the
glide.yaml file. This does not update any of the dependencies.
This eliminates the need for version commits, we just add tags referring
to the merge of the NEWS commit.
The Makefile was just a nuisance and we weren't taking advantage of any
of the dependency/incremental build features.
Creates as needed, in the following order:
- partitions (sgdisk)
- raid sets (mdadm)
- filesystems (mkfs.{ext4,btrfs})
Device plugging is synchronized via systemd using systemd.WaitOnDevices().
Introduces a top-level config->src/config symlink to preserve the clean
"github.com/coreos/ignition/config" import path; config is intended to have
external users depend upon it.