Correct symlink /lib/modules/.../build and move .config correct place (#89)
This commit is contained in:
parent
eeaff8438d
commit
6851144924
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user