1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-24 13:46:18 +00:00
Lakka-LibreELEC/projects/Ayn/devices/Odin/packages/odin-bootloader/release
GavinDarkglider 4f8d2a57e9
WIP - Add Support for Ayn Odin (#1713)
* Initial fully buildable/bootable Odin Support

* Rework NX-Boot to FAT32 Boot for shared usage between switch and odin

* Move shared packages from switch/odin to main packages folder
2023-01-21 16:11:38 +01:00

11 lines
485 B
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}/boot2
cp -PR ${INSTALL}/usr/share/bootloader/boot/boot ${RELEASE_DIR}/${DISTRO_FOLDER_NAME}/
cp -PR ${INSTALL}/usr/share/bootloader/boot/EFI ${RELEASE_DIR}/${DISTRO_FOLDER_NAME}/
cp -PR ${INSTALL}/usr/share/bootloader/boot/sdm845-ayn-odin.dtb ${RELEASE_DIR}/${DISTRO_FOLDER_NAME}/boot2