1
0
This repository has been archived on 2024-11-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
GavinDarkglider 9e969c418d 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
2022-08-03 20:43:23 +03: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