From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1FA9213933E for ; Thu, 1 Jul 2021 14:29:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48411E088B; Thu, 1 Jul 2021 14:29:00 +0000 (UTC) Received: from mail.digimed.co.uk (mail.digimed.co.uk [82.69.83.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB937E087C for ; Thu, 1 Jul 2021 14:28:59 +0000 (UTC) Received: from digimed.co.uk (fenchurch.digimed.co.uk [192.168.1.6]) by mail.digimed.co.uk (Postfix) with ESMTPA id BB5736897D for ; Thu, 1 Jul 2021 15:28:57 +0100 (BST) Date: Thu, 1 Jul 2021 15:28:51 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] system.map file in /boot. How to manage? Message-ID: <20210701152851.44bfb79b@digimed.co.uk> In-Reply-To: <24797.41997.225807.451604@tux.local> References: <24797.41997.225807.451604@tux.local> Organization: Digital Media Production X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/1kjdcwFFqm0ow2r/JddaGnv"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Archives-Salt: 975c786e-edff-42a8-a8df-173752b7404c X-Archives-Hash: 3dc865d34a4db94fd2f73c0d2b441273 --Sig_/1kjdcwFFqm0ow2r/JddaGnv Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 1 Jul 2021 13:16:29 +0200, Dr Rainer Woitok wrote: > Same here. And whenever I configure a new kernel my kernel managing > script makes sure both, the kernel I'm currenty running on and the one > just configured are in "@world". That way "emerge --depclean" will nev- > er remove a kernel package. You can also do that with sets. Add this to sets.conf [kernels] class =3D portage.sets.dbapi.OwnerSet world-candidate =3D False files =3D /usr/src add emerge -n @kernels once. Then depclean will never touch a kernel source package. > > ... > > =C2=A0 Should I version the > > system.map file the same as kernels? =20 >=20 > Not sure about that. Mine ARE versioned. That's probably what "grub- > mkconfig" is doing by default. grub-mkconfig only reads the files, it is the make install step of kernel installation that takes care of copying the files to /boot with the correct version numbers. ISTR Dale prefers to copy the kernel files manually, which is why his System.map is not versioned. --=20 Neil Bothwick Suborbital Ballistic-Propulsion Engineer Not Exactly A Rocket Scientist --Sig_/1kjdcwFFqm0ow2r/JddaGnv Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmDd0SQACgkQ92eFu0QS MJhr1g//Zlgm8EgYBQnU/U7QO0aQVCcAMJaTzJkC0RrdNIM9vOh3vCeHV8aVhK53 DvHqVRBy5jSGgVbvfoaFdX8dOr/n9FZ+9K6dTqLRetyjHJTK4iYeMnt1MmjgQ4XN go+ei6/I5X+PYHMqhtM9cJrpknyylcQLzyHbJqFVkQEqm4odUAysowOukpQs1nx0 NITk1q6u0xRP4j7sF0V9qnZlku7Ccqg1J9JPcA0AMFk2MC+wyJ3Q5vibV/CYvtTU kQcb7wahr4618u7TFRh/qF5sevJupvmhfTJdoDrZS+3xdYXC0Q8yhnYEUOnMWR8r yRpwqLHEeDhCBMI2xyPq9ATkdJnQaXI+BVoKKObFFDvHW/I/q0SFbBl+sLg6vZld JnGV+F5HbMkUlwG03wChvjQL4Pcnm/Na0qBuvMNU1rF0p1SAmbImV0QiAT8Og7jL otyl2LQJ2w1+uyliOBlvZzR1KbKSPg9/JGch1m3Cqj4zVKP3kvGdTtGHM06/tec1 cx8yJ8uj+YrcKvfRbIeE6Gn7hiu9TETdhrB7eV6KgFkKG7FtW+obb4QBQepM1h/a 4mklZDtb7YxK/89c793kABraeqaoRCaGdus+BHbUuAyvzOn4FyVYl+KpwuUXRf1i 4+jdfBfac8EqMLCOhaVBXwVbJIo2YWAHSVu6XJfqj/ntkTrdC1I= =nxBL -----END PGP SIGNATURE----- --Sig_/1kjdcwFFqm0ow2r/JddaGnv--