@balena/ui-shared-components 12.1.0-build-secure-boot-0f91aab21d2d77cbaaebddf68775aec0ba8c81ab-1 → 12.1.0-build-secure-boot-2c5c8e4924e342568b3329321abc34dad522f8e9-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,6 +6,7 @@ import { MUILinkWithTracking } from '../MUILinkWithTracking';
|
|
|
6
6
|
import { OrderedListItem } from '../OrderedListItem';
|
|
7
7
|
import { Markdown } from '../Markdown';
|
|
8
8
|
import { Chip } from '../Chip';
|
|
9
|
+
import { token } from '../../utils/token';
|
|
9
10
|
export const getUserOs = () => {
|
|
10
11
|
const platform = window.navigator.platform.toLowerCase();
|
|
11
12
|
if (platform.includes('win')) {
|
|
@@ -82,7 +83,7 @@ const InstructionsItem = ({ instruction, index, secureboot, }) => {
|
|
|
82
83
|
return _jsx("p", {});
|
|
83
84
|
},
|
|
84
85
|
p: ({ children }) => (_jsx("p", { style: { marginTop: 0, marginBottom: 0 }, children: secureboot &&
|
|
85
|
-
instruction.includes(SECURE_BOOT_INSTRUCTION_TO_REPLACE_START) ? (_jsxs(_Fragment, { children: [instruction.split(SECURE_BOOT_INSTRUCTION_TO_REPLACE_START)[0], _jsxs(Box, { mt: 2, borderLeft: 1, borderColor:
|
|
86
|
+
instruction.includes(SECURE_BOOT_INSTRUCTION_TO_REPLACE_START) ? (_jsxs(_Fragment, { children: [instruction.split(SECURE_BOOT_INSTRUCTION_TO_REPLACE_START)[0], _jsxs(Box, { mt: 2, borderLeft: 1, borderColor: token('color.border.subtle'), pl: 2, children: [_jsx(Chip, { sx: { marginRight: 1 }, label: "Secure Boot", color: "purple" }), "The device needs to be configured in secure boot setup mode. This depends on the UEFI/BIOS implementation, but in general, this involves resetting the UEFI settings to default configuration, configuring the device to boot in UEFI mode, setting the first boot option to the USB key and disabling the restoration of factory keys. Save and Exit the UEFI/BIOS menu and the device should automatically reboot and begin the provisioning process.", ' ', _jsx(MUILinkWithTracking, { href: "https://docs.balena.io/reference/OS/secure-boot-and-full-disk-encryption/generic-x86-64-gpt/#provision-the-device", children: "Read more on UEFI settings for secure boot and full disk encryption." })] })] })) : (children) })),
|
|
86
87
|
}, children: instruction }) }));
|
|
87
88
|
};
|
|
88
89
|
const InstructionsList = ({ instructions, secureboot, }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@balena/ui-shared-components",
|
|
3
|
-
"version": "12.1.0-build-secure-boot-
|
|
3
|
+
"version": "12.1.0-build-secure-boot-2c5c8e4924e342568b3329321abc34dad522f8e9-1",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"files": [
|
|
@@ -139,6 +139,6 @@
|
|
|
139
139
|
},
|
|
140
140
|
"homepage": "https://github.com/balena-io/ui-shared-components#readme",
|
|
141
141
|
"versionist": {
|
|
142
|
-
"publishedAt": "2025-04-
|
|
142
|
+
"publishedAt": "2025-04-08T12:51:43.517Z"
|
|
143
143
|
}
|
|
144
144
|
}
|