aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xplatforms/rpi-aarch64/specialFunctions.sh3
1 files changed, 2 insertions, 1 deletions
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