Skip to content
This repository was archived by the owner on Apr 19, 2019. It is now read-only.

Commit 4b0908a

Browse files
committed
ostro.conf: revise swupd content reuse
The previous approach reused content from the latest build. The goal was to make the build as fast as possible by maximizing reuse. However, current Ostro OS release procedures do not guarantee that the "builds" directory is kept around and therefore reusing content from it is not currently possible. These procedures could be changed, but until then we have to use the "milestone" directory. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
1 parent 712df65 commit 4b0908a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

meta-ostro/conf/distro/ostro.conf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ OSTRO_SDK_UPDATE_URL ??= "https://download.ostroproject.org/builds/ostro-os/late
2929
#
3030
# The version URL determines what the client picks as the version that it updates to.
3131
# The content URL must have all builds ever produced and is expected to also
32-
# have the corresponding version information.
32+
# have the corresponding version information. In Ostro OS, only content published
33+
# as milestone is guranteed to be preserved. Therefore we cannot use the build
34+
# artifacts from the previous build and have to fall back to the much older previous
35+
# milestone, which is less efficient.
3336
SWUPD_VERSION_URL ?= "https://download.ostroproject.org/updates/ostro-os/milestone/${MACHINE}/${SWUPD_IMAGE_PN}"
34-
SWUPD_CONTENT_URL ?= "https://download.ostroproject.org/updates/ostro-os/builds/${MACHINE}/${SWUPD_IMAGE_PN}"
37+
SWUPD_CONTENT_URL ?= "https://download.ostroproject.org/updates/ostro-os/milestone/${MACHINE}/${SWUPD_IMAGE_PN}"
3538

3639
# Must match the certificate used by the version and content server.
3740
SWUPD_PINNED_PUBKEY ?= "${META_OSTRO_BASE}/files/ostroprojectorg.key"

0 commit comments

Comments
 (0)