mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 17:36:59 +02:00
fix(cros-kernel2.eclass): Don't install invalid source/build symlinks.
If the kernel sources aren't installed there is no point to installing these symlinks.
This commit is contained in:
parent
13fa480c49
commit
a38632b0ea
@ -146,6 +146,9 @@ cros-kernel2_src_install() {
|
|||||||
|
|
||||||
if use source; then
|
if use source; then
|
||||||
install_kernel_sources
|
install_kernel_sources
|
||||||
|
else
|
||||||
|
# Remove invalid symlinks when source isn't installed
|
||||||
|
rm -f "${D}/lib/modules/${version}/"{build,source}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user