[Mesa-dev] [PATCH] meson: fix megadriver symlinking

Eric Engestrom eric.engestrom at imgtec.com
Thu Apr 5 12:41:38 UTC 2018


On Wednesday, 2018-04-04 10:45:26 -0700, Dylan Baker wrote:
> Which should be relative instead of absolute.
> 
> Fixes: f7f1b30f81e842db6057591470ce3cb6d4fb2795
>        ("meson: extend install_megadrivers script to handle symmlinking")
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105567
> Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>

Been using that locally for a couple months:
Reviewed-and-Tested-by: Eric Engestrom <eric.engestrom at imgtec.com>

> ---
>  bin/install_megadrivers.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/bin/install_megadrivers.py b/bin/install_megadrivers.py
> index 86bfa359188..7931a544bd2 100755
> --- a/bin/install_megadrivers.py
> +++ b/bin/install_megadrivers.py
> @@ -58,7 +58,7 @@ def main():
>              while ext != '.so':
>                  if os.path.exists(name):
>                      os.unlink(name)
> -                os.symlink(driver, name)
> +                os.symlink(each, name)
>                  name, ext = os.path.splitext(name)
>          finally:
>              os.chdir(ret)
> -- 
> 2.16.3
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list