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