Remove LD_PRELOAD libgomp.so.1 from lmc --no-virt

The libgomp bug rhbz#1722181 has been closed since August.

(cherry picked from commit b0318efead)
This commit is contained in:
Brian C. Lane 2020-12-08 16:19:38 -08:00
parent 929d2585eb
commit e1caa5624e

View File

@ -403,14 +403,12 @@ def novirt_install(opts, disk_img, disk_size, cancel_func=None, tar_img=None):
cancel_funcs.append(cancel_func) cancel_funcs.append(cancel_func)
# Make sure anaconda has the right product and release # Make sure anaconda has the right product and release
# Preload libgomp.so.1 to workaround rhbz#1722181
log.info("Running anaconda.") log.info("Running anaconda.")
try: try:
unshare_args = ["--pid", "--kill-child", "--mount", "--propagation", "unchanged", "anaconda"] + args unshare_args = ["--pid", "--kill-child", "--mount", "--propagation", "unchanged", "anaconda"] + args
for line in execReadlines("unshare", unshare_args, reset_lang=False, for line in execReadlines("unshare", unshare_args, reset_lang=False,
env_add={"ANACONDA_PRODUCTNAME": opts.project, env_add={"ANACONDA_PRODUCTNAME": opts.project,
"ANACONDA_PRODUCTVERSION": opts.releasever, "ANACONDA_PRODUCTVERSION": opts.releasever},
"LD_PRELOAD": "libgomp.so.1"},
callback=lambda p: not novirt_cancel_check(cancel_funcs, p)): callback=lambda p: not novirt_cancel_check(cancel_funcs, p)):
log.info(line) log.info(line)