mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-31 11:21:04 +02:00
Merge pull request #1698 from experimental-platform/preserve-system-map
coreos-kernel: preserve 'System.map' during kernel build
This commit is contained in:
commit
5425b74c21
@ -156,6 +156,11 @@ prepare-lib-modules-release-dirs() {
|
||||
"${D}/usr/lib/modules/${version}" || die
|
||||
|
||||
# Clean up the build tree and install for out-of-tree module builds
|
||||
find "build/" -follow -maxdepth 1 -name 'System.map' -print \
|
||||
| cpio -pd \
|
||||
--preserve-modification-time \
|
||||
--owner=root:root \
|
||||
"${D}/usr/lib/modules/${version}" || die
|
||||
kmake clean
|
||||
find "build/" -type d -empty -delete || die
|
||||
rm --recursive \
|
||||
|
Loading…
x
Reference in New Issue
Block a user