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
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
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
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
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
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
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
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
Daniil Klimuk
332f30f276
include: dts-functions.sh: board_config: cleanup Novacustom config
...
Reviewed-by: Michał Iwanicki <michal.iwanicki@3mdeb.com >
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com >
2024-11-18 16:52:46 +01:00
Daniil Klimuk
8e05b0f2e2
delete explicit redirection to stdout (1>&1)
...
Reviewed-by: Michał Iwanicki <michal.iwanicki@3mdeb.com >
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com >
2024-11-18 16:52:46 +01:00
Daniil Klimuk
4934117d74
include: dts-functions.sh: fix AC adapter mocking
...
Reviewed-by: Michał Iwanicki <michal.iwanicki@3mdeb.com >
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com >
2024-11-18 16:52:46 +01:00
Daniil Klimuk
f6ed23873c
include: do not modify SHELL env. var.
...
Reviewed-by: Michał Iwanicki <michal.iwanicki@3mdeb.com >
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com >
2024-11-18 16:52:46 +01:00
Daniil Klimuk
09258fb168
include: hal: dts-hal.sh: use $@ instead of $*
...
Reviewed-by: Michał Iwanicki <michal.iwanicki@3mdeb.com >
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com >
2024-11-18 16:52:46 +01:00
Daniil Klimuk
821e7082b3
include: hal: dts-hal: add usage comment for tool_wrapper
...
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com >
2024-11-18 16:52:46 +01:00
Daniil Klimuk
183ae6ad0f
include: dts-subscription.sh: fix creds problem warning printing
...
Before:
Something may be wrong with the DPP credentials or you may not
have access to Dasharo Firmware. If so, consider getting Dasharo
Subscription and improving security of your platform!
Now:
Something may be wrong with the DPP credentials or you may not
have access to Dasharo Firmware. If so, consider getting Dasharo
Subscription and improving security of your platform!
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com >
2024-11-18 16:52:46 +01:00
Daniil Klimuk
1fde2de736
include: dts-functions.sh: check_if_boot_guard_enabled add mocks
...
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com >
2024-11-18 16:52:45 +01:00
Daniil Klimuk
ef75759a38
include: dts-functions.sh: check_if_fused: add mocks
...
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com >
2024-11-18 16:52:45 +01:00