mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-31 22:17:00 +00:00
fix: do not overlay mount persistent in recovery mode (#387)
This commit is contained in:
committed by
GitHub
parent
7c344c6887
commit
dab2c5eb7d
@@ -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.
|
### 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:
|
stages:
|
||||||
initramfs.before:
|
initramfs.before:
|
||||||
- commands:
|
- if: '[ ! -f "/run/cos/recovery_mode" ]'
|
||||||
|
commands:
|
||||||
- umount /usr/local
|
- umount /usr/local
|
||||||
- |
|
- |
|
||||||
mkdir -p /run/mount/persistent && \
|
mkdir -p /run/mount/persistent && \
|
||||||
|
Reference in New Issue
Block a user