mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/mkimage: add support for boot-logo.bmp.gz
This commit is contained in:
parent
e8870e6abd
commit
9dde35d458
BIN
distributions/LibreELEC/splash/boot-logo.bmp.gz
Normal file
BIN
distributions/LibreELEC/splash/boot-logo.bmp.gz
Normal file
Binary file not shown.
@ -130,6 +130,11 @@ makeinstall_target() {
|
||||
Odroid_C2)
|
||||
cp -PRv $PKG_DIR/scripts/update-c2.sh $INSTALL/usr/share/bootloader/update.sh
|
||||
cp -PRv $ROOT/$PKG_BUILD/u-boot.bin $INSTALL/usr/share/bootloader/u-boot
|
||||
if [ -f $PROJECT_DIR/$PROJECT/splash/boot-logo.bmp.gz ]; then
|
||||
cp -PRv $PROJECT_DIR/$PROJECT/splash/boot-logo.bmp.gz $INSTALL/usr/share/bootloader
|
||||
elif [ -f $DISTRO_DIR/$DISTRO/splash/boot-logo.bmp.gz ]; then
|
||||
cp -PRv $DISTRO_DIR/$DISTRO/splash/boot-logo.bmp.gz $INSTALL/usr/share/bootloader
|
||||
fi
|
||||
;;
|
||||
imx6)
|
||||
cp -PRv $PKG_DIR/scripts/update.sh $INSTALL/usr/share/bootloader
|
||||
|
@ -43,5 +43,10 @@ mkdir -p $RELEASE_DIR/3rdparty/bootloader
|
||||
Odroid_C2)
|
||||
cp -PR $BUILD/$BOOTLOADER-*/u-boot.bin $RELEASE_DIR/3rdparty/bootloader/u-boot
|
||||
cp -PR $PROJECT_DIR/$PROJECT/bootloader/boot.ini $RELEASE_DIR/3rdparty/bootloader
|
||||
if [ -f $PROJECT_DIR/$PROJECT/splash/boot-logo.bmp.gz ]; then
|
||||
cp -PR $PROJECT_DIR/$PROJECT/splash/boot-logo.bmp.gz $RELEASE_DIR/3rdparty/bootloader
|
||||
elif [ -f $DISTRO_DIR/$DISTRO/splash/boot-logo.bmp.gz ]; then
|
||||
cp -PR $DISTRO_DIR/$DISTRO/splash/boot-logo.bmp.gz $RELEASE_DIR/3rdparty/bootloader
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
@ -44,6 +44,11 @@ fi
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -f $SYSTEM_ROOT/usr/share/bootloader/boot-logo.bmp.gz ]; then
|
||||
echo "*** updating boot logo ..."
|
||||
cp -p $SYSTEM_ROOT/usr/share/bootloader/boot-logo.bmp.gz $BOOT_ROOT
|
||||
fi
|
||||
|
||||
echo "*** updating u-boot for Odroid on: $BOOT_DISK ..."
|
||||
|
||||
dd if=$SYSTEM_ROOT/usr/share/bootloader/u-boot of=$BOOT_DISK conv=fsync bs=1 count=112
|
||||
|
@ -246,6 +246,10 @@ elif [ "$BOOTLOADER" = "u-boot" ]; then
|
||||
mcopy $RELEASE_DIR/3rdparty/bootloader/u-boot.img ::
|
||||
fi
|
||||
|
||||
if [ -f $RELEASE_DIR/3rdparty/bootloader/boot-logo.bmp.gz ]; then
|
||||
mcopy $RELEASE_DIR/3rdparty/bootloader/boot-logo.bmp.gz ::
|
||||
fi
|
||||
|
||||
for dtb in $RELEASE_DIR/3rdparty/bootloader/*.dtb ; do
|
||||
if [ -f $dtb ] ; then
|
||||
mcopy "$dtb" ::/$(basename "$dtb")
|
||||
|
Loading…
x
Reference in New Issue
Block a user