From 6677cd6d70febeb5523d16885ae011d4ab9edce9 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Wed, 6 Jul 2022 14:25:48 +0200 Subject: [PATCH] Meta: Don't overwrite newer files when building the root filesystem --- Meta/build-root-filesystem.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Meta/build-root-filesystem.sh b/Meta/build-root-filesystem.sh index 06a766a854..f03dd97fda 100755 --- a/Meta/build-root-filesystem.sh +++ b/Meta/build-root-filesystem.sh @@ -33,11 +33,11 @@ if ! command -v rsync >/dev/null; then fi if rsync --chown 2>&1 | grep "missing argument" >/dev/null; then - rsync -aH --chown=0:0 --inplace "$SERENITY_SOURCE_DIR"/Base/ mnt/ - rsync -aH --chown=0:0 --inplace Root/ mnt/ + rsync -aH --chown=0:0 --inplace --update "$SERENITY_SOURCE_DIR"/Base/ mnt/ + rsync -aH --chown=0:0 --inplace --update Root/ mnt/ else - rsync -aH --inplace "$SERENITY_SOURCE_DIR"/Base/ mnt/ - rsync -aH --inplace Root/ mnt/ + rsync -aH --inplace --update "$SERENITY_SOURCE_DIR"/Base/ mnt/ + rsync -aH --inplace --update Root/ mnt/ chown -R 0:0 mnt/ fi