Lakka-LibreELEC/projects/L4T/devices/Switch/packages/switch-bootloader/release
GavinDarkglider 1c3e314011
Lakka-v4.x:Switch: More fixes/workarounds (#1807)
* Switch: Initial kernel cleanup

* Switch: Mariko: Attempt to fix gadget attach to UDC issue

* Switch: Cleanup initramfs and copy XUSB firmware for mariko to initramfs

* Retroarch: Add Switch lite Controller Workaround to pre-start script

* Switch: bootloader: Fix R2P syntax issue with new driver

* L4T: Fix get_l4t-kernel-sources script sha256 checks
This is far from the finished version, but it should fix kernel nightly issues

* L4T: Switch: update config/script packages versions for nightly

* L4T:Switch:Bootloader: Small cleanups, and add hekate icon for LibreELEC
2023-01-22 00:18:58 +01:00

24 lines
1.1 KiB
Bash
Executable File

#!/bin/bash
if [ "${DISTRO}" = "Lakka" ]; then
DISTRO_FOLDER_NAME="lakka"
elif [ "${DISTRO}" = "LibreELEC" ]; then
DISTRO_FOLDER_NAME="libreelec"
fi
mkdir -p ${RELEASE_DIR}/${DISTRO_FOLDER_NAME}/boot
#Generic Bootloader stuff
cp -PR ${INSTALL}/usr/share/bootloader/boot/splash.bmp ${RELEASE_DIR}/${DISTRO_FOLDER_NAME}/boot
cp -PR ${INSTALL}/usr/share/bootloader/boot/bl31.bin ${RELEASE_DIR}/${DISTRO_FOLDER_NAME}/boot
cp -PR ${INSTALL}/usr/share/bootloader/boot/bl33.bin ${RELEASE_DIR}/${DISTRO_FOLDER_NAME}/boot
cp -PR ${INSTALL}/usr/share/bootloader/boot/README_CONFIG.txt ${RELEASE_DIR}/${DISTRO_FOLDER_NAME}/
cp -PR ${INSTALL}/usr/share/bootloader/boot/nx-plat.dtimg ${RELEASE_DIR}/${DISTRO_FOLDER_NAME}/boot
cp -PR ${INSTALL}/usr/share/bootloader/boot/boot.scr ${RELEASE_DIR}/${DISTRO_FOLDER_NAME}/boot
#Hekate Icon for distro
[ ${DISTRO} = "Lakka" -o ${DISTRO} = "LibreELEC" ] && cp -PR ${INSTALL}/usr/share/bootloader/boot/icon_${DISTRO_FOLDER_NAME}_hue.bmp ${RELEASE_DIR}/${DISTRO_FOLDER_NAME}/boot
#Hekate ini
mkdir -p ${RELEASE_DIR}/bootloader/ini
cp -PR ${INSTALL}/usr/share/bootloader/boot/${DISTRO}.ini ${RELEASE_DIR}/bootloader/ini