diff --git a/packages/bundles/kairos-overlay-files/files/system/oem/12_nvidia.yaml b/packages/bundles/kairos-overlay-files/files/system/oem/12_nvidia.yaml index 47d9e7d..6b2fde6 100644 --- a/packages/bundles/kairos-overlay-files/files/system/oem/12_nvidia.yaml +++ b/packages/bundles/kairos-overlay-files/files/system/oem/12_nvidia.yaml @@ -50,7 +50,8 @@ stages: ### Usually this is not the case as there is no need of subtrees, but due to how overlayfs work the workdir and uppermount needs to be in the same filesystem. stages: initramfs.before: - - commands: + - if: '[ ! -f "/run/cos/recovery_mode" ]' + commands: - umount /usr/local - | mkdir -p /run/mount/persistent && \