diff options
Diffstat (limited to 'meta-phosphor/classes/obmc-phosphor-ipmiprovider-symlink.bbclass')
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-ipmiprovider-symlink.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-ipmiprovider-symlink.bbclass b/meta-phosphor/classes/obmc-phosphor-ipmiprovider-symlink.bbclass index ff28f4b15..02f7ce0c8 100644 --- a/meta-phosphor/classes/obmc-phosphor-ipmiprovider-symlink.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-ipmiprovider-symlink.bbclass @@ -20,11 +20,10 @@ python symlink_create_postinstall() { # get the library name path, file = os.path.split(filelist[0]) - os.chdir(install_dir) source = "../ipmid-providers/" + file # create the symlink - os.symlink(source, file) + os.symlink(source, os.path.join(install_dir, file)) for libname in listvar_to_list(d, 'HOSTIPMI_PROVIDER_LIBRARY'): install_dir = d.getVar('HOSTIPMI_LIBDIR', True) |