mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-01 15:51:44 +00:00
Support recovery on UKI systems (#644)
This commit is contained in:
parent
9fd7387342
commit
07d13729d6
@ -8,7 +8,7 @@
|
||||
name: "Rootfs Layout Settings for UKI"
|
||||
stages:
|
||||
rootfs:
|
||||
- if: '[ -e "/run/cos/uki_boot_mode" ]'
|
||||
- if: '[ -e "/run/cos/uki_boot_mode" ] && [ ! -f "/run/cos/recovery_mode" ]'
|
||||
name: "Layout configuration for UKI boot"
|
||||
environment_file: /run/cos/cos-layout.env
|
||||
environment:
|
||||
@ -46,6 +46,12 @@ stages:
|
||||
/var/lib/wicked
|
||||
/var/log
|
||||
/var/snap
|
||||
- if: '[ -e "/run/cos/uki_boot_mode" ] && [ -f "/run/cos/recovery_mode" ]'
|
||||
# omit the persistent partition on recovery mode
|
||||
name: "Layout configuration for recovery mode on UKI"
|
||||
environment_file: /run/cos/cos-layout.env
|
||||
environment:
|
||||
OVERLAY: "tmpfs:25%"
|
||||
- if: '[ -e "/run/cos/uki_install_mode" ]'
|
||||
# omit everything on installer, just set the ephemeral paths
|
||||
name: "Layout configuration for UKI installer"
|
||||
|
Loading…
Reference in New Issue
Block a user