Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | From 11ba49594ae9d11f0070198c146b5e437fa83022 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 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 |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 16 | index b9d9b15..1725c59 100644 |
Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 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 | } |