build: optimize vmdk
This commit is contained in:
@@ -182,7 +182,8 @@ function convert_disk_image_vmdk() {
|
||||
|
||||
|
||||
function convert_disk_image_gz() {
|
||||
local hdd_img="$(hassos_image_name img)"
|
||||
local hdd_ext=${1:-img}
|
||||
local hdd_img="$(hassos_image_name ${hdd_ext})"
|
||||
|
||||
rm -f ${hdd_img}.gz
|
||||
gzip --best ${hdd_img}
|
||||
|
||||
@@ -34,7 +34,7 @@ function create_ota_update() {
|
||||
) > ${rauc_folder}/manifest.raucm
|
||||
|
||||
# SPL
|
||||
if [ "${BOOT_SYS}" != "spl" ]; then
|
||||
if [ "${BOOT_SYS}" == "spl" ]; then
|
||||
cp -f ${spl} ${rauc_folder}/spl.img
|
||||
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user