mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 10:27:00 +02:00
Merge pull request #1249 from flatcar-linux/tormath1/ignition-bump
sys-apps/ignition: bump commit ID
This commit is contained in:
commit
8e906f9ddb
1
sdk_container/src/third_party/coreos-overlay/changelog/changes/2022-03-07-ignition.md
vendored
Normal file
1
sdk_container/src/third_party/coreos-overlay/changelog/changes/2022-03-07-ignition.md
vendored
Normal file
@ -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
sdk_container/src/third_party/coreos-overlay/changelog/updates/2022-03-07-ignition.md
vendored
Normal file
1
sdk_container/src/third_party/coreos-overlay/changelog/updates/2022-03-07-ignition.md
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
- ignition ([2.13.0](https://github.com/coreos/ignition/releases/tag/v2.13.0))
|
@ -10,7 +10,7 @@ CROS_WORKON_REPO="https://github.com"
|
|||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
else
|
else
|
||||||
CROS_WORKON_COMMIT="5f97a6a0dfd7a7b1125d089ea9057aea121e11f1" # flatcar-master
|
CROS_WORKON_COMMIT="d993da38542849664417e9eb775b89e712b09586" # flatcar-master
|
||||||
KEYWORDS="amd64 arm arm64 x86"
|
KEYWORDS="amd64 arm arm64 x86"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"ignition": {
|
|
||||||
"version": "2.1.0"
|
|
||||||
},
|
|
||||||
"systemd": {
|
|
||||||
"units": [
|
|
||||||
{
|
|
||||||
"name": "oem-cloudinit.service",
|
|
||||||
"enabled": true,
|
|
||||||
"contents": "[Unit]\nDescription=Cloudinit from Azure metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=azure\n\n[Install]\nWantedBy=multi-user.target\n"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"ignition": {
|
|
||||||
"version": "2.1.0"
|
|
||||||
},
|
|
||||||
"systemd": {
|
|
||||||
"units": [
|
|
||||||
{
|
|
||||||
"name": "oem-cloudinit.service",
|
|
||||||
"enabled": true,
|
|
||||||
"contents": "[Unit]\nDescription=Cloudinit from DigitalOcean metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=digitalocean\n\n[Install]\nWantedBy=multi-user.target\n"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"ignition": {
|
|
||||||
"version": "2.1.0"
|
|
||||||
},
|
|
||||||
"systemd": {
|
|
||||||
"units": [
|
|
||||||
{
|
|
||||||
"name": "user-configdrive.service",
|
|
||||||
"mask": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "user-configvirtfs.service",
|
|
||||||
"mask": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "oem-cloudinit.service",
|
|
||||||
"enabled": true,
|
|
||||||
"contents": "[Unit]\nDescription=Cloudinit from platform metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=ec2-compat\n\n[Install]\nWantedBy=multi-user.target\n"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -60,7 +60,6 @@ src_install() {
|
|||||||
|
|
||||||
insinto "/usr/share/oem/base"
|
insinto "/usr/share/oem/base"
|
||||||
doins "${FILESDIR}/base/README"
|
doins "${FILESDIR}/base/README"
|
||||||
doins "${FILESDIR}/base/default.ign"
|
|
||||||
if use ec2 ; then
|
if use ec2 ; then
|
||||||
newins "${FILESDIR}/base/base-ec2.ign" base.ign
|
newins "${FILESDIR}/base/base-ec2.ign" base.ign
|
||||||
fi
|
fi
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"ignition": {
|
|
||||||
"version": "2.1.0"
|
|
||||||
},
|
|
||||||
"systemd": {
|
|
||||||
"units": [
|
|
||||||
{
|
|
||||||
"name": "oem-cloudinit.service",
|
|
||||||
"enabled": true,
|
|
||||||
"contents": "[Unit]\nDescription=Cloudinit from GCE metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=gce\n\n[Install]\nWantedBy=multi-user.target\n"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"ignition": {
|
|
||||||
"version": "2.1.0"
|
|
||||||
},
|
|
||||||
"systemd": {
|
|
||||||
"units": [
|
|
||||||
{
|
|
||||||
"name": "oem-cloudinit.service",
|
|
||||||
"enabled": true,
|
|
||||||
"contents": "[Unit]\nDescription=Cloudinit from Packet metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=packet\n\n[Install]\nWantedBy=multi-user.target\n"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"ignition": {
|
|
||||||
"version": "2.1.0"
|
|
||||||
},
|
|
||||||
"systemd": {
|
|
||||||
"units": [
|
|
||||||
{
|
|
||||||
"name": "oem-cloudinit.service",
|
|
||||||
"enabled": true,
|
|
||||||
"contents": "[Unit]\nDescription=Cloudinit from VMware metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=vmware\n\n[Install]\nWantedBy=multi-user.target\n"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -5,14 +5,14 @@ EAPI=7
|
|||||||
CROS_WORKON_PROJECT="flatcar-linux/ignition"
|
CROS_WORKON_PROJECT="flatcar-linux/ignition"
|
||||||
CROS_WORKON_LOCALNAME="ignition"
|
CROS_WORKON_LOCALNAME="ignition"
|
||||||
CROS_WORKON_REPO="https://github.com"
|
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"
|
COREOS_GO_GO111MODULE="off"
|
||||||
inherit coreos-go cros-workon systemd udev
|
inherit coreos-go cros-workon systemd udev
|
||||||
|
|
||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64 ~arm64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
else
|
else
|
||||||
CROS_WORKON_COMMIT="de4e6cc9bbba4c801424d74c7f271291766aad7a" # flatcar-master
|
CROS_WORKON_COMMIT="e2a714474441b416693430e6080e7900d8dd14f0" # main
|
||||||
KEYWORDS="amd64 arm64"
|
KEYWORDS="amd64 arm64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ PATCHES=(
|
|||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
export GO15VENDOREXPERIMENT="1"
|
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"
|
go_build "${COREOS_GO_PACKAGE}/internal"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ CROS_WORKON_REPO="https://github.com"
|
|||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
else
|
else
|
||||||
CROS_WORKON_COMMIT="d586e78111173bb0d9ebd4afa7efbc45f07dffb4" # flatcar-master
|
CROS_WORKON_COMMIT="820a5ad998832cfb06c17df0e61766028f7417eb" # flatcar-master
|
||||||
KEYWORDS="amd64 arm arm64 x86"
|
KEYWORDS="amd64 arm arm64 x86"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -34,6 +34,7 @@ src_install() {
|
|||||||
"${D}"/usr/lib/dracut/modules.d/30disk-uuid/disk-uuid.sh \
|
"${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-generator \
|
||||||
"${D}"/usr/lib/dracut/modules.d/30ignition/ignition-setup.sh \
|
"${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/30ignition/retry-umount.sh \
|
||||||
"${D}"/usr/lib/dracut/modules.d/35torcx/torcx-profile-populate-generator \
|
"${D}"/usr/lib/dracut/modules.d/35torcx/torcx-profile-populate-generator \
|
||||||
"${D}"/usr/lib/dracut/modules.d/99setup-root/initrd-setup-root \
|
"${D}"/usr/lib/dracut/modules.d/99setup-root/initrd-setup-root \
|
||||||
|
Loading…
Reference in New Issue
Block a user