mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 15:36: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
248ad07b23
commit
3e66591d35
@ -331,5 +331,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