Add steamos-reset-tool usage.

Instead of using steamos-factory-reset-config which resets both
the OS and the user home partitions use steamos-reset-tool which
has arguments for each or resetting both.
This commit is contained in:
Jeremy Whiting 2024-09-20 12:20:21 -06:00
parent c62b244d24
commit f7bfdd7d7a
8 changed files with 140 additions and 31 deletions

View file

@ -1,5 +1,14 @@
[factory_reset]
script = "/usr/bin/steamos-factory-reset-config"
[factory_reset.all]
script = "/usr/bin/steamos-reset-tool"
script_args = ["factory-reset", "--reset-all"]
[factory_reset.os]
script = "/usr/bin/steamos-reset-tool"
script_args = ["factory-reset", "--reset-os"]
[factory_reset.user]
script = "/usr/bin/steamos-reset-tool"
script_args = ["factory-reset", "--reset-user-data"]
[update_bios]
script = "/usr/bin/jupiter-biosupdate"