Drop directories when creating zip file (#1372)

We zip a single file nested in a rather deep directory tree which stems
from the build system. This doesn't need to be exposed to users.
This commit is contained in:
Stefan Agner 2021-05-25 19:32:42 +02:00 committed by GitHub
parent 0f57b55b4c
commit 8020671ca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -331,5 +331,5 @@ function convert_disk_image_zip() {
local hdd_img="$(hassos_image_name "${hdd_ext}")" local hdd_img="$(hassos_image_name "${hdd_ext}")"
rm -f "${hdd_img}.zip" rm -f "${hdd_img}.zip"
zip -r "${hdd_img}.zip" "${hdd_img}" zip -j -q -r "${hdd_img}.zip" "${hdd_img}"
} }