mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 15:06:29 +00:00
Update hdd_image.sh
This commit is contained in:
parent
de715efcdc
commit
713ec4b476
@ -48,7 +48,7 @@ function hassio_hdd_image() {
|
||||
sgdisk -v
|
||||
|
||||
# Mount image
|
||||
losetup -P -f ${hdd_img}
|
||||
kpartx -l ${hdd_img}
|
||||
|
||||
# Copy data
|
||||
dd if=${boot_img} of=${loop_dev}p1 bs=512
|
||||
@ -57,6 +57,6 @@ function hassio_hdd_image() {
|
||||
dd if=${data_img} of=${loop_dev}p6 bs=512
|
||||
|
||||
# Cleanup
|
||||
losetup -d ${loop_dev}
|
||||
kpartx -d ${loop_dev}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user