Skip to content

Commit

Permalink
Remove LD_PRELOAD libgomp.so.1 from lmc --no-virt
Browse files Browse the repository at this point in the history
The libgomp bug rhbz#1722181 has been closed since August.
  • Loading branch information
bcl committed Dec 15, 2020
1 parent a33efe7 commit b0318ef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pylorax/installer.py
Expand Up @@ -403,14 +403,12 @@ def novirt_install(opts, disk_img, disk_size, cancel_func=None, tar_img=None):
cancel_funcs.append(cancel_func)

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

Expand Down

0 comments on commit b0318ef

Please sign in to comment.