diff --git a/create_arm_img_urpmi.sh b/create_arm_img_urpmi.sh index 90ac4fa..0818c40 100755 --- a/create_arm_img_urpmi.sh +++ b/create_arm_img_urpmi.sh @@ -276,7 +276,7 @@ EOF" >>"$BUILD_PATH/second_stage_install.sh" info "Copying skel in root directory" - /bin/rsync -a /etc/skel/ "$BUILD_PATH/root/" + /bin/rsync -rlptH /etc/skel/ "$BUILD_PATH/root/" case $TARGET in @@ -601,8 +601,8 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules fi info "copying Mageia image to root partition" - /bin/rsync -a --exclude "$ARM_BOOT/" --exclude "qemu-arm-static*" "$BUILD_PATH/" "$ROOT/" - /bin/rsync -a "$ARM_BOOT/" "$BOOT/" + /bin/rsync -rlptDH --exclude "$ARM_BOOT/" --exclude "qemu-arm-static*" "$BUILD_PATH/" "$ROOT/" + /bin/rsync -rlptDH "$ARM_BOOT/" "$BOOT/" ;; odroid) ODROID_BOOT="$BUILD_PATH/mnt/odroid_boot" @@ -620,8 +620,8 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules info "Copying extlinux.conf on $ODROID_BOOT" cp -R "$BUILD_PATH/boot/extlinux" "$ODROID_BOOT/" info "copying Mageia image to root partition" - /bin/rsync -a --exclude "$ODROID_BOOT/" --exclude "qemu-arm-static*" "$BUILD_PATH/" "$ROOT/" - /bin/rsync -a "$ODROID_BOOT/" "$BOOT/" + /bin/rsync -rlptDH --exclude "$ODROID_BOOT/" --exclude "qemu-arm-static*" "$BUILD_PATH/" "$ROOT/" + /bin/rsync -rlptDH "$ODROID_BOOT/" "$BOOT/" ;; esac @@ -656,8 +656,8 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules copyingcommon() { title "Copying common files and configuration" - rsync -aP "$SOURCE_PATH/common/" "$ROOT/" - rsync -aP "$SOURCE_PATH/tools/"*.sh "$ROOT/usr/local/bin/" + rsync -rlptDH "$SOURCE_PATH/common/" "$ROOT/" + rsync -rlptDH "$SOURCE_PATH/tools/"*.sh "$ROOT/usr/local/bin/" chown root:root "$ROOT/usr/local/bin/" }