Correct symlink /lib/modules/.../build and move .config correct place (#89)

This commit is contained in:
Marek Marczykowski 2011-03-16 10:32:17 +01:00
parent eeaff8438d
commit 6851144924

View File

@ -227,6 +227,8 @@ find %buildroot/lib/modules/%kernelrelease -name "*.ko" -type f >modnames
# Move the devel headers out of the root file system
mkdir -p %buildroot/usr/src/kernels
mv %buildroot/lib/modules/%kernelrelease/build/* %buildroot/%src_install_dir
mv %buildroot/lib/modules/%kernelrelease/build/.config %buildroot/%src_install_dir
rmdir %buildroot/lib/modules/%kernelrelease/build
ln -sf $src_install_dir %buildroot/lib/modules/%kernelrelease/build