summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/files
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2018-11-02 12:09:54 +0100
committerPatrick Vacek <patrickvacek@gmail.com>2018-11-05 11:01:14 +0100
commitc2a02943e3ee196b64c5753cdee02d3ea735001c (patch)
tree42a1f94e146557394600c425432b17591035a08e /recipes-sota/aktualizr/files
parentc684c3474cb580a8f58b8299e9e901440ebf56d0 (diff)
downloadmeta-updater-c2a02943e3ee196b64c5753cdee02d3ea735001c.tar.gz
aktualizr: attempt to get ptest enabled to build test suite.test/enable-ptest
Diffstat (limited to 'recipes-sota/aktualizr/files')
-rw-r--r--recipes-sota/aktualizr/files/0001-Use-aktualizr-repo-without-a-provided-path.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/files/0001-Use-aktualizr-repo-without-a-provided-path.patch b/recipes-sota/aktualizr/files/0001-Use-aktualizr-repo-without-a-provided-path.patch
new file mode 100644
index 0000000..29c75fc
--- /dev/null
+++ b/recipes-sota/aktualizr/files/0001-Use-aktualizr-repo-without-a-provided-path.patch
@@ -0,0 +1,24 @@
1From f5a501f842749ba31f76526a395f09cc61435ec3 Mon Sep 17 00:00:00 2001
2From: Patrick Vacek <patrickvacek@gmail.com>
3Date: Wed, 31 Oct 2018 14:55:48 +0100
4Subject: [PATCH] Use aktualizr-repo without a provided path.
5
6This is necessary for building the tests for ptest because we want to
7use the native version of aktualizr-repo (built for the host).
8---
9 tests/uptane_repo_generation/CMakeLists.txt | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/tests/uptane_repo_generation/CMakeLists.txt b/tests/uptane_repo_generation/CMakeLists.txt
13index 83c14230..6f89d6a5 100644
14--- a/tests/uptane_repo_generation/CMakeLists.txt
15+++ b/tests/uptane_repo_generation/CMakeLists.txt
16@@ -1,4 +1,4 @@
17 add_custom_target(uptane_repo_full_no_correlation_id
18 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/full_no_correlation_id.sh
19- $<TARGET_FILE:aktualizr-repo> ${PROJECT_BINARY_DIR}/uptane_repos/full_no_correlation_id)
20+ aktualizr-repo ${PROJECT_BINARY_DIR}/uptane_repos/full_no_correlation_id)
21 add_dependencies(uptane_repo_full_no_correlation_id aktualizr-repo)
22--
232.17.1
24