From 3846370611b1e49fb6a9fb677efc72baf0a9f3c4 Mon Sep 17 00:00:00 2001 From: Jybz Date: Fri, 19 Feb 2021 15:48:00 +0100 Subject: Remove preserve ownership while copying in FAT fs. --- platforms/rpi-aarch64/specialFunctions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platforms/rpi-aarch64/specialFunctions.sh b/platforms/rpi-aarch64/specialFunctions.sh index eeae1c5..a66cd35 100755 --- a/platforms/rpi-aarch64/specialFunctions.sh +++ b/platforms/rpi-aarch64/specialFunctions.sh @@ -58,7 +58,8 @@ function copyingCustomSystem() cp --preserve=mode "${BUILD_PATH}/usr/lib/u-boot/${U_BOOT}/u-boot.bin" "${BOOT}/" print_info "copying boot files to ${BOOT}" - cp -a ${CONFIG_PATH}/boot/* "${BOOT}/" + #As there is no ownership in FAT FS. + cp -a --no-preserve=ownership ${CONFIG_PATH}/boot/* "${BOOT}/" print_info "copying dtb files to ${BOOT}" for f in ${DTB}; do -- cgit v1.2.1