diff options
Diffstat (limited to 'meta/recipes-devtools/apt')
5 files changed, 44 insertions, 3 deletions
diff --git a/meta/recipes-devtools/apt/apt/0001-Do-not-configure-packages-on-installation.patch b/meta/recipes-devtools/apt/apt/0001-Do-not-configure-packages-on-installation.patch index 2322bd8e78..81b328a2ee 100644 --- a/meta/recipes-devtools/apt/apt/0001-Do-not-configure-packages-on-installation.patch +++ b/meta/recipes-devtools/apt/apt/0001-Do-not-configure-packages-on-installation.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 1ad21140787a6b8b0f774f75b50444d2c30a56f6 Mon Sep 17 00:00:00 2001 | 1 | From 96d23fc57d1ff9c851d563d6d6a6c4752dc4f1b6 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Thu, 21 May 2020 20:28:12 +0000 | 3 | Date: Thu, 21 May 2020 20:28:12 +0000 |
4 | Subject: [PATCH] Do not configure packages on installation | 4 | Subject: [PATCH] Do not configure packages on installation |
diff --git a/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch b/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch index d3d3ab026d..1417153e81 100644 --- a/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch +++ b/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b18d7aa7d71b53b86bac21cd1d8c3accabb28f2b Mon Sep 17 00:00:00 2001 | 1 | From bf45c314867e5fb12141803fba06f3e45679d628 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 10 May 2019 16:47:38 +0200 | 3 | Date: Fri, 10 May 2019 16:47:38 +0200 |
4 | Subject: [PATCH] Do not init tables from dpkg configuration | 4 | Subject: [PATCH] Do not init tables from dpkg configuration |
diff --git a/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch b/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch index 8c4cc04503..37f969690c 100644 --- a/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch +++ b/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 742fbb243f99e940c3e6b31296f7f416f550a57a Mon Sep 17 00:00:00 2001 | 1 | From 34700bebc52659e7e3eecd252f65bd36e669eee8 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Thu, 21 May 2020 20:13:25 +0000 | 3 | Date: Thu, 21 May 2020 20:13:25 +0000 |
4 | Subject: [PATCH] Revert "always run 'dpkg --configure -a' at the end of our | 4 | Subject: [PATCH] Revert "always run 'dpkg --configure -a' at the end of our |
diff --git a/meta/recipes-devtools/apt/apt/0001-test-libapt-do-not-use-gtest-from-the-host.patch b/meta/recipes-devtools/apt/apt/0001-test-libapt-do-not-use-gtest-from-the-host.patch new file mode 100644 index 0000000000..503b5a5c0b --- /dev/null +++ b/meta/recipes-devtools/apt/apt/0001-test-libapt-do-not-use-gtest-from-the-host.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From 28e389a0d1275e7693df84a7d4a58b28364be1a9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 22 Oct 2020 17:33:38 +0200 | ||
4 | Subject: [PATCH] test/libapt: do not use gtest from the host | ||
5 | |||
6 | This really does not work when cross-compiling. | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe-core specific] | ||
9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
10 | --- | ||
11 | test/libapt/CMakeLists.txt | 16 ---------------- | ||
12 | 1 file changed, 16 deletions(-) | ||
13 | |||
14 | diff --git a/test/libapt/CMakeLists.txt b/test/libapt/CMakeLists.txt | ||
15 | index 035ff07..280b83c 100644 | ||
16 | --- a/test/libapt/CMakeLists.txt | ||
17 | +++ b/test/libapt/CMakeLists.txt | ||
18 | @@ -6,22 +6,6 @@ find_path(GTEST_ROOT src/gtest.cc | ||
19 | find_package(GTest) | ||
20 | set(GTEST_DEPENDENCIES) | ||
21 | |||
22 | -if(NOT GTEST_FOUND AND EXISTS ${GTEST_ROOT}) | ||
23 | - include(ExternalProject) | ||
24 | - ExternalProject_Add(gtest PREFIX ./gtest | ||
25 | - SOURCE_DIR ${GTEST_ROOT} | ||
26 | - INSTALL_COMMAND true) | ||
27 | - | ||
28 | - link_directories(${CMAKE_CURRENT_BINARY_DIR}/gtest/src/gtest-build) | ||
29 | - | ||
30 | - set(GTEST_LIBRARIES "-lgtest") | ||
31 | - set(GTEST_DEPENDENCIES "gtest") | ||
32 | - set(GTEST_FOUND TRUE) | ||
33 | - find_path(GTEST_INCLUDE_DIRS NAMES gtest/gtest.h PATHS ${GTEST_ROOT}/include) | ||
34 | - | ||
35 | - message(STATUS "Found GTest at ${GTEST_ROOT}, headers at ${GTEST_INCLUDE_DIRS}") | ||
36 | -endif() | ||
37 | - | ||
38 | if(GTEST_FOUND) | ||
39 | # gtest produces some warnings with the set of warnings we activate, | ||
40 | # so disable the offending warnings while compiling tests for now | ||
diff --git a/meta/recipes-devtools/apt/apt_1.8.2.1.bb b/meta/recipes-devtools/apt/apt_1.8.2.1.bb index bd1f4f39c3..de0e150a2e 100644 --- a/meta/recipes-devtools/apt/apt_1.8.2.1.bb +++ b/meta/recipes-devtools/apt/apt_1.8.2.1.bb | |||
@@ -8,6 +8,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/${BPN}_${PV}.tar.xz \ | |||
8 | file://0001-Disable-documentation-directory-altogether.patch \ | 8 | file://0001-Disable-documentation-directory-altogether.patch \ |
9 | file://0001-Fix-musl-build.patch \ | 9 | file://0001-Fix-musl-build.patch \ |
10 | file://0001-CMakeLists.txt-avoid-changing-install-paths-based-on.patch \ | 10 | file://0001-CMakeLists.txt-avoid-changing-install-paths-based-on.patch \ |
11 | file://0001-test-libapt-do-not-use-gtest-from-the-host.patch \ | ||
11 | " | 12 | " |
12 | 13 | ||
13 | SRC_URI_append_class-native = " \ | 14 | SRC_URI_append_class-native = " \ |