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

Commit

Permalink
sys-apps/ignition: bump commit ID
Browse files Browse the repository at this point in the history
it mainly brings V3 support on top of V2 support for Ignition and ensure
backward compatibility with existing integration.

Signed-off-by: Mathieu Tortuyaux <[email protected]>
  • Loading branch information
Mathieu Tortuyaux authored and tormath1 committed Jan 7, 2022
1 parent d8fc7cf commit 668755d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions sys-apps/ignition/ignition-2.2.0.ebuild
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="6d7b4401700c76492c8627030d9dde147f81d5cf" # flatcar-master
CROS_WORKON_COMMIT="390754d1de968ae47f60a7b308a43c76ac0af4ec" # tormath1/convert-v2-v3
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

0 comments on commit 668755d

Please sign in to comment.