Fix uki modes for rootfs (#453)

This commit is contained in:
Itxaka 2023-09-25 16:51:15 +02:00 committed by GitHub
parent 1caf5354ea
commit bb7a8bc57d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
packages: packages:
- name: "kairos-overlay-files" - name: "kairos-overlay-files"
category: "static" category: "static"
version: "1.0.9" version: "1.0.10"

View File

@ -8,7 +8,7 @@
name: "Rootfs Layout Settings for UKI" name: "Rootfs Layout Settings for UKI"
stages: stages:
rootfs: rootfs:
- if: '[ -e "/run/cos/uki_mode" ] && [ ! -e "/dev/disk/by-label/UKI_ISO_INSTALL" ]' - if: '[ -e "/run/cos/uki_mode" ] && [ ! -e "/run/cos/uki_boot_mode" ]'
name: "Layout configuration for UKI boot" name: "Layout configuration for UKI boot"
environment_file: /run/cos/cos-layout.env environment_file: /run/cos/cos-layout.env
environment: environment:
@ -46,7 +46,7 @@ stages:
/usr/share/pki/trust /usr/share/pki/trust
/usr/share/pki/trust/anchors /usr/share/pki/trust/anchors
/var/lib/ca-certificates /var/lib/ca-certificates
- if: '[ -e "/run/cos/uki_mode" ] && [ -e "/dev/disk/by-label/UKI_ISO_INSTALL" ]' - if: '[ -e "/run/cos/uki_mode" ] && [ -e "/run/cos/uki_install_mode" ]'
# omit everything on installer, just set the ephemeral paths # omit everything on installer, just set the ephemeral paths
name: "Layout configuration for UKI installer" name: "Layout configuration for UKI installer"
environment_file: /run/cos/cos-layout.env environment_file: /run/cos/cos-layout.env