make dpkg-configure network reachable

some deb packages may use DNS(resolv.conf) for their configuration

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
This commit is contained in:
Wataru Ishida
2018-07-24 17:40:52 -07:00
parent 204c4d6098
commit 9e3de2cdfd

View File

@@ -431,7 +431,7 @@ rm -f /usr/sbin/policy-rc.d
def configure(self, dir_):
if not os.getenv('NO_DPKG_CONFIGURE'):
with OnlRfsContext(dir_, resolvconf=False):
with OnlRfsContext(dir_):
self.dpkg_configure(dir_)
with OnlRfsContext(dir_):