|
|
@ -1,15 +1,15 @@
|
|
|
|
From de25daa9281709a90e4dc23b4c27cbcdcef32fd3 Mon Sep 17 00:00:00 2001
|
|
|
|
From fd6bc40f8035924754d66b9aebef0ab83bc4d322 Mon Sep 17 00:00:00 2001
|
|
|
|
From: 5schatten <supervisedthinking@gmail.com>
|
|
|
|
From: 5schatten <supervisedthinking@gmail.com>
|
|
|
|
Date: Sat, 29 Jun 2019 17:58:09 +0200
|
|
|
|
Date: Tue, 8 Oct 2019 23:26:57 +0200
|
|
|
|
Subject: [PATCH] use Kodi addon storage location
|
|
|
|
Subject: [PATCH] Use Kodi addon storage path
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
.../github.com/docker/docker/registry/config_unix.go | 2 +-
|
|
|
|
.../github.com/docker/docker/registry/config_unix.go | 2 +-
|
|
|
|
.../github.com/docker/docker/registry/endpoint_v1.go | 2 +-
|
|
|
|
.../github.com/docker/docker/registry/endpoint_v1.go | 2 +-
|
|
|
|
components/engine/cmd/dockerd/daemon_unix.go | 4 ++--
|
|
|
|
components/engine/cmd/dockerd/daemon_unix.go | 2 +-
|
|
|
|
components/engine/daemon/config/config_test.go | 2 +-
|
|
|
|
components/engine/daemon/config/config_test.go | 2 +-
|
|
|
|
.../engine/integration-cli/docker_cli_daemon_test.go | 12 ++++++------
|
|
|
|
.../engine/integration-cli/docker_cli_daemon_test.go | 12 ++++++------
|
|
|
|
.../docker_cli_external_volume_driver_unix_test.go | 8 ++++----
|
|
|
|
.../docker_cli_external_volume_driver_test.go | 8 ++++----
|
|
|
|
.../integration-cli/docker_cli_network_unix_test.go | 8 ++++----
|
|
|
|
.../integration-cli/docker_cli_network_unix_test.go | 8 ++++----
|
|
|
|
.../engine/integration-cli/docker_cli_swarm_test.go | 8 ++++----
|
|
|
|
.../engine/integration-cli/docker_cli_swarm_test.go | 8 ++++----
|
|
|
|
.../integration/plugin/authz/authz_plugin_test.go | 6 +++---
|
|
|
|
.../integration/plugin/authz/authz_plugin_test.go | 6 +++---
|
|
|
@ -18,7 +18,7 @@ Subject: [PATCH] use Kodi addon storage location
|
|
|
|
components/engine/pkg/plugins/plugins.go | 2 +-
|
|
|
|
components/engine/pkg/plugins/plugins.go | 2 +-
|
|
|
|
components/engine/registry/config_unix.go | 2 +-
|
|
|
|
components/engine/registry/config_unix.go | 2 +-
|
|
|
|
components/engine/registry/endpoint_v1.go | 2 +-
|
|
|
|
components/engine/registry/endpoint_v1.go | 2 +-
|
|
|
|
14 files changed, 33 insertions(+), 33 deletions(-)
|
|
|
|
14 files changed, 32 insertions(+), 32 deletions(-)
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/components/cli/vendor/github.com/docker/docker/registry/config_unix.go b/components/cli/vendor/github.com/docker/docker/registry/config_unix.go
|
|
|
|
diff --git a/components/cli/vendor/github.com/docker/docker/registry/config_unix.go b/components/cli/vendor/github.com/docker/docker/registry/config_unix.go
|
|
|
|
index 20fb47bcae..a023df7895 100644
|
|
|
|
index 20fb47bcae..a023df7895 100644
|
|
|
@ -34,7 +34,7 @@ index 20fb47bcae..a023df7895 100644
|
|
|
|
|
|
|
|
|
|
|
|
// cleanPath is used to ensure that a directory name is valid on the target
|
|
|
|
// cleanPath is used to ensure that a directory name is valid on the target
|
|
|
|
diff --git a/components/cli/vendor/github.com/docker/docker/registry/endpoint_v1.go b/components/cli/vendor/github.com/docker/docker/registry/endpoint_v1.go
|
|
|
|
diff --git a/components/cli/vendor/github.com/docker/docker/registry/endpoint_v1.go b/components/cli/vendor/github.com/docker/docker/registry/endpoint_v1.go
|
|
|
|
index 832fdb95a4..606ddfaf96 100644
|
|
|
|
index 2fc2ea0e74..5673cf1506 100644
|
|
|
|
--- a/components/cli/vendor/github.com/docker/docker/registry/endpoint_v1.go
|
|
|
|
--- a/components/cli/vendor/github.com/docker/docker/registry/endpoint_v1.go
|
|
|
|
+++ b/components/cli/vendor/github.com/docker/docker/registry/endpoint_v1.go
|
|
|
|
+++ b/components/cli/vendor/github.com/docker/docker/registry/endpoint_v1.go
|
|
|
|
@@ -49,7 +49,7 @@ func validateEndpoint(endpoint *V1Endpoint) error {
|
|
|
|
@@ -49,7 +49,7 @@ func validateEndpoint(endpoint *V1Endpoint) error {
|
|
|
@ -47,10 +47,10 @@ index 832fdb95a4..606ddfaf96 100644
|
|
|
|
|
|
|
|
|
|
|
|
// If registry is insecure and HTTPS failed, fallback to HTTP.
|
|
|
|
// If registry is insecure and HTTPS failed, fallback to HTTP.
|
|
|
|
diff --git a/components/engine/cmd/dockerd/daemon_unix.go b/components/engine/cmd/dockerd/daemon_unix.go
|
|
|
|
diff --git a/components/engine/cmd/dockerd/daemon_unix.go b/components/engine/cmd/dockerd/daemon_unix.go
|
|
|
|
index a6685bb..f39da58 100644
|
|
|
|
index 2500260028..4e9f7ce46a 100644
|
|
|
|
--- a/components/engine/cmd/dockerd/daemon_unix.go
|
|
|
|
--- a/components/engine/cmd/dockerd/daemon_unix.go
|
|
|
|
+++ b/components/engine/cmd/dockerd/daemon_unix.go
|
|
|
|
+++ b/components/engine/cmd/dockerd/daemon_unix.go
|
|
|
|
@@ -26,7 +26,7 @@ import (
|
|
|
|
@@ -25,7 +25,7 @@ import (
|
|
|
|
|
|
|
|
|
|
|
|
func getDefaultDaemonConfigDir() (string, error) {
|
|
|
|
func getDefaultDaemonConfigDir() (string, error) {
|
|
|
|
if !honorXDG {
|
|
|
|
if !honorXDG {
|
|
|
@ -58,12 +58,12 @@ index a6685bb..f39da58 100644
|
|
|
|
+ return "/storage/.kodi/userdata/addon_data/service.system.docker/config", nil
|
|
|
|
+ return "/storage/.kodi/userdata/addon_data/service.system.docker/config", nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// NOTE: CLI uses ~/.docker while the daemon uses ~/.config/docker, because
|
|
|
|
// NOTE: CLI uses ~/.docker while the daemon uses ~/.config/docker, because
|
|
|
|
|
|
|
|
// ~/.docker was not designed to store daemon configurations.
|
|
|
|
diff --git a/components/engine/daemon/config/config_test.go b/components/engine/daemon/config/config_test.go
|
|
|
|
diff --git a/components/engine/daemon/config/config_test.go b/components/engine/daemon/config/config_test.go
|
|
|
|
index 6998ed3312..c255b62146 100644
|
|
|
|
index b27548b200..7e546bac77 100644
|
|
|
|
--- a/components/engine/daemon/config/config_test.go
|
|
|
|
--- a/components/engine/daemon/config/config_test.go
|
|
|
|
+++ b/components/engine/daemon/config/config_test.go
|
|
|
|
+++ b/components/engine/daemon/config/config_test.go
|
|
|
|
@@ -463,7 +463,7 @@ func TestReloadSetConfigFileNotExist(t *testing.T) {
|
|
|
|
@@ -517,7 +517,7 @@ func TestReloadSetConfigFileNotExist(t *testing.T) {
|
|
|
|
func TestReloadDefaultConfigNotExist(t *testing.T) {
|
|
|
|
func TestReloadDefaultConfigNotExist(t *testing.T) {
|
|
|
|
skip.If(t, os.Getuid() != 0, "skipping test that requires root")
|
|
|
|
skip.If(t, os.Getuid() != 0, "skipping test that requires root")
|
|
|
|
reloaded := false
|
|
|
|
reloaded := false
|
|
|
@ -73,12 +73,12 @@ index 6998ed3312..c255b62146 100644
|
|
|
|
flags.String("config-file", configFile, "")
|
|
|
|
flags.String("config-file", configFile, "")
|
|
|
|
err := Reload(configFile, flags, func(c *Config) {
|
|
|
|
err := Reload(configFile, flags, func(c *Config) {
|
|
|
|
diff --git a/components/engine/integration-cli/docker_cli_daemon_test.go b/components/engine/integration-cli/docker_cli_daemon_test.go
|
|
|
|
diff --git a/components/engine/integration-cli/docker_cli_daemon_test.go b/components/engine/integration-cli/docker_cli_daemon_test.go
|
|
|
|
index d3cd5f1676..b5e504489d 100644
|
|
|
|
index 6a874eb981..5b4846cf86 100644
|
|
|
|
--- a/components/engine/integration-cli/docker_cli_daemon_test.go
|
|
|
|
--- a/components/engine/integration-cli/docker_cli_daemon_test.go
|
|
|
|
+++ b/components/engine/integration-cli/docker_cli_daemon_test.go
|
|
|
|
+++ b/components/engine/integration-cli/docker_cli_daemon_test.go
|
|
|
|
@@ -546,11 +546,11 @@ func (s *DockerDaemonSuite) TestDaemonAllocatesListeningPort(c *check.C) {
|
|
|
|
@@ -553,11 +553,11 @@ func (s *DockerDaemonSuite) TestDaemonAllocatesListeningPort(c *testing.T) {
|
|
|
|
|
|
|
|
|
|
|
|
func (s *DockerDaemonSuite) TestDaemonKeyGeneration(c *check.C) {
|
|
|
|
func (s *DockerDaemonSuite) TestDaemonKeyGeneration(c *testing.T) {
|
|
|
|
// TODO: skip or update for Windows daemon
|
|
|
|
// TODO: skip or update for Windows daemon
|
|
|
|
- os.Remove("/etc/docker/key.json")
|
|
|
|
- os.Remove("/etc/docker/key.json")
|
|
|
|
+ os.Remove("/storage/.kodi/userdata/addon_data/service.system.docker/config/key.json")
|
|
|
|
+ os.Remove("/storage/.kodi/userdata/addon_data/service.system.docker/config/key.json")
|
|
|
@ -90,7 +90,7 @@ index d3cd5f1676..b5e504489d 100644
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
c.Fatalf("Error opening key file")
|
|
|
|
c.Fatalf("Error opening key file")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@@ -1198,12 +1198,12 @@ func (s *DockerDaemonSuite) TestDaemonWithWrongkey(c *check.C) {
|
|
|
|
@@ -1188,12 +1188,12 @@ func (s *DockerDaemonSuite) TestDaemonWithWrongkey(c *testing.T) {
|
|
|
|
Y string `json:"y"`
|
|
|
|
Y string `json:"y"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -105,7 +105,7 @@ index d3cd5f1676..b5e504489d 100644
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
c.Fatalf("Error reading key.json file: %s", err)
|
|
|
|
c.Fatalf("Error reading key.json file: %s", err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@@ -1223,11 +1223,11 @@ func (s *DockerDaemonSuite) TestDaemonWithWrongkey(c *check.C) {
|
|
|
|
@@ -1213,11 +1213,11 @@ func (s *DockerDaemonSuite) TestDaemonWithWrongkey(c *testing.T) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// write back
|
|
|
|
// write back
|
|
|
@ -119,11 +119,11 @@ index d3cd5f1676..b5e504489d 100644
|
|
|
|
|
|
|
|
|
|
|
|
if err := s.d.StartWithError(); err == nil {
|
|
|
|
if err := s.d.StartWithError(); err == nil {
|
|
|
|
c.Fatalf("It should not be successful to start daemon with wrong key: %v", err)
|
|
|
|
c.Fatalf("It should not be successful to start daemon with wrong key: %v", err)
|
|
|
|
diff --git a/components/engine/integration-cli/docker_cli_external_volume_driver_unix_test.go b/components/engine/integration-cli/docker_cli_external_volume_driver_unix_test.go
|
|
|
|
diff --git a/components/engine/integration-cli/docker_cli_external_volume_driver_test.go b/components/engine/integration-cli/docker_cli_external_volume_driver_test.go
|
|
|
|
index da8bb7e011..605a162e79 100644
|
|
|
|
index 94144f85c9..20afd4b37d 100644
|
|
|
|
--- a/components/engine/integration-cli/docker_cli_external_volume_driver_unix_test.go
|
|
|
|
--- a/components/engine/integration-cli/docker_cli_external_volume_driver_test.go
|
|
|
|
+++ b/components/engine/integration-cli/docker_cli_external_volume_driver_unix_test.go
|
|
|
|
+++ b/components/engine/integration-cli/docker_cli_external_volume_driver_test.go
|
|
|
|
@@ -267,10 +267,10 @@ func newVolumePlugin(c *check.C, name string) *volumePlugin {
|
|
|
|
@@ -258,10 +258,10 @@ func newVolumePlugin(c *testing.T, name string) *volumePlugin {
|
|
|
|
send(w, `{"Capabilities": { "Scope": "global" }}`)
|
|
|
|
send(w, `{"Capabilities": { "Scope": "global" }}`)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
@ -136,8 +136,8 @@ index da8bb7e011..605a162e79 100644
|
|
|
|
assert.NilError(c, err)
|
|
|
|
assert.NilError(c, err)
|
|
|
|
return s
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@@ -278,7 +278,7 @@ func newVolumePlugin(c *check.C, name string) *volumePlugin {
|
|
|
|
@@ -269,7 +269,7 @@ func newVolumePlugin(c *testing.T, name string) *volumePlugin {
|
|
|
|
func (s *DockerExternalVolumeSuite) TearDownSuite(c *check.C) {
|
|
|
|
func (s *DockerExternalVolumeSuite) TearDownSuite(c *testing.T) {
|
|
|
|
s.volumePlugin.Close()
|
|
|
|
s.volumePlugin.Close()
|
|
|
|
|
|
|
|
|
|
|
|
- err := os.RemoveAll("/etc/docker/plugins")
|
|
|
|
- err := os.RemoveAll("/etc/docker/plugins")
|
|
|
@ -145,20 +145,20 @@ index da8bb7e011..605a162e79 100644
|
|
|
|
assert.NilError(c, err)
|
|
|
|
assert.NilError(c, err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -371,7 +371,7 @@ func hostVolumePath(name string) string {
|
|
|
|
@@ -359,7 +359,7 @@ func hostVolumePath(name string) string {
|
|
|
|
|
|
|
|
|
|
|
|
// Make sure a request to use a down driver doesn't block other requests
|
|
|
|
// Make sure a request to use a down driver doesn't block other requests
|
|
|
|
func (s *DockerExternalVolumeSuite) TestExternalVolumeDriverLookupNotBlocked(c *check.C) {
|
|
|
|
func (s *DockerExternalVolumeSuite) TestExternalVolumeDriverLookupNotBlocked(c *testing.T) {
|
|
|
|
- specPath := "/etc/docker/plugins/down-driver.spec"
|
|
|
|
- specPath := "/etc/docker/plugins/down-driver.spec"
|
|
|
|
+ specPath := "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/down-driver.spec"
|
|
|
|
+ specPath := "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/down-driver.spec"
|
|
|
|
err := ioutil.WriteFile(specPath, []byte("tcp://127.0.0.7:9999"), 0644)
|
|
|
|
err := ioutil.WriteFile(specPath, []byte("tcp://127.0.0.7:9999"), 0644)
|
|
|
|
c.Assert(err, check.IsNil)
|
|
|
|
assert.NilError(c, err)
|
|
|
|
defer os.RemoveAll(specPath)
|
|
|
|
defer os.RemoveAll(specPath)
|
|
|
|
diff --git a/components/engine/integration-cli/docker_cli_network_unix_test.go b/components/engine/integration-cli/docker_cli_network_unix_test.go
|
|
|
|
diff --git a/components/engine/integration-cli/docker_cli_network_unix_test.go b/components/engine/integration-cli/docker_cli_network_unix_test.go
|
|
|
|
index d3d6256a75..a0f0ae973d 100644
|
|
|
|
index 28cc9e9622..e7f21ddb5a 100644
|
|
|
|
--- a/components/engine/integration-cli/docker_cli_network_unix_test.go
|
|
|
|
--- a/components/engine/integration-cli/docker_cli_network_unix_test.go
|
|
|
|
+++ b/components/engine/integration-cli/docker_cli_network_unix_test.go
|
|
|
|
+++ b/components/engine/integration-cli/docker_cli_network_unix_test.go
|
|
|
|
@@ -208,14 +208,14 @@ func setupRemoteNetworkDrivers(c *check.C, mux *http.ServeMux, url, netDrv, ipam
|
|
|
|
@@ -196,14 +196,14 @@ func setupRemoteNetworkDrivers(c *testing.T, mux *http.ServeMux, url, netDrv, ip
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
@ -176,7 +176,7 @@ index d3d6256a75..a0f0ae973d 100644
|
|
|
|
err = ioutil.WriteFile(ipamFileName, []byte(url), 0644)
|
|
|
|
err = ioutil.WriteFile(ipamFileName, []byte(url), 0644)
|
|
|
|
assert.NilError(c, err)
|
|
|
|
assert.NilError(c, err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@@ -227,7 +227,7 @@ func (s *DockerNetworkSuite) TearDownSuite(c *check.C) {
|
|
|
|
@@ -215,7 +215,7 @@ func (s *DockerNetworkSuite) TearDownSuite(c *testing.T) {
|
|
|
|
|
|
|
|
|
|
|
|
s.server.Close()
|
|
|
|
s.server.Close()
|
|
|
|
|
|
|
|
|
|
|
@ -186,10 +186,10 @@ index d3d6256a75..a0f0ae973d 100644
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/components/engine/integration-cli/docker_cli_swarm_test.go b/components/engine/integration-cli/docker_cli_swarm_test.go
|
|
|
|
diff --git a/components/engine/integration-cli/docker_cli_swarm_test.go b/components/engine/integration-cli/docker_cli_swarm_test.go
|
|
|
|
index f6fadcf995..5d0b5256c1 100644
|
|
|
|
index 2493287140..feb73bd38a 100644
|
|
|
|
--- a/components/engine/integration-cli/docker_cli_swarm_test.go
|
|
|
|
--- a/components/engine/integration-cli/docker_cli_swarm_test.go
|
|
|
|
+++ b/components/engine/integration-cli/docker_cli_swarm_test.go
|
|
|
|
+++ b/components/engine/integration-cli/docker_cli_swarm_test.go
|
|
|
|
@@ -783,14 +783,14 @@ func setupRemoteGlobalNetworkPlugin(c *check.C, mux *http.ServeMux, url, netDrv,
|
|
|
|
@@ -776,14 +776,14 @@ func setupRemoteGlobalNetworkPlugin(c *testing.T, mux *http.ServeMux, url, netDr
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
@ -207,7 +207,7 @@ index f6fadcf995..5d0b5256c1 100644
|
|
|
|
err = ioutil.WriteFile(ipamFileName, []byte(url), 0644)
|
|
|
|
err = ioutil.WriteFile(ipamFileName, []byte(url), 0644)
|
|
|
|
assert.NilError(c, err)
|
|
|
|
assert.NilError(c, err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@@ -802,7 +802,7 @@ func (s *DockerSwarmSuite) TestSwarmNetworkPlugin(c *check.C) {
|
|
|
|
@@ -795,7 +795,7 @@ func (s *DockerSwarmSuite) TestSwarmNetworkPlugin(c *testing.T) {
|
|
|
|
setupRemoteGlobalNetworkPlugin(c, mux, s.server.URL, globalNetworkPlugin, globalIPAMPlugin)
|
|
|
|
setupRemoteGlobalNetworkPlugin(c, mux, s.server.URL, globalNetworkPlugin, globalIPAMPlugin)
|
|
|
|
defer func() {
|
|
|
|
defer func() {
|
|
|
|
s.server.Close()
|
|
|
|
s.server.Close()
|
|
|
@ -217,10 +217,10 @@ index f6fadcf995..5d0b5256c1 100644
|
|
|
|
}()
|
|
|
|
}()
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/components/engine/integration/plugin/authz/authz_plugin_test.go b/components/engine/integration/plugin/authz/authz_plugin_test.go
|
|
|
|
diff --git a/components/engine/integration/plugin/authz/authz_plugin_test.go b/components/engine/integration/plugin/authz/authz_plugin_test.go
|
|
|
|
index 105affc1af..fa631a377a 100644
|
|
|
|
index 211bf9f6cc..6cd1cef909 100644
|
|
|
|
--- a/components/engine/integration/plugin/authz/authz_plugin_test.go
|
|
|
|
--- a/components/engine/integration/plugin/authz/authz_plugin_test.go
|
|
|
|
+++ b/components/engine/integration/plugin/authz/authz_plugin_test.go
|
|
|
|
+++ b/components/engine/integration/plugin/authz/authz_plugin_test.go
|
|
|
|
@@ -55,15 +55,15 @@ func setupTestV1(t *testing.T) func() {
|
|
|
|
@@ -56,15 +56,15 @@ func setupTestV1(t *testing.T) func() {
|
|
|
|
ctrl = &authorizationController{}
|
|
|
|
ctrl = &authorizationController{}
|
|
|
|
teardown := setupTest(t)
|
|
|
|
teardown := setupTest(t)
|
|
|
|
|
|
|
|
|
|
|
@ -240,7 +240,7 @@ index 105affc1af..fa631a377a 100644
|
|
|
|
|
|
|
|
|
|
|
|
teardown()
|
|
|
|
teardown()
|
|
|
|
diff --git a/components/engine/integration/plugin/graphdriver/external_test.go b/components/engine/integration/plugin/graphdriver/external_test.go
|
|
|
|
diff --git a/components/engine/integration/plugin/graphdriver/external_test.go b/components/engine/integration/plugin/graphdriver/external_test.go
|
|
|
|
index 99ce60ceef..53242b1ee0 100644
|
|
|
|
index 0013ec7bc7..45a6e20bf3 100644
|
|
|
|
--- a/components/engine/integration/plugin/graphdriver/external_test.go
|
|
|
|
--- a/components/engine/integration/plugin/graphdriver/external_test.go
|
|
|
|
+++ b/components/engine/integration/plugin/graphdriver/external_test.go
|
|
|
|
+++ b/components/engine/integration/plugin/graphdriver/external_test.go
|
|
|
|
@@ -79,7 +79,7 @@ func TestExternalGraphDriver(t *testing.T) {
|
|
|
|
@@ -79,7 +79,7 @@ func TestExternalGraphDriver(t *testing.T) {
|
|
|
@ -276,7 +276,7 @@ index 58058f2828..a7b449ca25 100644
|
|
|
|
-var specsPaths = []string{"/etc/docker/plugins", "/usr/lib/docker/plugins"}
|
|
|
|
-var specsPaths = []string{"/etc/docker/plugins", "/usr/lib/docker/plugins"}
|
|
|
|
+var specsPaths = []string{"/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", "/usr/lib/docker/plugins"}
|
|
|
|
+var specsPaths = []string{"/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", "/usr/lib/docker/plugins"}
|
|
|
|
diff --git a/components/engine/pkg/plugins/plugins.go b/components/engine/pkg/plugins/plugins.go
|
|
|
|
diff --git a/components/engine/pkg/plugins/plugins.go b/components/engine/pkg/plugins/plugins.go
|
|
|
|
index 6962079df9..77b69265b1 100644
|
|
|
|
index 2371e92101..4c7a16a9a5 100644
|
|
|
|
--- a/components/engine/pkg/plugins/plugins.go
|
|
|
|
--- a/components/engine/pkg/plugins/plugins.go
|
|
|
|
+++ b/components/engine/pkg/plugins/plugins.go
|
|
|
|
+++ b/components/engine/pkg/plugins/plugins.go
|
|
|
|
@@ -4,7 +4,7 @@
|
|
|
|
@@ -4,7 +4,7 @@
|
|
|
@ -302,7 +302,7 @@ index 20fb47bcae..a023df7895 100644
|
|
|
|
|
|
|
|
|
|
|
|
// cleanPath is used to ensure that a directory name is valid on the target
|
|
|
|
// cleanPath is used to ensure that a directory name is valid on the target
|
|
|
|
diff --git a/components/engine/registry/endpoint_v1.go b/components/engine/registry/endpoint_v1.go
|
|
|
|
diff --git a/components/engine/registry/endpoint_v1.go b/components/engine/registry/endpoint_v1.go
|
|
|
|
index 832fdb95a4..606ddfaf96 100644
|
|
|
|
index 2fc2ea0e74..5673cf1506 100644
|
|
|
|
--- a/components/engine/registry/endpoint_v1.go
|
|
|
|
--- a/components/engine/registry/endpoint_v1.go
|
|
|
|
+++ b/components/engine/registry/endpoint_v1.go
|
|
|
|
+++ b/components/engine/registry/endpoint_v1.go
|
|
|
|
@@ -49,7 +49,7 @@ func validateEndpoint(endpoint *V1Endpoint) error {
|
|
|
|
@@ -49,7 +49,7 @@ func validateEndpoint(endpoint *V1Endpoint) error {
|
|
|
|