fix(sign-image): Use package screen instead of consent screen

Currently, there doesn't seem to be confirmation that clicking accept on the consent screen
actually did anything. Use a package screen instead to avoid confusion
This commit is contained in:
RJ Trujillo 2023-08-31 17:36:08 -06:00
parent 79957ad07d
commit e286929c9f
2 changed files with 26 additions and 16 deletions

View File

@ -11,15 +11,20 @@ screens:
description: |
Configure your system to get started. Completion of this process is required for Game mode to function.
sign-image:
source: yafti.screen.consent
condition:
run: grep -qvz "signed" <<< $(rpm-ostree status)
source: yafti.screen.package
values:
title: Sign Bazzite
description: |
This will sign your current install of Bazzite. Note that this may take awhile.
actions:
- run: just --unstable sign-image
title: Signing Bazzite
condition:
run: grep -qvz "signed" <<< $(rpm-ostree status)
show_terminal: true
package_manager: yafti.plugin.run
groups:
Sign Bazzite:
description: |
This will sign your current install of Bazzite. Mandatory for offline installs. This will take awhile.
default: true
packages:
- Sign Bazzite: just --unstable sign-image
configure-bazzite:
source: yafti.screen.package
values:

View File

@ -11,15 +11,20 @@ screens:
description: |
Configure your system to get started
sign-image:
source: yafti.screen.consent
condition:
run: grep -qvz "signed" <<< $(rpm-ostree status)
source: yafti.screen.package
values:
title: Sign Bazzite
description: |
This will sign your current install of Bazzite. Note that this may take awhile.
actions:
- run: just --unstable sign-image
title: Signing Bazzite
condition:
run: grep -qvz "signed" <<< $(rpm-ostree status)
show_terminal: true
package_manager: yafti.plugin.run
groups:
Sign Bazzite:
description: |
This will sign your current install of Bazzite. Mandatory for offline installs. This will take awhile.
default: true
packages:
- Sign Bazzite: just --unstable sign-image
configure-bazzite-arch:
source: yafti.screen.package
values: