aboutsummaryrefslogtreecommitdiff
path: root/rpb-uefi
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2019-11-05 21:54:59 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2019-11-05 16:25:26 +0000
commit1f2e50b4af14e6c2eb9182a78ae99ae7ecda8103 (patch)
tree372b3be36c65fa45c7a99255c17911b113a14205 /rpb-uefi
parentaf62dca4507953a74b086425d145406756869e05 (diff)
rpb-uefi: hikey: dereference symlink
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: I5a4df79afd2e88b0e622d34e435777a18464e96f
Diffstat (limited to 'rpb-uefi')
-rwxr-xr-xrpb-uefi/staging/builders.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpb-uefi/staging/builders.sh b/rpb-uefi/staging/builders.sh
index 5946f8c7a6..601a13931b 100755
--- a/rpb-uefi/staging/builders.sh
+++ b/rpb-uefi/staging/builders.sh
@@ -130,11 +130,11 @@ if [ "${MX_PLATFORM}" = "hikey" ]; then
${OPTEE_OS_DIR}/arm-plat-hikey/export-ta_arm64 ${OPTEE_OS_DIR}/arm-plat-hikey/export-ta_arm32
wget https://raw.githubusercontent.com/96boards/burn-boot/master/hisi-idt.py -O ${WORKSPACE}/out/${BUILD_TYPE}/hisi-idt.py
dd if=/dev/zero of=${WORKSPACE}/out/${BUILD_TYPE}/nvme.img bs=128 count=1024
- cp -a ${LOADER_DIR}/fip.bin ${LOADER_DIR}/l-loader.bin ${LOADER_DIR}/recovery.bin ${LOADER_DIR}/*ptable.img ${WORKSPACE}/out/${BUILD_TYPE}
+ cp -L ${LOADER_DIR}/fip.bin ${LOADER_DIR}/l-loader.bin ${LOADER_DIR}/recovery.bin ${LOADER_DIR}/*ptable.img ${WORKSPACE}/out/${BUILD_TYPE}
fi
if [ "${MX_PLATFORM}" = "hikey960" ]; then
- cp -a ${LOADER_DIR}/fip.bin ${LOADER_DIR}/l-loader.bin ${LOADER_DIR}/recovery.bin ${LOADER_DIR}/*ptable.img ${WORKSPACE}/out/${BUILD_TYPE}
+ cp -L ${LOADER_DIR}/fip.bin ${LOADER_DIR}/l-loader.bin ${LOADER_DIR}/recovery.bin ${LOADER_DIR}/*ptable.img ${WORKSPACE}/out/${BUILD_TYPE}
git clone --depth 1 https://github.com/96boards-hikey/tools-images-hikey960.git
cd tools-images-hikey960
cat > config << EOF
@@ -142,7 +142,7 @@ hisi-sec_usb_xloader.img 0x00020000
hisi-sec_uce_boot.img 0x6A908000
recovery.bin 0x1AC00000
EOF
- cp -a config hikey_idt hisi-sec_uce_boot.img hisi-sec_usb_xloader.img hisi-sec_xloader.img ${WORKSPACE}/out/${BUILD_TYPE}/
+ cp -L config hikey_idt hisi-sec_uce_boot.img hisi-sec_usb_xloader.img hisi-sec_xloader.img ${WORKSPACE}/out/${BUILD_TYPE}/
fi
cd ${WORKSPACE}