linux5.11: move System.map to -dbg package.
Fedora makes it 600 in the main package, Debian has moved it to their -dbg package. Since it can help break KASLR on arbitrary attacks and isn't really useful most of the time, confine to -dbg package.
This commit is contained in:
parent
8129bbb4d2
commit
79da1cd2c3
1 changed files with 1 additions and 0 deletions
|
@ -325,5 +325,6 @@ linux5.11-dbg_package() {
|
|||
short_desc+=" - debugging symbols"
|
||||
pkg_install() {
|
||||
vmove usr/lib/debug
|
||||
vmove "boot/System.map-${_kernver}"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue