mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
scripts/image: copy aml_autoscript only if it exists
This commit is contained in:
parent
7bb41943bf
commit
7177ce1a45
@ -380,7 +380,9 @@ fi
|
|||||||
pushd sign > /dev/null
|
pushd sign > /dev/null
|
||||||
echo --update_package=/sdcard/$IMAGE_NAME-update.zip > factory_update_param.aml
|
echo --update_package=/sdcard/$IMAGE_NAME-update.zip > factory_update_param.aml
|
||||||
cp $INSTALL_SRC_DIR/files/recovery.img .
|
cp $INSTALL_SRC_DIR/files/recovery.img .
|
||||||
cp $INSTALL_SRC_DIR/files/aml_autoscript .
|
if [ -f $INSTALL_SRC_DIR/files/aml_autoscript ]; then
|
||||||
|
cp $INSTALL_SRC_DIR/files/aml_autoscript .
|
||||||
|
fi
|
||||||
zip -q $TARGET_IMG/$IMAGE_NAME.zip *
|
zip -q $TARGET_IMG/$IMAGE_NAME.zip *
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user