Add minimal Yocto eSDK devcontainer feature#10
Draft
Copilot wants to merge 5 commits into
Draft
Conversation
Co-authored-by: FabianSchurig <11216482+FabianSchurig@users.noreply.github.com>
Co-authored-by: FabianSchurig <11216482+FabianSchurig@users.noreply.github.com>
Co-authored-by: FabianSchurig <11216482+FabianSchurig@users.noreply.github.com>
Co-authored-by: FabianSchurig <11216482+FabianSchurig@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add minimal Devcontainer feature for Yocto eSDK setup
Add minimal Yocto eSDK devcontainer feature
Feb 6, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements automated Yocto Extensible SDK installation via devcontainer feature to eliminate manual setup boilerplate.
Implementation
Feature structure (
src/yocto-esdk/)-y -d <path>flags/etc/profile.dConfiguration options
sdkUrl: Installer script locationinstallPath: SDK installation directory (default:/opt/yocto-esdk)autoSourceEnvironment: Auto-source SDK env for all users (default:true)Test coverage
Usage
{ "features": { "ghcr.io/FabianSchurig/devcontainer-features/yocto-esdk:1": { "sdkUrl": "https://artifactory.example.com/yocto/esdk-installer.sh" } } }SDK environment automatically available in new shells. Manual sourcing:
. /opt/yocto-esdk/environment-setup-*Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
centralus.data.mcr.microsoft.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/devcontainer features test --skip-scenarios -f yocto-esdk -i mcr.microsoft.com/devcontainers/base:ubuntu .(dns block)containers.dev/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/devcontainer features test --skip-scenarios -f yocto-esdk -i mcr.microsoft.com/devcontainers/base:ubuntu .(dns block)docker-images-prod.6aa30f8b08e16409b46e0173d6de2f56.r2.cloudflarestorage.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/devcontainer features test -f yocto-esdk -i ubuntu:latest . 770413281979 base:ubuntu iginal show�� 2a588b7b6c0692ae-e 2c37b8b5c68723e0LESSCLOSE=/usr/bin/lesspipe %s %s /usr/bin/bash 59e737e86c2d0ac4echo(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/devcontainer features test -f yocto-esdk -i debian:latest .(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This section details on the original issue you should resolve
<issue_title>Feature Request: Minimal Devcontainer Feature for Yocto eSDK & IDE-SDK Setup</issue_title>
<issue_description>
Context & Objective
We need to simplify the onboarding process for developers working with Yocto by creating a minimal Devcontainer Feature. This feature will automate the setup of the Yocto Extensible SDK (eSDK) and the associated IDE-SDK integration.
Currently, setting up an eSDK requires manual downloading, dependency management, and script execution. We want to encapsulate this into a reusable feature that:
Research: Yocto eSDK Architecture
Proposed Solution
We will create a specific Devcontainer Feature (following the Dev Container Spec) that handles the lifecycle of the SDK.
The feature will be generic and data-driven. It will accept the SDK location as a parameter to support any distribution or repository.
Options:
Example Usage in devcontainer.json:
"features": {
"./local-features/yocto-esdk": {
"sdkUrl": "https://artifactory.example.com/yocto/builds/current/poky-esdk-x86_64.sh",
"installPath": "/opt/esdk/my-distro"
}
}
The installation script will perform the following steps to ensure maintainability and minimal boilerplate:
To support multiple eSDKs (e.g., one for the Linux distro, one for an RTOS or MCU), the feature logic should handle non-conflicting install paths. If the Devcontainer spec allows multiple instantiations of the same feature, we use that. If not, the sdkUrl option could accept a JSON map or array to loop through and install multiple SDKs into separate subdirectories.
Requirements & Acceptance Criteria
Implementation Plan
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.