forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[master] Update dependencies from dotnet/arcade mono/linker Microsoft…
…/vstest dotnet/llvm-project dotnet/xharness (dotnet#38880) Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Alexander Köplinger <[email protected]>
- Loading branch information
1 parent
8753b34
commit 9dc6601
Showing
15 changed files
with
362 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
__CrossDir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | ||
__TIZEN_CROSSDIR="$__CrossDir/tizen" | ||
|
||
if [[ -z "$ROOTFS_DIR" ]]; then | ||
echo "ROOTFS_DIR is not defined." | ||
exit 1; | ||
fi | ||
|
||
TIZEN_TMP_DIR=$ROOTFS_DIR/tizen_tmp | ||
mkdir -p $TIZEN_TMP_DIR | ||
|
||
# Download files | ||
echo ">>Start downloading files" | ||
VERBOSE=1 $__CrossDir/tizen-fetch.sh $TIZEN_TMP_DIR | ||
echo "<<Finish downloading files" | ||
|
||
echo ">>Start constructing Tizen rootfs" | ||
TIZEN_RPM_FILES=`ls $TIZEN_TMP_DIR/*.rpm` | ||
cd $ROOTFS_DIR | ||
for f in $TIZEN_RPM_FILES; do | ||
rpm2cpio $f | cpio -idm --quiet | ||
done | ||
echo "<<Finish constructing Tizen rootfs" | ||
|
||
# Cleanup tmp | ||
rm -rf $TIZEN_TMP_DIR | ||
|
||
# Configure Tizen rootfs | ||
echo ">>Start configuring Tizen rootfs" | ||
ln -sfn asm-arm64 ./usr/include/asm | ||
patch -p1 < $__TIZEN_CROSSDIR/tizen.patch | ||
echo "<<Finish configuring Tizen rootfs" |
Oops, something went wrong.