mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 15:06:29 +00:00
Remove original images when creating zip (#1461)
Other compression methods remove the original image file at compression. Add the -m (move) command to zip to do the same when compressing with zip. This saves some space in the builds image/release directory.
This commit is contained in:
parent
ad8ee5610d
commit
c58a568f64
@ -324,5 +324,5 @@ function convert_disk_image_zip() {
|
||||
local hdd_img="$(hassos_image_name "${hdd_ext}")"
|
||||
|
||||
rm -f "${hdd_img}.zip"
|
||||
zip -j -q -r "${hdd_img}.zip" "${hdd_img}"
|
||||
zip -j -m -q -r "${hdd_img}.zip" "${hdd_img}"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user