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:
Érico Nogueira 2021-04-14 15:52:57 -03:00 committed by Érico Nogueira Rolim
parent 8129bbb4d2
commit 79da1cd2c3

View file

@ -325,5 +325,6 @@ linux5.11-dbg_package() {
short_desc+=" - debugging symbols"
pkg_install() {
vmove usr/lib/debug
vmove "boot/System.map-${_kernver}"
}
}