Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch meta-virt to the scarthgap branch #1444

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion meta-lmp-base/conf/distro/include/lmp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ PREFERRED_PROVIDER_nativesdk-zlib ?= "nativesdk-zlib"
PREFERRED_PROVIDER_qemu-native ?= "qemu-native"
PREFERRED_PROVIDER_qemu-helper-native ?= "qemu-helper-native"
PREFERRED_PROVIDER_nativesdk-qemu ?= "nativesdk-qemu"
PREFERRED_PROVIDER_virtual/docker = "docker-ce"

PREFERRED_VERSION_gcc-arm-none-eabi ?= "11"
PREFERRED_VERSION_gcc-arm-none-eabi-native ?= "11"
Expand Down
12 changes: 12 additions & 0 deletions meta-lmp-base/conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,15 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
## Adjust priority for tpm-layer (too high by default)
BBFILE_PRIORITY_tpm-layer:remove = "10"
BBFILE_PRIORITY_tpm-layer:append = " 6"

# To use the meta-virt scarthgap branch we need to add kirkstone compatability
LAYERSERIES_COMPAT_virtualization-layer:append = " kirkstone"

# To use the meta-virt scarthgap branch we need to mask some bbappend
BBMASK:append = " \
/meta-virtualization/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_6.6.bbappend \
/meta-virtualization/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend \
"

# To use the meta-virt scarthgap branch we need to replace the docker-ce by docker-moby
BBMASK:append = "/meta-tegra/external/virtualization-layer/recipes-containers/docker/docker-ce_%.bbappend"

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ Signed-off-by: Jose Quaresma <[email protected]>
1 file changed, 10 insertions(+)

diff --git a/cli/config/config.go b/cli/config/config.go
index b7c05c3f86..1f56eb11ba 100644
index 952f6e71f4..2aef68aff8 100644
--- a/cli/config/config.go
+++ b/cli/config/config.go
@@ -21,6 +21,7 @@ const (
@@ -28,6 +28,7 @@ const (
ConfigFileName = "config.json"
configFileDir = ".docker"
oldConfigfile = ".dockercfg" // Deprecated: remove once we stop printing deprecation warning
contextsDir = "contexts"
+ defaultSystemConfig = "/usr/lib/docker/config.json"
)

var (
@@ -114,6 +115,15 @@ func load(configDir string) (*configfile.ConfigFile, bool, error) {
@@ -97,6 +98,15 @@ func load(configDir string) (*configfile.ConfigFile, error) {
filename := filepath.Join(configDir, ConfigFileName)
configFile := configfile.New(filename)

Expand All @@ -37,9 +37,9 @@ index b7c05c3f86..1f56eb11ba 100644
+ }
+ }
+
// Try happy path first - latest config file
if file, err := os.Open(filename); err == nil {
defer file.Close()
file, err := os.Open(filename)
if err != nil {
if os.IsNotExist(err) {
--
2.34.1
2.25.1

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI += "file://cli-config-support-default-system-config.patch;patchdir=src/github.com/docker/cli"
SRC_URI += "file://cli-config-support-default-system-config.patch;patchdir=src/import/vendor.fetch/github.com/docker/cli"

This file was deleted.

This file was deleted.

Loading