mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
mkimage: dont copy missing files
This commit is contained in:
parent
01f10c1735
commit
24602d9b42
@ -242,10 +242,14 @@ elif [ "$BOOTLOADER" = "u-boot" ]; then
|
|||||||
echo "image: copying files to part1..."
|
echo "image: copying files to part1..."
|
||||||
cp $TARGET_IMG/$IMAGE_NAME.kernel "$OE_TMP/KERNEL"
|
cp $TARGET_IMG/$IMAGE_NAME.kernel "$OE_TMP/KERNEL"
|
||||||
cp $TARGET_IMG/$IMAGE_NAME.system "$OE_TMP/SYSTEM"
|
cp $TARGET_IMG/$IMAGE_NAME.system "$OE_TMP/SYSTEM"
|
||||||
cp $RELEASE_DIR/3rdparty/bootloader/u-boot.img "$OE_TMP"
|
if [ -f $RELEASE_DIR/3rdparty/bootloader/u-boot.img ] ; then
|
||||||
|
cp $RELEASE_DIR/3rdparty/bootloader/u-boot.img "$OE_TMP"
|
||||||
|
fi
|
||||||
|
|
||||||
for dtb in $(ls $RELEASE_DIR/3rdparty/bootloader/*.dtb) ; do
|
for dtb in $RELEASE_DIR/3rdparty/bootloader/*.dtb ; do
|
||||||
cp "$dtb" "$OE_TMP"
|
if [ -f $dtb ] ; then
|
||||||
|
cp "$dtb" "$OE_TMP"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
fi # bootloader
|
fi # bootloader
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user