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

swupd-client_%.bbappend: configure swupd repo URLs#253

Merged
mythi merged 1 commit intoostroproject:masterfrom
rojkov:conf-swupd
Sep 2, 2016
Merged

swupd-client_%.bbappend: configure swupd repo URLs#253
mythi merged 1 commit intoostroproject:masterfrom
rojkov:conf-swupd

Conversation

@rojkov
Copy link
Contributor

@rojkov rojkov commented Aug 23, 2016

By default swupd checks for updates at http://example.com
and in case of fetching from an HTTPS URL it uses a
pre-defined public key which is specific to ClearLinux.

This patch configures meta-ostro to use Ostro's public
repository for software updates by default.

Fixes: IOTOS-1754

NB: Depends on https://lists.yoctoproject.org/pipermail/yocto/2016-August/031680.html accepted to meta-swupd.

By default swupd checks for updates at http://example.com
and in case of fetching from an HTTPS URL it uses a
pre-defined public key which is specific to ClearLinux.

This patch configures meta-ostro to use Ostro's public
repository for software updates by default.

Fixes: IOTOS-1754

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
@mythi
Copy link
Contributor

mythi commented Sep 1, 2016

the dependencies are now in master so let's re-trigger and check the output.

retest this please

@kad
Copy link
Contributor

kad commented Sep 1, 2016

Should we do similar PR to ostro-os-xt ?

@mythi
Copy link
Contributor

mythi commented Sep 1, 2016

@kad we have ostroproject/ostro-os-xt/pull/8 already. We may need to take the meta-swupd fix in the bbappend too however.

@kad
Copy link
Contributor

kad commented Sep 1, 2016

ah, ok, missed that.

@mythi
Copy link
Contributor

mythi commented Sep 2, 2016

@rojkov could you check the resulting images?

@rojkov
Copy link
Contributor Author

rojkov commented Sep 2, 2016

@mythi at least swupd check-update works as expected

root@intel-corei7-64:~# swupd check-update
swupd-client software update checker 3.6.0
   Copyright (C) 2012-2016 Intel Corporation

Querying server version.
Attempting to download version string to memory
There are no updates available

And swupd verify fails as expected too, because updates for PR are not published

root@intel-corei7-64:~# swupd verify
swupd-client software verify 3.6.0
   Copyright (C) 2012-2016 Intel Corporation

Verifying version 16340
Attempting to download version string to memory
Failed to retrieve 16340 MoM manifest
Unable to download/verify 16340 Manifest.MoM
Possible filedescriptor leak: fd_number="3",fd_details="/dev/urandom"
Error: Verify did not fully succeed

No more "bad certificate" errors.

@mythi
Copy link
Contributor

mythi commented Sep 2, 2016

@rojkov thanks for checking! merging

@mythi mythi merged commit 8e35d24 into ostroproject:master Sep 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants