summaryrefslogtreecommitdiffstats
path: root/usb-and-pxe-installers/usbimg2disk.sh
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-03-19 18:29:25 +0000
committer Eric Hameleers <alien@slackware.com>2021-03-20 08:59:50 +0100
commit5001b2d6d884fa68de89bcc5d80374c573b6bc4f (patch)
treee0c7471361a34960c248225cd2cc200cf958ff28 /usb-and-pxe-installers/usbimg2disk.sh
parentda4119a5e08aaa161e577324030abde7a21a2b81 (diff)
downloadcurrent-5001b2d6d884fa68de89bcc5d80374c573b6bc4f.tar.gz
current-5001b2d6d884fa68de89bcc5d80374c573b6bc4f.tar.xz
Fri Mar 19 18:29:25 UTC 202120210319182925
ap/vim-8.2.2623-x86_64-1.txz: Upgraded. l/jasper-2.0.27-x86_64-1.txz: Upgraded. l/mozilla-nss-3.63-x86_64-1.txz: Upgraded. l/pipewire-0.3.24-x86_64-1.txz: Upgraded. l/pygobject3-3.40.0-x86_64-1.txz: Upgraded. n/wireguard-tools-1.0.20210315-x86_64-1.txz: Added. Thanks to dgusev for the suggestion. xap/vim-gvim-8.2.2623-x86_64-1.txz: Upgraded.
Diffstat (limited to 'usb-and-pxe-installers/usbimg2disk.sh')
-rw-r--r--usb-and-pxe-installers/usbimg2disk.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/usb-and-pxe-installers/usbimg2disk.sh b/usb-and-pxe-installers/usbimg2disk.sh
index 6abf8f2d..fe130f67 100644
--- a/usb-and-pxe-installers/usbimg2disk.sh
+++ b/usb-and-pxe-installers/usbimg2disk.sh
@@ -467,7 +467,9 @@ if [ "$FULLINSTALLER" = "yes" ]; then
# Copy Slackware package tree (no sources) to the USB disk -
# we already made sure that ${REPOSROOT} does not end with a '/'
echo "--- Copying Slackware package tree to the USB drive..."
- rsync -rpthDL --delete $EXCLUDES $REPOSROOT $MNTDIR2/
+ # --modify-window 2 since some filesystems (e.g. FAT32) can only store
+ # timestamps in multiples of 2 seconds. Thanks to jwoithe.
+ rsync -rpthDL --delete --modify-window 2 $EXCLUDES $REPOSROOT $MNTDIR2/
fi
# Unmount/remove stuff: