From dbdcc8cbefa69d76f8151abf660ce21953fb0d03 Mon Sep 17 00:00:00 2001 From: Kai Lueke Date: Mon, 12 Feb 2024 16:04:54 +0100 Subject: [PATCH] sys-kernel/bootengine: Ensure /run/ignition.env exists on every boot This pulls in https://github.com/flatcar/bootengine/pull/86 to fix the previous rework that only created /run/ignition.env on the first boot while we rely on it to run cloud-init on every boot when no Ignition config was provided. --- .../sys-kernel/bootengine/bootengine-9999.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-9999.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-9999.ebuild index 08ce6dbb4f2..8e44a258b31 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-9999.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-9999.ebuild @@ -10,7 +10,7 @@ CROS_WORKON_REPO="https://github.com" if [[ "${PV}" == 9999 ]]; then KEYWORDS="~amd64 ~arm ~arm64 ~x86" else - CROS_WORKON_COMMIT="10341079dde4bf7f8fbdb8a01a73b94da355c1ba" # flatcar-master + CROS_WORKON_COMMIT="d30cbf22a7f8ffc462932ae0a5d4c6de249c2b11" # TODO: flatcar-master KEYWORDS="amd64 arm arm64 x86" fi @@ -35,6 +35,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-setup-pre.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/99setup-root/initrd-setup-root \