Correct build link
authorWilliam Douglas <william.douglas@intel.com>
Thu, 7 Feb 2013 23:16:52 +0000 (15:16 -0800)
committerWilliam Douglas <william.douglas@intel.com>
Tue, 1 Oct 2013 19:10:16 +0000 (12:10 -0700)
Because /lib/ -> /usr/lib we need to go down one more level to /.

Change-Id: If078fcc6f7709da2e3a1de55de16968f055dff23
Signed-off-by: William Douglas <william.douglas@intel.com>
packaging/kernel-adaptation-pc.spec

index 14f08ec..2e2bf2b 100644 (file)
@@ -309,7 +309,7 @@ BuildKernel() {
         # Move the devel headers out of the root file system
         mkdir -p %{buildroot}/usr/src/kernels
         mv %{buildroot}/usr/lib/modules/$KernelVer/build %{buildroot}/$DevelDir
-        ln -sf ../../..$DevelDir %{buildroot}/usr/lib/modules/$KernelVer/build
+        ln -sf $DevelDir %{buildroot}/usr/lib/modules/$KernelVer/build
     fi
 }