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 287611381F3 for ; Wed, 2 Oct 2013 11:49:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60F83E0B57; Wed, 2 Oct 2013 11:48:54 +0000 (UTC) Received: from postler.lichtfels.com (postler.lichtfels.com [78.46.92.195]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 514D9E0B39 for ; Wed, 2 Oct 2013 11:48:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by postler.lichtfels.com (Postfix) with ESMTP id 53FAA123E2 for ; Wed, 2 Oct 2013 13:48:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1380714531; bh=I+RwoHESjNRpm5SisjRK05WME7SGksBeW+P4744dIoI=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=yvhBE4ya/0Wh4Vib2Z9peq0ieKxUTiVQBB82KbjBLyr1aFHvD48Ky68Cthu+/FggD mHjnJqDFtAO5zvya16aJfLKgK1WFYp5Ne/fC4wxrXxdgjFak9p+XPrvumjzZCYybQK 4sjblgAILq39VSoG952pE/s6YM15y9S+2xYW7WzU= Received: from postler.lichtfels.com ([127.0.0.1]) by localhost (postler.lichtfels.com [127.0.0.1]) (amavisd-maia, port 10024) with LMTP id 20300-09 for ; Wed, 2 Oct 2013 13:48:49 +0200 (CEST) Received: from hiro.oops.intern (unknown [IPv6:2001:15c0:65ff:8742:2cd9:17ba:1549:e177]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by postler.lichtfels.com (Postfix) with ESMTPSA id 7A56A123DF for ; Wed, 2 Oct 2013 13:48:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1380714529; bh=I+RwoHESjNRpm5SisjRK05WME7SGksBeW+P4744dIoI=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=HhsUYImEd5oyQjWyC3mBn3dwIS7o3qD/sISi15Fq5G3VQj3j7YC+r+xOJ5Xazeypk JmAGsU1rivRfBXiCl6gLPtmQYDwlD/BvbYIGtcqUxcs2hrbK/HCbvLu4SEZoazVLzh R26G/Nf1S33gGYMmzsH4SNMo2jcVn+6p18niWwXg= Message-ID: <524C0820.9030501@xunil.at> Date: Wed, 02 Oct 2013 13:48:48 +0200 From: "Stefan G. Weichinger" Organization: oops! User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] kerninst (was Optional /usr merge in Gentoo) References: In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.2c X-Archives-Salt: e0066862-17ad-4fc1-9784-489c3ff77ef5 X-Archives-Hash: cc4570b59adbae58eb9aa97309687341 Am 01.09.2013 19:30, schrieb Canek Peláez Valdés: > I am following vanilla-sources in all my machines, which is what > people like Greg Kroah-Hartman actually recommends [1][2]. Since they > are now never stabilized [3], this means that I need to update them > pretty regularly to keep them safe. > > This implies that I have to change the /usr/src/linux symbolic link, > configure the kernel using make oldconfig, compile it, install it, > install its modules, reemerge any package that provides kernel modules > (if any), regenerate its initramfs, regenerate the GRUB2 config file > OR adding a new entry in GRUB. > > None of this steps are particularly difficult, but any mistake in one > of them can result in an unbootable system. So I wrote a little script > that takes care of each of this steps automagically: > > https://github.com/canek-pelaez/kerninst > > So now everytime I need to use a new kernel version, I only do: > > # eselect kernel set > # kerninst > > Everything is done by the script. Canek, how to handle changing configs? AFAI understand I do: eselect kernel set x cd /usr/src/linux make menuconfig (SAVE .config) cp .config /etc/kerninst/kernel-config kerninst ... right? I am currently struggling with a kernel not showing /dev/kvm ... and toggling kvm_amd on/module ... etc Thanks, Stefan