classes: ipmi: symlink: Don't change directories

Avoid a build warning by not changing directories when installing
ipmid provider symlinks.

Change-Id: I174c91643197f387ffa1bc76d71d6f736444cffd
Tested: Built an image and verified symlinks
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/classes/obmc-phosphor-ipmiprovider-symlink.bbclass b/classes/obmc-phosphor-ipmiprovider-symlink.bbclass
index ff28f4b..02f7ce0 100644
--- a/classes/obmc-phosphor-ipmiprovider-symlink.bbclass
+++ b/classes/obmc-phosphor-ipmiprovider-symlink.bbclass
@@ -20,11 +20,10 @@
 
         # 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)