From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DFEB51387D3 for ; Sun, 26 Oct 2014 19:43:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D3F0AE0AF2; Sun, 26 Oct 2014 19:43:22 +0000 (UTC) Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B506AE0ADD for ; Sun, 26 Oct 2014 19:43:21 +0000 (UTC) Received: by mail-ig0-f180.google.com with SMTP id uq10so4335993igb.1 for ; Sun, 26 Oct 2014 12:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=AWArh1sWtBbFLlh0OQWUtQRlndjaOnCKDFcZCVBRUAs=; b=QPYHpK0kRK6KQ7MGM2t+am3u9yz+KPSlHMTgSKF6vMgBM/lPt5I/f+Qancx2WzlPno xpTJDNDD6hXfMF6Vvni13hBBHWtXPSsYijNh+feMikT6UjeneNHtHBTtV2K1e5HyMLsJ B6TDBtitEP7/09ifWHweeHZEifi32/T3hh+jvxEa6eAvdQprcBc9Mhd367CSSBh8XK4O SK/v8oKjERNxWfqIMLfVJrEOJJ0eF7AIZkN1dNwhtVeL1Ur8S497HjzYgKYPldScPpZa fBw2UZGGAMN9/PRUsMI8RJTxGuyXf7HazkyHXbOZscp3DwjLSG6jKMJldtng4EUBj7NS +j7Q== X-Received: by 10.43.90.198 with SMTP id bj6mr15002404icc.4.1414352601032; Sun, 26 Oct 2014 12:43:21 -0700 (PDT) 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 MIME-Version: 1.0 Received: by 10.107.148.19 with HTTP; Sun, 26 Oct 2014 12:43:00 -0700 (PDT) In-Reply-To: References: <544D5A97.4020605@giuseppepappalardo.eu> From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= Date: Sun, 26 Oct 2014 13:43:00 -0600 Message-ID: Subject: Re: [gentoo-user] alternative kernels To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d6f59174-df0b-4b06-a985-47d495884b15 X-Archives-Hash: 132d56b01dd19dd2663dddec1aa086b9 On Sun, Oct 26, 2014 at 1:41 PM, Canek Pel=C3=A1ez Vald=C3=A9s wrote: > On Sun, Oct 26, 2014 at 2:33 PM, Giuseppe Pappalardo > wrote: >> On 10/26/2014 08:23 PM, Canek Pel=C3=A1ez Vald=C3=A9s wrote: >>> >>> >>> As to how do I maintain them, I wrote a little utility that I've been >>> using from the last year or so: >>> >>> https://github.com/canek-pelaez/kerninst >>> >>> With it, after I install a new kernel using the normal portage >>> procedure, I just do: >>> >>> eselect kernel set >>> kerninst >>> >>> And that's it. Be aware that you need to provide your own kernel config= uration. >>> >>> Regards. >>> >> How does this differs from just enabling the "symlink" USE flag in >> vanilla-sources? > > AFAIU, the symlink USE flag just updates the /usr/src/linux link > automatically at install time (although I have never used it). > > kerninst configures (using a user-provided .config file), compiles, > and installs the kernel in the correct location (/boot if using GRUB2, > a more complex location if using Gummiboot), and then it updates the > configuration of the boot manager (either GRUB2 or Gummiboot). Oh, I forgot; it also generates an initramfs for it with dracut. This is important: kerninst assumes you use an initramfs, and that you use dracut to create it. Also, it assumes you already configured dracut.conf. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Profesor de asignatura, Facultad de Ciencias Universidad Nacional Aut=C3=B3noma de M=C3=A9xico