summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-05-31 17:52:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-04 13:27:31 +0100
commitcae9a6c9c8cc1991b8e68b0816fc2db22e3ae129 (patch)
tree64e897bae1d8e17be8a8cbc9cd369e6e813245d3 /meta/lib
parentfbb498abd98128a196d059175e3fec99eecee7dc (diff)
downloadpoky-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/lib')
-rw-r--r--meta/lib/oe/package_manager.py2
-rw-r--r--meta/lib/oeqa/runtime/cases/apt.py2
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index c055d2b0f7..35e5cff073 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -1800,7 +1800,7 @@ class DpkgPM(OpkgDpkgPM):
1800 def fix_broken_dependencies(self): 1800 def fix_broken_dependencies(self):
1801 os.environ['APT_CONFIG'] = self.apt_conf_file 1801 os.environ['APT_CONFIG'] = self.apt_conf_file
1802 1802
1803 cmd = "%s %s -f install" % (self.apt_get_cmd, self.apt_args) 1803 cmd = "%s %s --allow-unauthenticated -f install" % (self.apt_get_cmd, self.apt_args)
1804 1804
1805 try: 1805 try:
1806 subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT) 1806 subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT)
diff --git a/meta/lib/oeqa/runtime/cases/apt.py b/meta/lib/oeqa/runtime/cases/apt.py
index c5378d90c3..53745df93f 100644
--- a/meta/lib/oeqa/runtime/cases/apt.py
+++ b/meta/lib/oeqa/runtime/cases/apt.py
@@ -34,7 +34,7 @@ class AptRepoTest(AptTest):
34 def setup_source_config_for_package_install(self): 34 def setup_source_config_for_package_install(self):
35 apt_get_source_server = 'http://%s:%s/' % (self.tc.target.server_ip, self.repo_server.port) 35 apt_get_source_server = 'http://%s:%s/' % (self.tc.target.server_ip, self.repo_server.port)
36 apt_get_sourceslist_dir = '/etc/apt/' 36 apt_get_sourceslist_dir = '/etc/apt/'
37 self.target.run('cd %s; echo deb %s ./ > sources.list' % (apt_get_sourceslist_dir, apt_get_source_server)) 37 self.target.run('cd %s; echo deb [ allow-insecure=yes ] %s ./ > sources.list' % (apt_get_sourceslist_dir, apt_get_source_server))
38 38
39 def cleanup_source_config_for_package_install(self): 39 def cleanup_source_config_for_package_install(self):
40 apt_get_sourceslist_dir = '/etc/apt/' 40 apt_get_sourceslist_dir = '/etc/apt/'
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index 49cee6d6a8..7d8f895045 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -676,7 +676,7 @@ class DevtoolModifyTests(DevtoolBase):
676 676
677 bbclassextended = False 677 bbclassextended = False
678 inheritnative = False 678 inheritnative = False
679 testrecipes = 'mtools-native apt-native desktop-file-utils-native'.split() 679 testrecipes = 'cdrtools-native mtools-native apt-native desktop-file-utils-native'.split()
680 for testrecipe in testrecipes: 680 for testrecipe in testrecipes:
681 checkextend = 'native' in (get_bb_var('BBCLASSEXTEND', testrecipe) or '').split() 681 checkextend = 'native' in (get_bb_var('BBCLASSEXTEND', testrecipe) or '').split()
682 if not bbclassextended: 682 if not bbclassextended: