mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 06:56:29 +00:00
os: use hyprid for SPL to fix windows
This commit is contained in:
parent
6ab6cd7ff4
commit
5ad184f943
@ -167,6 +167,7 @@ function fix_disk_image_spl() {
|
|||||||
local spl_img="${BINARIES_DIR}/spl.img"
|
local spl_img="${BINARIES_DIR}/spl.img"
|
||||||
|
|
||||||
sgdisk -t 1:"E3C9E316-0B5C-4DB8-817D-F92DF00215AE" ${hdd_img}
|
sgdisk -t 1:"E3C9E316-0B5C-4DB8-817D-F92DF00215AE" ${hdd_img}
|
||||||
|
dd if=${BR2_EXTERNAL_HASSOS_PATH}/misc/mbr-spl.img of=${hdd_img} conv=notrunc bs=512 count=1
|
||||||
dd if=${spl_img} of=${hdd_img} conv=notrunc bs=512 seek=2
|
dd if=${spl_img} of=${hdd_img} conv=notrunc bs=512 seek=2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user