From 0bf0cba705d2fa64a4e813173f25f80fdc282f25 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Wed, 26 Jun 2019 21:56:54 +0200 Subject: [PATCH] scripts/image: copy config.txt and distroconfig.txt from INSTALL Signed-off-by: Matthias Reichl --- scripts/image | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/image b/scripts/image index 26e1a217d6..388fc90907 100755 --- a/scripts/image +++ b/scripts/image @@ -382,12 +382,9 @@ if [ "${1}" = "release" -o "${1}" = "mkimage" -o "${1}" = "noobs" ]; then # Create System dir mkdir -p ${RELEASE_DIR}/${NOOBS_DISTRO}/System - BOOTLOADER_DIR="$(get_pkg_directory "${BOOTLOADER}")" - if [ -d ${BOOTLOADER_DIR}/files/3rdparty/bootloader/ ]; then - cp -PR ${BOOTLOADER_DIR}/files/3rdparty/bootloader/* ${RELEASE_DIR}/${NOOBS_DISTRO}/System - fi - # Copy Bootloader + cp -PR ${INSTALL}/usr/share/bootloader/config.txt ${RELEASE_DIR}/${NOOBS_DISTRO}/System/ + cp -PR ${INSTALL}/usr/share/bootloader/distroconfig.txt ${RELEASE_DIR}/${NOOBS_DISTRO}/System/ cp -PR ${INSTALL}/usr/share/bootloader/LICENCE* ${RELEASE_DIR}/${NOOBS_DISTRO}/System/ cp -PR ${INSTALL}/usr/share/bootloader/bootcode.bin ${RELEASE_DIR}/${NOOBS_DISTRO}/System/ cp -PR ${INSTALL}/usr/share/bootloader/fixup.dat ${RELEASE_DIR}/${NOOBS_DISTRO}/System/