diff options
Diffstat (limited to 'recipes-sota/aktualizr/files/0001-Use-aktualizr-repo-without-a-provided-path.patch')
-rw-r--r-- | recipes-sota/aktualizr/files/0001-Use-aktualizr-repo-without-a-provided-path.patch | 24 |
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 @@ | |||
1 | From f5a501f842749ba31f76526a395f09cc61435ec3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Patrick Vacek <patrickvacek@gmail.com> | ||
3 | Date: Wed, 31 Oct 2018 14:55:48 +0100 | ||
4 | Subject: [PATCH] Use aktualizr-repo without a provided path. | ||
5 | |||
6 | This is necessary for building the tests for ptest because we want to | ||
7 | use 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 | |||
12 | diff --git a/tests/uptane_repo_generation/CMakeLists.txt b/tests/uptane_repo_generation/CMakeLists.txt | ||
13 | index 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 | -- | ||
23 | 2.17.1 | ||
24 | |||