diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-27 12:07:26 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-27 18:31:18 -0300 |
commit | 23f450920075ff072e91a1ee2b672d96df05716d (patch) | |
tree | b40d52ff7982cc69c50bdba5994089eeff515262 | |
parent | b63312700f52d1dc4c1ebb9cb2b8b8a1e19ef833 (diff) | |
download | pfsense-23f450920075ff072e91a1ee2b672d96df05716d.zip pfsense-23f450920075ff072e91a1ee2b672d96df05716d.tar.gz |
Remove lots of sync calls
-rw-r--r-- | tools/builder_common.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh index 0fba48f..95c6eaa 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -668,7 +668,6 @@ awk ' fi umount ${MNT} - sync # Restore the original trap trap "mdconfig -d -u ${MD}; return" 1 2 15 EXIT @@ -853,7 +852,6 @@ ova_repack_vbox_image() { ova_umount_mnt() { # Unmount /dev/mdX umount /mnt - sync ; sync } # called from create_ova_image @@ -863,7 +861,6 @@ ova_umount_mdconfig() { gpart show $MD echo ">>> Unmounting ${MD}..." | tee -a ${LOGFILE} mdconfig -d -u $MD - sync ; sync } # called from create_ova_image @@ -960,7 +957,6 @@ ova_cpdup_files() { cpdup -o ${FINAL_CHROOT_DIR}/sbin /mnt/sbin cpdup -o ${FINAL_CHROOT_DIR}/usr /mnt/usr cpdup -o ${FINAL_CHROOT_DIR}/var /mnt/var - sync ; sync ; sync ; sync } ova_setup_platform_specific() { @@ -993,13 +989,10 @@ ova_partition_gpart() { gpart add -s $OVA_SWAP_PART_SIZE -t freebsd-swap -i 3 $MD echo ">>> Running newfs..." | tee -a ${LOGFILE} newfs -U /dev/${MD}p2 - sync ; sync ; sync ; sync echo ">>> Labeling partitions: ${MD}p2..." | tee -a ${LOGFILE} glabel label ${PRODUCT_NAME} ${MD}p2 - sync ; sync echo ">>> Labeling partitions: ${MD}p3..." | tee -a ${LOGFILE} glabel label swap0 ${MD}p3 - sync ; sync } # called from create_ova_image |