mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-06 04:41:06 +00:00
clamav: runtime fix local routing
This addes the localhost to resolve.conf to fix: ERROR: Can't get information about database.clamav.net: Temporary failure in name resolution ERROR: Can't download main.cvd from database.clamav.net Giving up on database.clamav.net... Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -19,6 +19,8 @@ class ClamavTest(OERuntimeTestCase):
|
|||||||
f.write(os.linesep)
|
f.write(os.linesep)
|
||||||
f.write("nameserver 8.8.4.4")
|
f.write("nameserver 8.8.4.4")
|
||||||
f.write(os.linesep)
|
f.write(os.linesep)
|
||||||
|
f.write("nameserver 127.0.0.1")
|
||||||
|
f.write(os.linesep)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
|
|||||||
Reference in New Issue
Block a user