mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
Meta: Dereference headers when building the root file system
This is in preparation for installing LibC headers into the sysroot as symlinks rather than as plain copies.
This commit is contained in:
parent
303ec1c8a3
commit
72b2e40ce1
1 changed files with 4 additions and 2 deletions
|
@ -25,10 +25,12 @@ fi
|
|||
|
||||
if rsync --chown 2>&1 | grep "missing argument" >/dev/null; then
|
||||
rsync -aH --chown=0:0 --inplace --update "$SERENITY_SOURCE_DIR"/Base/ mnt/
|
||||
rsync -aH --chown=0:0 --inplace --update Root/ mnt/
|
||||
rsync -aH --chown=0:0 --exclude="/usr/include" --inplace --update Root/ mnt/
|
||||
rsync -aHL --chown=0:0 --inplace --update Root/usr/include/ mnt/usr/include/
|
||||
else
|
||||
rsync -aH --inplace --update "$SERENITY_SOURCE_DIR"/Base/ mnt/
|
||||
rsync -aH --inplace --update Root/ mnt/
|
||||
rsync -aH --inplace --exclude="/usr/include" --update Root/ mnt/
|
||||
rsync -aHL --inplace --update Root/usr/include/ mnt/usr/include/
|
||||
chown -R 0:0 mnt/
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue