Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1249 from flatcar-linux/tormath1/ignition-bump
Browse files Browse the repository at this point in the history
sys-apps/ignition: bump commit ID
  • Loading branch information
tormath1 authored Mar 7, 2022
2 parents 9668bcd + fc31ebd commit 3f69ac4
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 98 deletions.
1 change: 1 addition & 0 deletions changelog/changes/2022-03-07-ignition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Besides Ignition v1 and v2 configurations, Ignition configurations with specification v3 (up to 3.3.0) are now supported, see the [docs section for details](https://www.flatcar.org/docs/latest/provisioning/ignition/specification/#ignition-v3)
1 change: 1 addition & 0 deletions changelog/updates/2022-03-07-ignition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- ignition ([2.13.0](https://github.com/coreos/ignition/releases/tag/v2.13.0))
2 changes: 1 addition & 1 deletion coreos-base/coreos-init/coreos-init-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CROS_WORKON_REPO="https://github.com"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
else
CROS_WORKON_COMMIT="5f97a6a0dfd7a7b1125d089ea9057aea121e11f1" # flatcar-master
CROS_WORKON_COMMIT="d993da38542849664417e9eb775b89e712b09586" # flatcar-master
KEYWORDS="amd64 arm arm64 x86"
fi

Expand Down
14 changes: 0 additions & 14 deletions coreos-base/oem-azure/files/base/default.ign

This file was deleted.

14 changes: 0 additions & 14 deletions coreos-base/oem-digitalocean/files/base/default.ign

This file was deleted.

22 changes: 0 additions & 22 deletions coreos-base/oem-ec2-compat/files/base/default.ign

This file was deleted.

1 change: 0 additions & 1 deletion coreos-base/oem-ec2-compat/oem-ec2-compat-0.1.2-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ src_install() {

insinto "/usr/share/oem/base"
doins "${FILESDIR}/base/README"
doins "${FILESDIR}/base/default.ign"
if use ec2 ; then
newins "${FILESDIR}/base/base-ec2.ign" base.ign
fi
Expand Down
14 changes: 0 additions & 14 deletions coreos-base/oem-gce/files/base/default.ign

This file was deleted.

14 changes: 0 additions & 14 deletions coreos-base/oem-packet/files/base/default.ign

This file was deleted.

14 changes: 0 additions & 14 deletions coreos-base/oem-vmware/files/base/default.ign

This file was deleted.

6 changes: 3 additions & 3 deletions sys-apps/ignition/ignition-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ EAPI=7
CROS_WORKON_PROJECT="flatcar-linux/ignition"
CROS_WORKON_LOCALNAME="ignition"
CROS_WORKON_REPO="https://github.com"
COREOS_GO_PACKAGE="github.com/flatcar-linux/ignition"
COREOS_GO_PACKAGE="github.com/flatcar-linux/ignition/v2"
COREOS_GO_GO111MODULE="off"
inherit coreos-go cros-workon systemd udev

if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm64"
else
CROS_WORKON_COMMIT="de4e6cc9bbba4c801424d74c7f271291766aad7a" # flatcar-master
CROS_WORKON_COMMIT="e2a714474441b416693430e6080e7900d8dd14f0" # main
KEYWORDS="amd64 arm64"
fi

Expand Down Expand Up @@ -46,7 +46,7 @@ PATCHES=(

src_compile() {
export GO15VENDOREXPERIMENT="1"
GO_LDFLAGS="-X github.com/flatcar-linux/ignition/internal/version.Raw=$(git describe --dirty)" || die
GO_LDFLAGS="-X github.com/flatcar-linux/ignition/v2/internal/version.Raw=${PV} -X github.com/flatcar-linux/ignition/v2/internal/distro.selinuxRelabel=false -X github.com/flatcar-linux/ignition/v2/internal/distro.writeAuthorizedKeysFragment=false" || die
go_build "${COREOS_GO_PACKAGE}/internal"
}

Expand Down
3 changes: 2 additions & 1 deletion sys-kernel/bootengine/bootengine-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CROS_WORKON_REPO="https://github.com"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
else
CROS_WORKON_COMMIT="d586e78111173bb0d9ebd4afa7efbc45f07dffb4" # flatcar-master
CROS_WORKON_COMMIT="820a5ad998832cfb06c17df0e61766028f7417eb" # flatcar-master
KEYWORDS="amd64 arm arm64 x86"
fi

Expand All @@ -34,6 +34,7 @@ src_install() {
"${D}"/usr/lib/dracut/modules.d/30disk-uuid/disk-uuid.sh \
"${D}"/usr/lib/dracut/modules.d/30ignition/ignition-generator \
"${D}"/usr/lib/dracut/modules.d/30ignition/ignition-setup.sh \
"${D}"/usr/lib/dracut/modules.d/30ignition/ignition-kargs-helper \
"${D}"/usr/lib/dracut/modules.d/30ignition/retry-umount.sh \
"${D}"/usr/lib/dracut/modules.d/35torcx/torcx-profile-populate-generator \
"${D}"/usr/lib/dracut/modules.d/99setup-root/initrd-setup-root \
Expand Down

0 comments on commit 3f69ac4

Please sign in to comment.