Skip to content

Commit

Permalink
sys-kernel/bootengine: Ensure /run/ignition.env exists on every boot
Browse files Browse the repository at this point in the history
This pulls in flatcar/bootengine#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.
  • Loading branch information
pothos committed Feb 12, 2024
1 parent 1c5e190 commit dbdcc8c
Showing 1 changed file with 2 additions and 1 deletion.
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="10341079dde4bf7f8fbdb8a01a73b94da355c1ba" # flatcar-master
CROS_WORKON_COMMIT="d30cbf22a7f8ffc462932ae0a5d4c6de249c2b11" # TODO: flatcar-master
KEYWORDS="amd64 arm arm64 x86"
fi

Expand All @@ -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 \
Expand Down

0 comments on commit dbdcc8c

Please sign in to comment.