diff options
author | Roland Clobus <rclobus@rclobus.nl> | 2021-01-01 16:51:02 +0000 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2021-01-01 16:51:02 +0000 |
commit | 037e93fe37f8b5d974e3e6219fa6ee94ad5cf504 (patch) | |
tree | e69a07c5d4d2ccc5cfc9bcec3766f445c832deeb /scripts/build/binary_rootfs | |
parent | 3f7dd00fcb83177e679e9f1449200dee11dc1531 (diff) | |
download | vyos-live-build-037e93fe37f8b5d974e3e6219fa6ee94ad5cf504.tar.gz vyos-live-build-037e93fe37f8b5d974e3e6219fa6ee94ad5cf504.zip |
Preserve timestamps
Diffstat (limited to 'scripts/build/binary_rootfs')
-rwxr-xr-x | scripts/build/binary_rootfs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/binary_rootfs b/scripts/build/binary_rootfs index 5934ad672..0f72620f5 100755 --- a/scripts/build/binary_rootfs +++ b/scripts/build/binary_rootfs @@ -278,11 +278,11 @@ case "${LB_CHROOT_FILESYSTEM}" in case "${LB_BUILD_WITH_CHROOT}" in true) - cp config/rootfs/squashfs.sort chroot + cp -a config/rootfs/squashfs.sort chroot ;; false) - cp config/rootfs/squashfs.sort . + cp -a config/rootfs/squashfs.sort . ;; esac fi @@ -304,7 +304,7 @@ case "${LB_CHROOT_FILESYSTEM}" in true) if [ -e config/rootfs/excludes ] then - cp config/rootfs/excludes chroot/excludes + cp -a config/rootfs/excludes chroot/excludes MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -wildcards -ef /excludes" fi |