mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:38:10 +00:00
Meta: Don't overwrite newer files when building the root filesystem
This commit is contained in:
parent
5bbd5e7322
commit
6677cd6d70
1 changed files with 4 additions and 4 deletions
|
@ -33,11 +33,11 @@ if ! command -v rsync >/dev/null; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if rsync --chown 2>&1 | grep "missing argument" >/dev/null; then
|
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 --update "$SERENITY_SOURCE_DIR"/Base/ mnt/
|
||||||
rsync -aH --chown=0:0 --inplace Root/ mnt/
|
rsync -aH --chown=0:0 --inplace --update Root/ mnt/
|
||||||
else
|
else
|
||||||
rsync -aH --inplace "$SERENITY_SOURCE_DIR"/Base/ mnt/
|
rsync -aH --inplace --update "$SERENITY_SOURCE_DIR"/Base/ mnt/
|
||||||
rsync -aH --inplace Root/ mnt/
|
rsync -aH --inplace --update Root/ mnt/
|
||||||
chown -R 0:0 mnt/
|
chown -R 0:0 mnt/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue