sources/ostree: set contenturl when pulling from remote

If a contenturl is specified, the url is used only for metadata. This is
useful when the actual content is hosted separately.
This commit is contained in:
Sanne Raymaekers 2022-10-11 18:57:11 +02:00 committed by Christian Kellner
parent cc9d05c201
commit 925ca9b41e
9 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{
"expects": "success",
"org.osbuild.ostree": {
"items": {
"d6243b0d0ca3dc2aaef2e0eb3e9f1f4836512c2921007f124b285f7c466464d8": {
"remote": {
"url": "http://localhost/sources/org.osbuild.ostree/data/meta",
"contenturl": "http://localhost/sources/org.osbuild.ostree/data/content"
}
}
}
}
}

View file

@ -0,0 +1,3 @@
[core]
repo_version=1
mode=archive-z2

View file

@ -0,0 +1 @@
d6243b0d0ca3dc2aaef2e0eb3e9f1f4836512c2921007f124b285f7c466464d8