diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-05-31 17:52:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-04 13:27:31 +0100 |
commit | cae9a6c9c8cc1991b8e68b0816fc2db22e3ae129 (patch) | |
tree | 64e897bae1d8e17be8a8cbc9cd369e6e813245d3 /meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch | |
parent | fbb498abd98128a196d059175e3fec99eecee7dc (diff) | |
download | poky-cae9a6c9c8cc1991b8e68b0816fc2db22e3ae129.tar.gz |
apt: update to 1.8.2.1
I took the opportunity to rewrite the recipe from scratch; there was just too much baggage in it.
(From OE-Core rev: f058272de9cba188d96940c8c921cf31727fe4d1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch')
-rw-r--r-- | meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch | 29 |
1 files changed, 29 insertions, 0 deletions
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 new file mode 100644 index 0000000000..d3d3ab026d --- /dev/null +++ b/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From b18d7aa7d71b53b86bac21cd1d8c3accabb28f2b Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 10 May 2019 16:47:38 +0200 | ||
4 | Subject: [PATCH] Do not init tables from dpkg configuration | ||
5 | |||
6 | This would require sysroot relocation logic, and it's easier to just disable them. | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe-core specific] | ||
9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
10 | |||
11 | --- | ||
12 | apt-pkg/init.cc | 4 ++-- | ||
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc | ||
16 | index a619368..6e5a6cf 100644 | ||
17 | --- a/apt-pkg/init.cc | ||
18 | +++ b/apt-pkg/init.cc | ||
19 | @@ -281,8 +281,8 @@ bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys) | ||
20 | return _error->Error(_("Unable to determine a suitable packaging system type")); | ||
21 | } | ||
22 | |||
23 | - if (pkgInitArchTupleMap() == false) | ||
24 | - return false; | ||
25 | +// if (pkgInitArchTupleMap() == false) | ||
26 | +// return false; | ||
27 | |||
28 | return Sys->Initialize(Cnf); | ||
29 | } | ||