From ec27fd44a2e3ee0b528042cc85e0b2b4e24f037f Mon Sep 17 00:00:00 2001 From: Jybz Date: Sat, 15 Aug 2020 23:19:25 +0200 Subject: Locate 2 bugs, one with useless files fullfilling boot partition, one overwriting sourced values. --- create_arm_image.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/create_arm_image.sh b/create_arm_image.sh index 01855e6..9a9690c 100755 --- a/create_arm_image.sh +++ b/create_arm_image.sh @@ -553,7 +553,8 @@ function copyingsystem() info "Remove second_stage_install.sh" /usr/bin/rm -f "${BUILD_PATH}/second_stage_install.sh" - + + ### BUG : rpi3b+64b is using a bootloader partition, in which only the bootloader lays. Here, everything is copying into. if [ 1 -eq ${SEPARATE_BOOT_PARTITION} ]; then ARM_BOOT="${BUILD_PATH}/mnt/arm_boot" if ! [ -d "${ARM_BOOT}" ]; then @@ -977,9 +978,10 @@ fi info "Option: "${OPT} -IMAGE="Mageia-${MAGEIA_VERSION}-${TARGET}${TARGET_VERSION}.img" -BOOT="/mnt/boot" -ROOT="/mnt/root" + ### BUG : This lines overright values sourced 40 lines before : " source "${CONFIG_PATH}/mageia4arm.cfg" +# IMAGE="Mageia-${MAGEIA_VERSION}-${TARGET}${TARGET_VERSION}.img" +# BOOT="/mnt/boot" +# ROOT="/mnt/root" BUILD_PATH="${INSTALL_PATH}/build-${TARGET}${TARGET_VERSION}" # ARM_VERSION="armv7hl" DNF_CONFIGPATH="$(dirname $(realpath "$0"))/mageia4arm-dnf.conf" -- cgit v1.2.1