changed rsync options
This commit is contained in:
parent
17cb092b9a
commit
48b451c6b8
@ -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/"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user