Update dependencies from https://github.com/dotnet/arcade build 20220727.15
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.CMake.Sdk From Version 7.0.0-beta.22376.3 -> To Version 7.0.0-beta.22377.15 Dependency coherency updates Microsoft.SourceLink.GitHub,Microsoft.DotNet.XliffTasks From Version 1.2.0-beta-22374-01 -> To Version 1.2.0-beta-22376-02 (parent: Microsoft.DotNet.Arcade.Sdk
This commit is contained in:
parent
5ce6077bf3
commit
4e420155b0
4 changed files with 71 additions and 76 deletions
|
@ -196,32 +196,32 @@
|
||||||
</Dependency>
|
</Dependency>
|
||||||
</ProductDependencies>
|
</ProductDependencies>
|
||||||
<ToolsetDependencies>
|
<ToolsetDependencies>
|
||||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.22376.3">
|
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.22377.15">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>37e6d5179448c5255f1517834463210dcc45963a</Sha>
|
<Sha>7df67590fb080663ada77f269a8b132ef127a039</Sha>
|
||||||
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.CMake.Sdk" Version="7.0.0-beta.22376.3">
|
<Dependency Name="Microsoft.DotNet.CMake.Sdk" Version="7.0.0-beta.22377.15">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>37e6d5179448c5255f1517834463210dcc45963a</Sha>
|
<Sha>7df67590fb080663ada77f269a8b132ef127a039</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="7.0.0-beta.22376.3">
|
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="7.0.0-beta.22377.15">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>37e6d5179448c5255f1517834463210dcc45963a</Sha>
|
<Sha>7df67590fb080663ada77f269a8b132ef127a039</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="7.0.0-alpha.1.22377.2">
|
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="7.0.0-alpha.1.22377.2">
|
||||||
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
||||||
<Sha>50dcdcdf7c919c748571747a5130a499d3ac9874</Sha>
|
<Sha>50dcdcdf7c919c748571747a5130a499d3ac9874</Sha>
|
||||||
<SourceBuildTarball RepoName="source-build-reference-packages" ManagedOnly="true" />
|
<SourceBuildTarball RepoName="source-build-reference-packages" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.SourceLink.GitHub" Version="1.2.0-beta-22374-01" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
<Dependency Name="Microsoft.SourceLink.GitHub" Version="1.2.0-beta-22376-02" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||||
<Uri>https://github.com/dotnet/sourcelink</Uri>
|
<Uri>https://github.com/dotnet/sourcelink</Uri>
|
||||||
<Sha>441f130fb9d78e341e094851473195191ab4164e</Sha>
|
<Sha>9c6ff1b069b51bcc762c73504d0a3732c0390ff2</Sha>
|
||||||
<SourceBuild RepoName="sourcelink" ManagedOnly="true" />
|
<SourceBuild RepoName="sourcelink" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.22373.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.22376.2" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||||
<Uri>https://github.com/dotnet/xliff-tasks</Uri>
|
<Uri>https://github.com/dotnet/xliff-tasks</Uri>
|
||||||
<Sha>9de3026759319a2732a023114ff8d15db7121cb5</Sha>
|
<Sha>70221b66e0910c4f3c6414c254915ad41020a360</Sha>
|
||||||
<SourceBuild RepoName="xliff-tasks" ManagedOnly="true" />
|
<SourceBuild RepoName="xliff-tasks" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
</ToolsetDependencies>
|
</ToolsetDependencies>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/arcade -->
|
<!-- Dependency from https://github.com/dotnet/arcade -->
|
||||||
<MicrosoftDotNetBuildTasksInstallersPackageVersion>7.0.0-beta.22376.3</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
<MicrosoftDotNetBuildTasksInstallersPackageVersion>7.0.0-beta.22377.15</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/winforms -->
|
<!-- Dependency from https://github.com/dotnet/winforms -->
|
||||||
|
|
|
@ -18,7 +18,6 @@ usage()
|
||||||
|
|
||||||
__CodeName=xenial
|
__CodeName=xenial
|
||||||
__CrossDir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
__CrossDir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||||
__InitialDir=$PWD
|
|
||||||
__BuildArch=arm
|
__BuildArch=arm
|
||||||
__AlpineArch=armv7
|
__AlpineArch=armv7
|
||||||
__FreeBSDArch=arm
|
__FreeBSDArch=arm
|
||||||
|
@ -43,7 +42,7 @@ __AlpinePackages+=" libedit"
|
||||||
# symlinks fixer
|
# symlinks fixer
|
||||||
__UbuntuPackages+=" symlinks"
|
__UbuntuPackages+=" symlinks"
|
||||||
|
|
||||||
# CoreCLR and CoreFX dependencies
|
# runtime dependencies
|
||||||
__UbuntuPackages+=" libicu-dev"
|
__UbuntuPackages+=" libicu-dev"
|
||||||
__UbuntuPackages+=" liblttng-ust-dev"
|
__UbuntuPackages+=" liblttng-ust-dev"
|
||||||
__UbuntuPackages+=" libunwind8-dev"
|
__UbuntuPackages+=" libunwind8-dev"
|
||||||
|
@ -54,7 +53,7 @@ __AlpinePackages+=" libunwind-dev"
|
||||||
__AlpinePackages+=" lttng-ust-dev"
|
__AlpinePackages+=" lttng-ust-dev"
|
||||||
__AlpinePackages+=" compiler-rt-static"
|
__AlpinePackages+=" compiler-rt-static"
|
||||||
|
|
||||||
# CoreFX dependencies
|
# runtime libraries' dependencies
|
||||||
__UbuntuPackages+=" libcurl4-openssl-dev"
|
__UbuntuPackages+=" libcurl4-openssl-dev"
|
||||||
__UbuntuPackages+=" libkrb5-dev"
|
__UbuntuPackages+=" libkrb5-dev"
|
||||||
__UbuntuPackages+=" libssl-dev"
|
__UbuntuPackages+=" libssl-dev"
|
||||||
|
@ -84,17 +83,18 @@ __IllumosPackages+=" zlib-1.2.11"
|
||||||
__UbuntuPackages+=" libomp5"
|
__UbuntuPackages+=" libomp5"
|
||||||
__UbuntuPackages+=" libomp-dev"
|
__UbuntuPackages+=" libomp-dev"
|
||||||
|
|
||||||
|
__Keyring=
|
||||||
__UseMirror=0
|
__UseMirror=0
|
||||||
|
|
||||||
__UnprocessedBuildArgs=
|
__UnprocessedBuildArgs=
|
||||||
while :; do
|
while :; do
|
||||||
if [ $# -le 0 ]; then
|
if [[ "$#" -le 0 ]]; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
||||||
lowerI="$(echo $1 | tr "[:upper:]" "[:lower:]")"
|
lowerI="$(echo "$1" | tr "[:upper:]" "[:lower:]")"
|
||||||
case $lowerI in
|
case $lowerI in
|
||||||
-?|-h|--help)
|
-\?|-h|--help)
|
||||||
usage
|
usage
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
|
@ -111,7 +111,7 @@ while :; do
|
||||||
__UbuntuRepo="http://raspbian.raspberrypi.org/raspbian/"
|
__UbuntuRepo="http://raspbian.raspberrypi.org/raspbian/"
|
||||||
__CodeName=buster
|
__CodeName=buster
|
||||||
__LLDB_Package="liblldb-6.0-dev"
|
__LLDB_Package="liblldb-6.0-dev"
|
||||||
__Keyring="/usr/share/keyrings/raspbian-archive-keyring.gpg"
|
__Keyring="--keyring /usr/share/keyrings/raspbian-archive-keyring.gpg"
|
||||||
;;
|
;;
|
||||||
arm64)
|
arm64)
|
||||||
__BuildArch=arm64
|
__BuildArch=arm64
|
||||||
|
@ -189,17 +189,17 @@ while :; do
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
xenial) # Ubuntu 16.04
|
xenial) # Ubuntu 16.04
|
||||||
if [ "$__CodeName" != "jessie" ]; then
|
if [[ "$__CodeName" != "jessie" ]]; then
|
||||||
__CodeName=xenial
|
__CodeName=xenial
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
zesty) # Ubuntu 17.04
|
zesty) # Ubuntu 17.04
|
||||||
if [ "$__CodeName" != "jessie" ]; then
|
if [[ "$__CodeName" != "jessie" ]]; then
|
||||||
__CodeName=zesty
|
__CodeName=zesty
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
bionic) # Ubuntu 18.04
|
bionic) # Ubuntu 18.04
|
||||||
if [ "$__CodeName" != "jessie" ]; then
|
if [[ "$__CodeName" != "jessie" ]]; then
|
||||||
__CodeName=bionic
|
__CodeName=bionic
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
@ -253,7 +253,7 @@ while :; do
|
||||||
;;
|
;;
|
||||||
--rootfsdir|-rootfsdir)
|
--rootfsdir|-rootfsdir)
|
||||||
shift
|
shift
|
||||||
__RootfsDir=$1
|
__RootfsDir="$1"
|
||||||
;;
|
;;
|
||||||
--use-mirror)
|
--use-mirror)
|
||||||
__UseMirror=1
|
__UseMirror=1
|
||||||
|
@ -266,71 +266,66 @@ while :; do
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -e "$__Keyring" ]; then
|
if [[ "$__BuildArch" == "armel" ]]; then
|
||||||
__Keyring="--keyring=$__Keyring"
|
|
||||||
else
|
|
||||||
__Keyring=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$__BuildArch" == "armel" ]; then
|
|
||||||
__LLDB_Package="lldb-3.5-dev"
|
__LLDB_Package="lldb-3.5-dev"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
__UbuntuPackages+=" ${__LLDB_Package:-}"
|
__UbuntuPackages+=" ${__LLDB_Package:-}"
|
||||||
|
|
||||||
if [ ! -z "$__LLVM_MajorVersion" ]; then
|
if [[ -n "$__LLVM_MajorVersion" ]]; then
|
||||||
__UbuntuPackages+=" libclang-common-${__LLVM_MajorVersion}${__LLVM_MinorVersion:+.$__LLVM_MinorVersion}-dev"
|
__UbuntuPackages+=" libclang-common-${__LLVM_MajorVersion}${__LLVM_MinorVersion:+.$__LLVM_MinorVersion}-dev"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$__RootfsDir" ] && [ ! -z "$ROOTFS_DIR" ]; then
|
if [[ -z "$__RootfsDir" && -n "$ROOTFS_DIR" ]]; then
|
||||||
__RootfsDir=$ROOTFS_DIR
|
__RootfsDir="$ROOTFS_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$__RootfsDir" ]; then
|
if [[ -z "$__RootfsDir" ]]; then
|
||||||
__RootfsDir="$__CrossDir/../../../.tools/rootfs/$__BuildArch"
|
__RootfsDir="$__CrossDir/../../../.tools/rootfs/$__BuildArch"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "$__RootfsDir" ]; then
|
if [[ -d "$__RootfsDir" ]]; then
|
||||||
if [ $__SkipUnmount == 0 ]; then
|
if [[ "$__SkipUnmount" == "0" ]]; then
|
||||||
umount $__RootfsDir/* || true
|
umount "$__RootfsDir"/* || true
|
||||||
fi
|
fi
|
||||||
rm -rf $__RootfsDir
|
rm -rf "$__RootfsDir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p $__RootfsDir
|
mkdir -p "$__RootfsDir"
|
||||||
__RootfsDir="$( cd "$__RootfsDir" && pwd )"
|
__RootfsDir="$( cd "$__RootfsDir" && pwd )"
|
||||||
|
|
||||||
if [[ "$__CodeName" == "alpine" ]]; then
|
if [[ "$__CodeName" == "alpine" ]]; then
|
||||||
__ApkToolsVersion=2.9.1
|
__ApkToolsVersion=2.9.1
|
||||||
__ApkToolsDir=$(mktemp -d)
|
__ApkToolsDir="$(mktemp -d)"
|
||||||
wget https://github.com/alpinelinux/apk-tools/releases/download/v$__ApkToolsVersion/apk-tools-$__ApkToolsVersion-x86_64-linux.tar.gz -P $__ApkToolsDir
|
wget "https://github.com/alpinelinux/apk-tools/releases/download/v$__ApkToolsVersion/apk-tools-$__ApkToolsVersion-x86_64-linux.tar.gz" -P "$__ApkToolsDir"
|
||||||
tar -xf $__ApkToolsDir/apk-tools-$__ApkToolsVersion-x86_64-linux.tar.gz -C $__ApkToolsDir
|
tar -xf "$__ApkToolsDir/apk-tools-$__ApkToolsVersion-x86_64-linux.tar.gz" -C "$__ApkToolsDir"
|
||||||
mkdir -p $__RootfsDir/usr/bin
|
mkdir -p "$__RootfsDir"/usr/bin
|
||||||
cp -v /usr/bin/qemu-$__QEMUArch-static $__RootfsDir/usr/bin
|
cp -v "/usr/bin/qemu-$__QEMUArch-static" "$__RootfsDir/usr/bin"
|
||||||
|
|
||||||
$__ApkToolsDir/apk-tools-$__ApkToolsVersion/apk \
|
"$__ApkToolsDir/apk-tools-$__ApkToolsVersion/apk" \
|
||||||
-X http://dl-cdn.alpinelinux.org/alpine/v$__AlpineVersion/main \
|
-X "http://dl-cdn.alpinelinux.org/alpine/v$__AlpineVersion/main" \
|
||||||
-X http://dl-cdn.alpinelinux.org/alpine/v$__AlpineVersion/community \
|
-X "http://dl-cdn.alpinelinux.org/alpine/v$__AlpineVersion/community" \
|
||||||
-U --allow-untrusted --root $__RootfsDir --arch $__AlpineArch --initdb \
|
-U --allow-untrusted --root "$__RootfsDir" --arch "$__AlpineArch" --initdb \
|
||||||
add $__AlpinePackages
|
add $__AlpinePackages
|
||||||
|
|
||||||
rm -r $__ApkToolsDir
|
rm -r "$__ApkToolsDir"
|
||||||
elif [[ "$__CodeName" == "freebsd" ]]; then
|
elif [[ "$__CodeName" == "freebsd" ]]; then
|
||||||
mkdir -p $__RootfsDir/usr/local/etc
|
mkdir -p "$__RootfsDir"/usr/local/etc
|
||||||
JOBS="$(getconf _NPROCESSORS_ONLN)"
|
JOBS="$(getconf _NPROCESSORS_ONLN)"
|
||||||
wget -O - https://download.freebsd.org/ftp/releases/${__FreeBSDArch}/${__FreeBSDMachineArch}/${__FreeBSDBase}/base.txz | tar -C $__RootfsDir -Jxf - ./lib ./usr/lib ./usr/libdata ./usr/include ./usr/share/keys ./etc ./bin/freebsd-version
|
wget -O - "https://download.freebsd.org/ftp/releases/${__FreeBSDArch}/${__FreeBSDMachineArch}/${__FreeBSDBase}/base.txz" | tar -C "$__RootfsDir" -Jxf - ./lib ./usr/lib ./usr/libdata ./usr/include ./usr/share/keys ./etc ./bin/freebsd-version
|
||||||
echo "ABI = \"FreeBSD:${__FreeBSDABI}:${__FreeBSDMachineArch}\"; FINGERPRINTS = \"${__RootfsDir}/usr/share/keys\"; REPOS_DIR = [\"${__RootfsDir}/etc/pkg\"]; REPO_AUTOUPDATE = NO; RUN_SCRIPTS = NO;" > ${__RootfsDir}/usr/local/etc/pkg.conf
|
echo "ABI = \"FreeBSD:${__FreeBSDABI}:${__FreeBSDMachineArch}\"; FINGERPRINTS = \"${__RootfsDir}/usr/share/keys\"; REPOS_DIR = [\"${__RootfsDir}/etc/pkg\"]; REPO_AUTOUPDATE = NO; RUN_SCRIPTS = NO;" > "${__RootfsDir}"/usr/local/etc/pkg.conf
|
||||||
echo "FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly", mirror_type: \"srv\", signature_type: \"fingerprints\", fingerprints: \"${__RootfsDir}/usr/share/keys/pkg\", enabled: yes }" > ${__RootfsDir}/etc/pkg/FreeBSD.conf
|
echo "FreeBSD: { url: \"pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly\", mirror_type: \"srv\", signature_type: \"fingerprints\", fingerprints: \"${__RootfsDir}/usr/share/keys/pkg\", enabled: yes }" > "${__RootfsDir}"/etc/pkg/FreeBSD.conf
|
||||||
mkdir -p $__RootfsDir/tmp
|
mkdir -p "$__RootfsDir"/tmp
|
||||||
# get and build package manager
|
# get and build package manager
|
||||||
wget -O - https://github.com/freebsd/pkg/archive/${__FreeBSDPkg}.tar.gz | tar -C $__RootfsDir/tmp -zxf -
|
wget -O - "https://github.com/freebsd/pkg/archive/${__FreeBSDPkg}.tar.gz" | tar -C "$__RootfsDir"/tmp -zxf -
|
||||||
cd $__RootfsDir/tmp/pkg-${__FreeBSDPkg}
|
cd "$__RootfsDir/tmp/pkg-${__FreeBSDPkg}"
|
||||||
# needed for install to succeed
|
# needed for install to succeed
|
||||||
mkdir -p $__RootfsDir/host/etc
|
mkdir -p "$__RootfsDir"/host/etc
|
||||||
./autogen.sh && ./configure --prefix=$__RootfsDir/host && make -j "$JOBS" && make install
|
./autogen.sh && ./configure --prefix="$__RootfsDir"/host && make -j "$JOBS" && make install
|
||||||
rm -rf $__RootfsDir/tmp/pkg-${__FreeBSDPkg}
|
rm -rf "$__RootfsDir/tmp/pkg-${__FreeBSDPkg}"
|
||||||
# install packages we need.
|
# install packages we need.
|
||||||
INSTALL_AS_USER=$(whoami) $__RootfsDir/host/sbin/pkg -r $__RootfsDir -C $__RootfsDir/usr/local/etc/pkg.conf update
|
INSTALL_AS_USER=$(whoami) "$__RootfsDir"/host/sbin/pkg -r "$__RootfsDir" -C "$__RootfsDir"/usr/local/etc/pkg.conf update
|
||||||
INSTALL_AS_USER=$(whoami) $__RootfsDir/host/sbin/pkg -r $__RootfsDir -C $__RootfsDir/usr/local/etc/pkg.conf install --yes $__FreeBSDPackages
|
INSTALL_AS_USER=$(whoami) "$__RootfsDir"/host/sbin/pkg -r "$__RootfsDir" -C "$__RootfsDir"/usr/local/etc/pkg.conf install --yes $__FreeBSDPackages
|
||||||
elif [[ "$__CodeName" == "illumos" ]]; then
|
elif [[ "$__CodeName" == "illumos" ]]; then
|
||||||
mkdir "$__RootfsDir/tmp"
|
mkdir "$__RootfsDir/tmp"
|
||||||
pushd "$__RootfsDir/tmp"
|
pushd "$__RootfsDir/tmp"
|
||||||
|
@ -358,7 +353,7 @@ elif [[ "$__CodeName" == "illumos" ]]; then
|
||||||
if [[ "$__UseMirror" == 1 ]]; then
|
if [[ "$__UseMirror" == 1 ]]; then
|
||||||
BaseUrl=http://pkgsrc.smartos.skylime.net
|
BaseUrl=http://pkgsrc.smartos.skylime.net
|
||||||
fi
|
fi
|
||||||
BaseUrl="$BaseUrl"/packages/SmartOS/2020Q1/${__illumosArch}/All
|
BaseUrl="$BaseUrl/packages/SmartOS/2020Q1/${__illumosArch}/All"
|
||||||
echo "Downloading dependencies."
|
echo "Downloading dependencies."
|
||||||
read -ra array <<<"$__IllumosPackages"
|
read -ra array <<<"$__IllumosPackages"
|
||||||
for package in "${array[@]}"; do
|
for package in "${array[@]}"; do
|
||||||
|
@ -376,26 +371,26 @@ elif [[ "$__CodeName" == "illumos" ]]; then
|
||||||
wget -P "$__RootfsDir"/usr/include/net https://raw.githubusercontent.com/illumos/illumos-gate/master/usr/src/uts/common/io/bpf/net/dlt.h
|
wget -P "$__RootfsDir"/usr/include/net https://raw.githubusercontent.com/illumos/illumos-gate/master/usr/src/uts/common/io/bpf/net/dlt.h
|
||||||
wget -P "$__RootfsDir"/usr/include/netpacket https://raw.githubusercontent.com/illumos/illumos-gate/master/usr/src/uts/common/inet/sockmods/netpacket/packet.h
|
wget -P "$__RootfsDir"/usr/include/netpacket https://raw.githubusercontent.com/illumos/illumos-gate/master/usr/src/uts/common/inet/sockmods/netpacket/packet.h
|
||||||
wget -P "$__RootfsDir"/usr/include/sys https://raw.githubusercontent.com/illumos/illumos-gate/master/usr/src/uts/common/sys/sdt.h
|
wget -P "$__RootfsDir"/usr/include/sys https://raw.githubusercontent.com/illumos/illumos-gate/master/usr/src/uts/common/sys/sdt.h
|
||||||
elif [[ -n $__CodeName ]]; then
|
elif [[ -n "$__CodeName" ]]; then
|
||||||
qemu-debootstrap $__Keyring --arch $__UbuntuArch $__CodeName $__RootfsDir $__UbuntuRepo
|
qemu-debootstrap $__Keyring --arch "$__UbuntuArch" "$__CodeName" "$__RootfsDir" "$__UbuntuRepo"
|
||||||
cp $__CrossDir/$__BuildArch/sources.list.$__CodeName $__RootfsDir/etc/apt/sources.list
|
cp "$__CrossDir/$__BuildArch/sources.list.$__CodeName" "$__RootfsDir/etc/apt/sources.list"
|
||||||
chroot $__RootfsDir apt-get update
|
chroot "$__RootfsDir" apt-get update
|
||||||
chroot $__RootfsDir apt-get -f -y install
|
chroot "$__RootfsDir" apt-get -f -y install
|
||||||
chroot $__RootfsDir apt-get -y install $__UbuntuPackages
|
chroot "$__RootfsDir" apt-get -y install $__UbuntuPackages
|
||||||
chroot $__RootfsDir symlinks -cr /usr
|
chroot "$__RootfsDir" symlinks -cr /usr
|
||||||
chroot $__RootfsDir apt-get clean
|
chroot "$__RootfsDir" apt-get clean
|
||||||
|
|
||||||
if [ $__SkipUnmount == 0 ]; then
|
if [[ "$__SkipUnmount" == "0" ]]; then
|
||||||
umount $__RootfsDir/* || true
|
umount "$__RootfsDir"/* || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$__BuildArch" == "armel" && "$__CodeName" == "jessie" ]]; then
|
if [[ "$__BuildArch" == "armel" && "$__CodeName" == "jessie" ]]; then
|
||||||
pushd $__RootfsDir
|
pushd "$__RootfsDir"
|
||||||
patch -p1 < $__CrossDir/$__BuildArch/armel.jessie.patch
|
patch -p1 < "$__CrossDir/$__BuildArch/armel.jessie.patch"
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
elif [[ "$__Tizen" == "tizen" ]]; then
|
elif [[ "$__Tizen" == "tizen" ]]; then
|
||||||
ROOTFS_DIR=$__RootfsDir $__CrossDir/$__BuildArch/tizen-build-rootfs.sh
|
ROOTFS_DIR="$__RootfsDir $__CrossDir/$__BuildArch/tizen-build-rootfs.sh"
|
||||||
else
|
else
|
||||||
echo "Unsupported target platform."
|
echo "Unsupported target platform."
|
||||||
usage;
|
usage;
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
"cmake": "3.16.4"
|
"cmake": "3.16.4"
|
||||||
},
|
},
|
||||||
"msbuild-sdks": {
|
"msbuild-sdks": {
|
||||||
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22376.3",
|
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22377.15",
|
||||||
"Microsoft.DotNet.CMake.Sdk": "7.0.0-beta.22376.3"
|
"Microsoft.DotNet.CMake.Sdk": "7.0.0-beta.22377.15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue