Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

swupd-client: define OstroXT's default URLs #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " \
file://ostroprojectorg.key \
"
SWUPD_VERSION_URL ?= "https://download.ostroproject.org/updates/ostro-os-xt/milestone/intel-corei7-64/ostro-xt-image-swupd"
SWUPD_CONTENT_URL ?= "https://download.ostroproject.org/updates/ostro-os-xt/milestone/intel-corei7-64/ostro-xt-image-swupd"

do_install_append () {
install -d ${D}${datadir}/clear/update-ca
rm -f ${D}${datadir}/clear/update-ca/425b0f6b.key
install -m 0644 ${WORKDIR}/ostroprojectorg.key ${D}${datadir}/clear/update-ca/425b0f6b.key

echo "${SWUPD_VERSION_URL}" > ${D}/usr/share/defaults/swupd/versionurl
echo "${SWUPD_CONTENT_URL}" > ${D}/usr/share/defaults/swupd/contenturl
echo "${SWUPD_FORMAT}" > ${D}/usr/share/defaults/swupd/format
}