Commit Graph

308 Commits

Author SHA1 Message Date
Michał Iwanicki 8188a91b5f dts-subscription.sh: shellcheck fixes
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com>
2024-12-05 10:22:46 +01:00
Paweł Langowski 5046a68a6b Merge pull request #48 from Dasharo/smmstore-flag-remove
Novacustom: Remove duplicated NEED_SMMSTORE_MIGRATION
2024-12-02 14:11:41 +01:00
Pawel Langowski 772b36c44c include/dts-functions.sh: Novacustom: Remove duplicated NEED_SMMSTORE_MIGRATION
Signed-off-by: Pawel Langowski <pawel.langowski@3mdeb.com>
2024-12-02 12:54:05 +01:00
Paweł Langowski 8639046f7d Merge pull request #47 from Dasharo/flashrom-param-fix
Use correct flashrom flags
2024-11-29 15:17:35 +01:00
Pawel Langowski 981c97ae88 include/dts-functions.sh: Use correct flashrom flags
Signed-off-by: Pawel Langowski <pawel.langowski@3mdeb.com>
2024-11-29 15:16:13 +01:00
Paweł Langowski b37ff24598 Merge pull request #46 from Dasharo/enter
hotfix
2024-11-27 11:07:19 +01:00
Pawel Langowski b46569db23 include/dts-functions.sh: "Press enter..." hotfix
Signed-off-by: Pawel Langowski <pawel.langowski@3mdeb.com>
2024-11-27 11:02:53 +01:00
Paweł Langowski 9431daed0e Merge pull request #42 from Dasharo/uiux-fixes
UI/UX improvements
2024-11-22 13:13:32 +01:00
Pawel Langowski 8fbd2a9f42 scripts/dts: Wait for user input on exit codes other than 0
Signed-off-by: Pawel Langowski <pawel.langowski@3mdeb.com>
2024-11-21 14:28:42 +01:00
Pawel Langowski 23c6ed7f2a Use uppercase Enter
Signed-off-by: Pawel Langowski <pawel.langowski@3mdeb.com>
2024-11-21 14:28:16 +01:00
Pawel Langowski a4d3029a37 UI/UX improvements
Signed-off-by: Pawel Langowski <pawel.langowski@3mdeb.com>
2024-11-21 14:22:01 +01:00
Danik Klimuk e757053cae Merge pull request #26 from Dasharo/add-qemu-support
Add Qemu adn UEFI Capsule Update support
2024-11-20 14:28:33 +01:00
Daniil Klimuk fd823a96b5 scripts: dasharo-deploy: got to handle_fw_switching in case of Heads
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-20 12:52:07 +01:00
Daniil Klimuk 472ab6fff2 include: dts-subscription: move warning print outside login_to_dpp_server
login_to_dpp_server should only try to login, the decision to print
warning or not should be done outside this function basing on the output
of this function. Otherwise every time the function is being called the
warning could be printed too, which is not always wanted.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-20 12:52:07 +01:00
Daniil Klimuk 0cd3f0a534 Ask only for enter to continue
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-20 12:52:01 +01:00
Daniil Klimuk 750629b88d scripts: dasharo-deploy: fix version comparison in update workflow
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-18 17:43:06 +01:00
Daniil Klimuk adb410e65e include: dts-subscription: print warning instead of error
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-18 17:43:06 +01:00
Daniil Klimuk 7087b789e0 include: dts-subscription: add UEFI Capsule Update
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-18 17:42:54 +01:00
Daniil Klimuk 8a2fc2f313 include: dts-functions: fix pre-commit warnings
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-18 16:52:47 +01:00
Daniil Klimuk e85031f1a2 scripts: dasharo-deploy: rework update routine to always reboot
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-18 16:52:47 +01:00
Daniil Klimuk 79e40334f9 check for Capsule Update compatibility with currently installed firm
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-18 16:52:47 +01:00
Daniil Klimuk 0f2abda235 include: dts-functions.sh: cleanup download_ec func
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-18 16:52:47 +01:00
Daniil Klimuk c4e607a015 scripts: dasharo-deploy: send logs before trying to reboot
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-18 16:52:47 +01:00
Daniil Klimuk 84c7b6029e include: dts-functions.sh: download_artifacts: delete
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-18 16:52:47 +01:00
Daniil Klimuk 55256f51e5 do not use flashrom with QEMU
flashrom does not support QEMU and fails every time. I have not found a
better way to handle it, but we should not place hardwere related
configs all around the code.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-11-18 16:52:47 +01:00