Commit Graph

112 Commits

Author SHA1 Message Date
Maciej Pijanowski
3fc2675a2e fix Intel regions backup
We have detected that the ME and IGB regions are not backed up
on MTL laptops (should affect other hw as well) due to the
mismatch in this detection logic.

Another issue is why we have two functions doing the same thing,
but this can be resolved by a followup commits.

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2024-05-20 14:24:11 +02:00
Maciej Pijanowski
91261f9c1d apply shellcheck
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2024-04-15 15:52:02 +02:00
Daniil Klimuk
e646747fdd scripts: dts: rerender entire header
Rerender the entire header in the loop. Ask to press ENTER at the
end of each part, so logs won't be immediately overwritten by the
header.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-15 15:36:23 +02:00
Daniil Klimuk
1e98c2e919 add DES and SSH header parts and menu
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-15 15:36:22 +02:00
Daniil Klimuk
5796994c51 scripts: dts: rework DTS header
The header was inspired by Chromebox.

Add more hardware nad firmware information into the header.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-15 15:35:37 +02:00
Daniil Klimuk
cfc288cf8a rename BOARD_VENDOR variable to SYSTEM_VENDOR
This variable is initialized with value from dmiedecode -s
system-manufacturer, so SYSTEM_VENDOR name is more appropriate.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-15 15:35:37 +02:00
Daniil Klimuk
5610e60007 rework colors and print functions
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-15 15:35:34 +02:00
Maciej Pijanowski
aa2f0a9297 Merge pull request #5 from Dasharo/add-pre-commit
Add pre-commit hooks
2024-04-15 15:32:13 +02:00
Daniil Klimuk
e6d7198e4b fix issues reported after implementing pre-commit hooks
For list of pre-commit warnings checkout:
https://www.shellcheck.net/wiki/

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-15 15:21:29 +02:00
Daniil Klimuk
ea48f0a3eb scripts: dasharo-deploy: add system clock syncing
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-11 09:33:10 +02:00
Maciej Pijanowski
2583e7e5fa relicense to Apache-2.0, reuse compliance
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2024-04-10 11:10:52 +02:00
Daniil Klimuk
9e89d02099 reorganize repo structure
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-09 13:32:05 +02:00