Skip to content

Commit

Permalink
Added new debugger, 6.0.36, 8.0.11, and 9.0.0. 9.x is untested, but l…
Browse files Browse the repository at this point in the history
…ooks like it has the same dependencies as 8.x except doesn't appear to need libz. Will drop out libz when tested that we are able to.
  • Loading branch information
RDunkley committed Nov 25, 2024
1 parent 16df51b commit 9c43c07
Show file tree
Hide file tree
Showing 47 changed files with 653 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
BitBake recipes to use the pre-built binaries provided by Microsoft for the following applications:

1. .Net Core 2.x, 3.x, (Use pre-honister branch)
2. .Net 5.x, 6.x, 7.x, and 8.x
2. .Net 5.x, 6.x, 7.x, 8.x, and 9.x
3. ASP .Net Core 2.x, 3.x (Use pre-honister branch)
4. .Net 5.x, 6.x, 7.x, and 8.x
4. .Net 5.x, 6.x, 7.x, 8.x, and 9.x
3. Visual Studio Remote Debugger (2017, 2019, and 2022)

## .Net Core 2.x, 3.x, and .Net 5.x, 6.x, 7.x, 8.x
## .Net Core 2.x, 3.x, and .Net 5.x, 6.x, 7.x, 8.x, 9.x
This package will place the .Net Core runtime binaries into the image under /usr/share/dotnet. The package only supports X64 and ARM (32-bit and 64-bit) architectures. It does not build the runtime from source. It only pulls the publicly available binaries. Add this package by adding "dotnet-core" to the CORE_IMAGE_EXTRA_INSTALL line of your local.conf file.

## ASP .Net Core 2.x, 3.x, and .Net 5.x, 6.x, 7.x, 8.x
## ASP .Net Core 2.x, 3.x, and .Net 5.x, 6.x, 7.x, 8.x, 9.x
This package will place the ASP .Net Core runtime binaries into the image under /usr/share/dotnet. The package only supports X64 and ARM (32-bit and 64-bit) architectures. It does not build the runtime from source it only pulls the publicly available binaries. Add this package by adding "aspnet-core" to the CORE_IMAGE_EXTRA_INSTALL line of your local.conf file. This package also provides the .Net Core runtime environment so care should be taken to avoid adding this recipe and the .Net Core one (may add a PROVIDES virtual down the road).

## Visual Studio Remote Debugger
Expand Down
9 changes: 9 additions & 0 deletions recipes-devtools/vsdbg/vsdbg_17.12.11102.1.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
###################################################################################################
# Contains the recipe to download the Visual Studio debugger from Microsoft to provide remote
# debugging from Visual Studio and Visual Studio Code.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################

require recipes-devtools/vsdbg/vsdbg_17.12.11102.1.inc
require recipes-devtools/vsdbg/vsdbg_17.x.inc
25 changes: 25 additions & 0 deletions recipes-devtools/vsdbg/vsdbg_17.12.11102.1.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
###################################################################################################
# Contains additional parameters for the recipe to download the release binaries from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SUMMARY = "Contains the binaries for Microsoft's Visual Studio Remote Debugger for Linux"
HOMEPAGE = "https://visualstudio.microsoft.com/"

SRC_URI += "https://vsdebugger.blob.core.windows.net/vsdbg-17-12-11102-1/GetVsDbg.sh;name=script"
SRC_URI[script.md5sum] = "295288ad1118c0430e36e94e495237b5"
SRC_URI[script.sha256sum] = "5a80185e81c40aa3e4ef4925eacd131acff5c0e94fe86b422dc656ae76adb05b"

RDEPENDS:${PN} += "procps openssh-sftp-server"

DOTNET_RUNTIME_ARCH = "none"
DOTNET_RUNTIME_ARCH:arm = "arm"
DOTNET_RUNTIME_ARCH:x86_64 = "x64"
DOTNET_RUNTIME_ARCH:aarch64 = "arm64"

# This is here because it doesn't seem like bitbake likes ${PV} used in require statements.
require recipes-devtools/vsdbg/vsdbg_17.12.11102.1_${DOTNET_RUNTIME_ARCH}.inc

do_install:append() {
echo "17.12.11102.1" > ${D}${ROOT_HOME}/.vs-debugger/vs2022/success.txt
}
10 changes: 10 additions & 0 deletions recipes-devtools/vsdbg/vsdbg_17.12.11102.1_arm.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
###################################################################################################
# Contains the URL and checksums to download version 17.12.11102.1 of the ARM Visual Studio
# debugger from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SRC_URI += "https://vsdebugger.azureedge.net/vsdbg-17-12-11102-1/vsdbg-linux-arm.zip;subdir=vsdbg-${PV};name=source"

SRC_URI[source.md5sum] = "81707363e1988da0979a781d812be195"
SRC_URI[source.sha256sum] = "8eb4aff70b59dab0d73cb8444d63bf6d6529bfc15d114c2461fbdcf399613482"
10 changes: 10 additions & 0 deletions recipes-devtools/vsdbg/vsdbg_17.12.11102.1_arm64.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
###################################################################################################
# Contains the URL and checksums to download version 17.12.11102.1 of the ARM64 Visual Studio
# debugger from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SRC_URI += "https://vsdebugger.azureedge.net/vsdbg-17-12-11102-1/vsdbg-linux-arm64.zip;subdir=vsdbg-${PV};name=source"

SRC_URI[source.md5sum] = "9c75e1310219208d628105fedbafdf2a"
SRC_URI[source.sha256sum] = "401f0bc608bcd64b303cb27c7a00cf6104d5f919b819f30f868208e1c5e03e5b"
Empty file.
10 changes: 10 additions & 0 deletions recipes-devtools/vsdbg/vsdbg_17.12.11102.1_x64.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
###################################################################################################
# Contains the URL and checksums to download version 17.12.11102.1 of the X64 Visual Studio
# debugger from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SRC_URI += "https://vsdebugger.azureedge.net/vsdbg-17-12-11102-1/vsdbg-linux-x64.zip;subdir=vsdbg-${PV};name=source"

SRC_URI[source.md5sum] = "4025e7e94e6a5ec4d997ced9fc8c6542"
SRC_URI[source.sha256sum] = "9048b7609c982c3d344c5f9b494de643d77afc2eebde416256b855f9913316ac"
10 changes: 10 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_6.0.36.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
###################################################################################################
# Contains the recipe to download the release binaries from Microsoft for the version
# 6.0.36 ASP .Net runtime.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################

require recipes-runtime/aspnet-core/aspnet-core_6.0.36.inc
require recipes-runtime/aspnet-core/aspnet-core_6.x.x.inc

17 changes: 17 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_6.0.36.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
###################################################################################################
# Contains additional parameters for the recipe to download the release binaries from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SUMMARY = "Contains the binaries for Microsoft's ASP .NET 6.0.36"
HOMEPAGE = "https://dotnet.microsoft.com/download/dotnet/6.0"

DOTNET_RUNTIME_ARCH = "none"
DOTNET_RUNTIME_ARCH:arm = "arm"
DOTNET_RUNTIME_ARCH:x86-64 = "x64"
DOTNET_RUNTIME_ARCH:x86_64 = "x64"
DOTNET_RUNTIME_ARCH:aarch64 = "arm64"

# This is here because it doesn't seem like bitbake likes ${PV} used in require statements.
require recipes-runtime/aspnet-core/aspnet-core_6.0.36_${DOTNET_RUNTIME_ARCH}.inc

13 changes: 13 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_6.0.36_arm.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
###################################################################################################
# Contains the URL and checksums to download version 6.0.36 of the ARM ASP .Net
# runtime from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SRC_URI = "https://download.visualstudio.microsoft.com/download/pr/5a1d54ad-f01e-4407-a413-493a5e81f802/9773a2ed4499d6d8c2a89714aa3d9c4c/aspnetcore-runtime-6.0.36-linux-arm.tar.gz;subdir=aspnet-${PV}"

# SHA-512 hash is '5186c654fbd649af0760bfb3be29328df280e04f2128c53157e6c550d06b31970a508ac25cc038c9e1b129dc2a3c002599739c8fadd381cb888f6abbd188ce5c'

SRC_URI[md5sum] = "6ff7f1d6f865203b79cf2a3f130ce5a8"
SRC_URI[sha256sum] = "3ba06e73e3e78186be7db2d636039c33726b467c1775a541eb53d8dcd12717d8"

13 changes: 13 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_6.0.36_arm64.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
###################################################################################################
# Contains the URL and checksums to download version 6.0.36 of the ARM64 ASP .Net
# runtime from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SRC_URI = "https://download.visualstudio.microsoft.com/download/pr/19bb2019-9acc-4c85-a397-5c84aad3e79e/094076519c27db7d2619aee8744c9eaf/aspnetcore-runtime-6.0.36-linux-arm64.tar.gz;subdir=aspnet-${PV}"

# SHA-512 hash is '2a6a2dde7ba3aeee9145686ee32f1901a7aa6238ae8395ea3bad51770e227069272be83959b711d238210c377b66661e3cf039965f019b58cd44c08a982404a2'

SRC_URI[md5sum] = "efc54326971cddb6b44e46c974d682b3"
SRC_URI[sha256sum] = "a82e7ff766ab961b581971eaa7358b6d13ce1132451eebf85d25a1e4599446a2"

6 changes: 6 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_6.0.36_none.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
###################################################################################################
# Dummy file in case the architecture isn't supported (prevents Bitbaker parser from crashing).
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################

13 changes: 13 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_6.0.36_x64.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
###################################################################################################
# Contains the URL and checksums to download version 6.0.36 of the X64 ASP .Net
# runtime from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SRC_URI = "https://download.visualstudio.microsoft.com/download/pr/6f4d628c-903a-4c54-8e78-584ac3fad3e9/35c386c099e48775ba50df7bb3dfd93a/aspnetcore-runtime-6.0.36-linux-x64.tar.gz;subdir=aspnet-${PV}"

# SHA-512 hash is '0e3d1dcc715bffbcb8ab8cb4fd72accbeed79ac40b7fd517961797a168f4301505044d2c1494a49b0e68103940bd6c178c8ae7bacf75f4b40ce82cc85624f6bd'

SRC_URI[md5sum] = "34d795259b1965c0c77d3f5a96c6a522"
SRC_URI[sha256sum] = "e269fa26930f08c6df920969a4e6c36138372115e193db3cccbbaa06f61e15be"

10 changes: 10 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_8.0.11.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
###################################################################################################
# Contains the recipe to download the release binaries from Microsoft for the version
# 8.0.11 ASP .Net runtime.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################

require recipes-runtime/aspnet-core/aspnet-core_8.0.11.inc
require recipes-runtime/aspnet-core/aspnet-core_8.x.x.inc

17 changes: 17 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_8.0.11.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
###################################################################################################
# Contains additional parameters for the recipe to download the release binaries from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SUMMARY = "Contains the binaries for Microsoft's ASP .NET 8.0.11"
HOMEPAGE = "https://dotnet.microsoft.com/download/dotnet/8.0"

DOTNET_RUNTIME_ARCH = "none"
DOTNET_RUNTIME_ARCH:arm = "arm"
DOTNET_RUNTIME_ARCH:x86-64 = "x64"
DOTNET_RUNTIME_ARCH:x86_64 = "x64"
DOTNET_RUNTIME_ARCH:aarch64 = "arm64"

# This is here because it doesn't seem like bitbake likes ${PV} used in require statements.
require recipes-runtime/aspnet-core/aspnet-core_8.0.11_${DOTNET_RUNTIME_ARCH}.inc

13 changes: 13 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_8.0.11_arm.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
###################################################################################################
# Contains the URL and checksums to download version 8.0.11 of the ARM ASP .Net
# runtime from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SRC_URI = "https://download.visualstudio.microsoft.com/download/pr/003f180b-e695-4094-bc3f-ef6473883d43/e861cb56edd58b05b03b5a92cf995f12/aspnetcore-runtime-8.0.11-linux-arm.tar.gz;subdir=aspnet-${PV}"

# SHA-512 hash is '76645f129465346c5de7c543bea53829228a9912971c459ae48243317c73f47dec23d7b52d7d94ff3c701b8d2de651f3375deab38100f97be81f577c3b8cce1f'

SRC_URI[md5sum] = "2ab8354dc2e20fe45a0a7c60a8a0879e"
SRC_URI[sha256sum] = "a3b38882b0df6b1d320a921111e678d792658af23d36dadb678bca9f9c98bc19"

13 changes: 13 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_8.0.11_arm64.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
###################################################################################################
# Contains the URL and checksums to download version 8.0.11 of the ARM64 ASP .Net
# runtime from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SRC_URI = "https://download.visualstudio.microsoft.com/download/pr/64a9f696-b039-4a73-b705-288fbf9c2e8f/c36bc24d6d359c019408b4f94ee67b59/aspnetcore-runtime-8.0.11-linux-arm64.tar.gz;subdir=aspnet-${PV}"

# SHA-512 hash is '75b5888b7d65cf9e971925e48962c0822f630390a3f0f04ce1d84546990fed312e8ae8513c82caeada145c2ac8de2b229fd1dad2d2df36c8e9db0df9f65595ac'

SRC_URI[md5sum] = "ec8ca26fd758ba2c101b011166b4dc70"
SRC_URI[sha256sum] = "4f83cb39dbd515ea8319a8c2c32f041a2972301343cd31621c4bb402a300cfd6"

6 changes: 6 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_8.0.11_none.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
###################################################################################################
# Dummy file in case the architecture isn't supported (prevents Bitbaker parser from crashing).
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################

13 changes: 13 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_8.0.11_x64.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
###################################################################################################
# Contains the URL and checksums to download version 8.0.11 of the X64 ASP .Net
# runtime from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SRC_URI = "https://download.visualstudio.microsoft.com/download/pr/6f89757c-3dde-4c3a-96a0-b04b1bde2c92/6a3591b360ed0f9d1118b97560b89625/aspnetcore-runtime-8.0.11-linux-x64.tar.gz;subdir=aspnet-${PV}"

# SHA-512 hash is 'e7acf9dc5cfa49aa7ec30dbb9586bc7beaac9e3116c75303b511770e3597b209739f28c754b2107c0255acac90187cd1000c1ee772463fc828934a4dda35f5c3'

SRC_URI[md5sum] = "42a3f93e066069b0f96345ca1ae97af3"
SRC_URI[sha256sum] = "3fc75c38783b282140d2e2513c570f76991101b3f895b67a6ae8fba2a2d96399"

10 changes: 10 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_9.0.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
###################################################################################################
# Contains the recipe to download the release binaries from Microsoft for the version
# 9.0.0 ASP .Net runtime.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################

require recipes-runtime/aspnet-core/aspnet-core_9.0.0.inc
require recipes-runtime/aspnet-core/aspnet-core_9.x.x.inc

17 changes: 17 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_9.0.0.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
###################################################################################################
# Contains additional parameters for the recipe to download the release binaries from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SUMMARY = "Contains the binaries for Microsoft's ASP .NET 9.0.0"
HOMEPAGE = "https://dotnet.microsoft.com/download/dotnet/9.0"

DOTNET_RUNTIME_ARCH = "none"
DOTNET_RUNTIME_ARCH:arm = "arm"
DOTNET_RUNTIME_ARCH:x86-64 = "x64"
DOTNET_RUNTIME_ARCH:x86_64 = "x64"
DOTNET_RUNTIME_ARCH:aarch64 = "arm64"

# This is here because it doesn't seem like bitbake likes ${PV} used in require statements.
require recipes-runtime/aspnet-core/aspnet-core_9.0.0_${DOTNET_RUNTIME_ARCH}.inc

13 changes: 13 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_9.0.0_arm.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
###################################################################################################
# Contains the URL and checksums to download version 9.0.0 of the ARM ASP .Net
# runtime from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SRC_URI = "https://download.visualstudio.microsoft.com/download/pr/84aa8e86-c6a1-4562-84f3-828e836ef26c/96772a224b9ff3be8904b63f37d7cf63/aspnetcore-runtime-9.0.0-linux-arm.tar.gz;subdir=aspnet-${PV}"

# SHA-512 hash is 'f711af1fd17f6976d98609feba32dbc8b027e3b851439ab0d5a68082ba6fa87ee3888cfd8cdd368b90fc3b3710220be2de9864ab50297e3797adc4bcbaab7e99'

SRC_URI[md5sum] = "d6464c1cc89a6ebb9b945096b44eeac5"
SRC_URI[sha256sum] = "f3bf3dfe0f21afae8a130c07e67028abd1b80ac5523624729dac39ad0f2d8d9f"

13 changes: 13 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_9.0.0_arm64.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
###################################################################################################
# Contains the URL and checksums to download version 9.0.0 of the ARM64 ASP .Net
# runtime from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SRC_URI = "https://download.visualstudio.microsoft.com/download/pr/b2029a3e-c67e-4905-ad1f-08b164322520/bd68ea0b77f12df21b935da338fdaf25/aspnetcore-runtime-9.0.0-linux-arm64.tar.gz;subdir=aspnet-${PV}"

# SHA-512 hash is 'd5df4b549a59c8b9b2bcee5e0ffa9fde81fc3df74b299ab49820af6bc0ccfb89eec3714ea558ffcdd2a16821a4d1ecdcc64e9981804978ee3ff1d444b8125681'

SRC_URI[md5sum] = "3c5728f2b36debee4824a87a9d4af09f"
SRC_URI[sha256sum] = "9811d42c2dc6ffd9b6b69d4f2f6387f0d4add812eddf28ea178b5f751741bf7c"

6 changes: 6 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_9.0.0_none.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
###################################################################################################
# Dummy file in case the architecture isn't supported (prevents Bitbaker parser from crashing).
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################

13 changes: 13 additions & 0 deletions recipes-runtime/aspnet-core/aspnet-core_9.0.0_x64.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
###################################################################################################
# Contains the URL and checksums to download version 9.0.0 of the X64 ASP .Net
# runtime from Microsoft.
# Copyright Richard Dunkley 2024
# Auto-generated using meta_dotnet_core_gen
###################################################################################################
SRC_URI = "https://download.visualstudio.microsoft.com/download/pr/e4791376-b70d-431f-bd98-5397c876b946/64ffc29a4edc8fd70b151c2963b38b09/aspnetcore-runtime-9.0.0-linux-x64.tar.gz;subdir=aspnet-${PV}"

# SHA-512 hash is '1a81023f119dd5e5b0f9d87b0e3c42df89824b9fcb73192a4670cc2c67358cd018a7c9c965245c7883de468bda88c81d64a21c60f9bc68a6559d76f32d34ce96'

SRC_URI[md5sum] = "2c998f639d0accaa5bc95897dcfe3457"
SRC_URI[sha256sum] = "e00636ad9ca0fbcd777188036b52e520279dc4ac38fde3d14898869d16557ae0"

Loading

0 comments on commit 9c43c07

Please sign in to comment.