From 79da1cd2c3c2bad35fd79e2cc295dd41e0328619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Wed, 14 Apr 2021 15:52:57 -0300 Subject: [PATCH] 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. --- srcpkgs/linux5.11/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/linux5.11/template b/srcpkgs/linux5.11/template index d4e86720cad..eba194f35ea 100644 --- a/srcpkgs/linux5.11/template +++ b/srcpkgs/linux5.11/template @@ -325,5 +325,6 @@ linux5.11-dbg_package() { short_desc+=" - debugging symbols" pkg_install() { vmove usr/lib/debug + vmove "boot/System.map-${_kernver}" } }