Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions recipes-mono/dotnet-helloworld/dotnet-helloworld_1.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ RDEPENDS:${PN}:append = " \

COMPATIBLE_HOST ?= "(x86_64|aarch64|arm).*-linux"

# NuGet MigrationRunner hardcodes $HOME for migrations dir.
# Override HOME so it's always writable (CI containers often have read-only HOME).
export HOME = "${WORKDIR}/dotnet-home"
export DOTNET_CLI_HOME = "${WORKDIR}/dotnet-home"
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE = "true"
export DOTNET_CLI_TELEMETRY_OPTOUT = "1"
export DOTNET_NOLOGO = "1"
export NUGET_PACKAGES = "${WORKDIR}/nuget-packages"
export NUGET_HTTP_CACHE_PATH = "${WORKDIR}/nuget-http-cache"


SRC_ARCH:aarch64 = "arm64"
SRC_ARCH:arm = "arm"
SRC_ARCH:x86-64 = "x64"
Expand Down
Loading