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 111751381F3 for ; Wed, 12 Jun 2013 17:50:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E82BE09BA; Wed, 12 Jun 2013 17:50:39 +0000 (UTC) Received: from postler.lichtfels.com (postler.lichtfels.com [78.46.92.195]) by pigeon.gentoo.org (Postfix) with ESMTP id 040B1E0975 for ; Wed, 12 Jun 2013 17:50:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by postler.lichtfels.com (Postfix) with ESMTP id 104D814B68 for ; Wed, 12 Jun 2013 19:50:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1371059436; bh=aAj7AYG8hbHR06bdiRRBbKL1oOA9y1A0/AkYJG0bOAE=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=coG3IV9YzZXvnR0Mo3OmJG9JS6XVBurUg1Yq3ZciD8BKbM0IEXRoqOz0B1D6K82ta OGEvVUijxSHVZJdslRhIxBq7BUE6/d4zjTF0HSWdI8SZNPqjXci/3iMQctjOT7z7dv URAFJPciB8m0ysff3rC/iuLtxvyohLA6RWEVLeJI= 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 00608-10 for ; Wed, 12 Jun 2013 19:50:34 +0200 (CEST) Received: from [172.32.99.26] (mail.oops.co.at [213.129.238.225]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by postler.lichtfels.com (Postfix) with ESMTPSA id 55CFF12CEC for ; Wed, 12 Jun 2013 19:50:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1371059434; bh=aAj7AYG8hbHR06bdiRRBbKL1oOA9y1A0/AkYJG0bOAE=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=mv1TAJtwHQ7PtNvgU8Wn5MTwuLwfAZjgSBcHpTOqtENX8wZ05A/tJUkDHxQBdSuSv bbmVSVixd3Vh6R1XUx2wwIy5S6q58QU8ktyTQQyEr94JwI48YUIdRCdeLaVWiVJYce PLOzwLClUZuswKTmO0Wu/zEZvnCfj5TaoL0T4FYA= Message-ID: <51B8B4E9.5070503@xunil.at> Date: Wed, 12 Jun 2013 19:50:33 +0200 From: "Stefan G. Weichinger" Organization: oops! User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 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] dracut vs. genkernel References: <51B85652.1040702@xunil.at> <51B856BC.2000105@xunil.at> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.2c X-Archives-Salt: 2c2c7765-0537-4a64-873b-a9a6a7da6bed X-Archives-Hash: 46a75d7d79420544dae9fd026f731018 Am 12.06.2013 17:53, schrieb Canek Peláez Valdés: > I use this script to generate my initramfs: > > -------------------------------------------------------------------------------- > #!/bin/sh > > KVER=$(readlink /usr/src/linux | sed "s/^linux-//g") > > echo "Creating initrd for kernel version ${KVER}..." > > FIRMWARE="" > > for i in $(find /lib64/firmware -type f); do > FIRMWARE+=" ${i}" > done > > /usr/bin/dracut -f -H -I "${FIRMWARE}" /boot/initrd-${KVER} ${KVER} > -------------------------------------------------------------------------------- > > I use this command to generate my GRUB2 config: > > grub2-mkconfig -o /boot/grub2/grub.cfg > > Everything just works. However, I don't use LVM, and I don't use the > systemd-love overlay. Nice script, thanks! I will have to adapt it a bit to be able to use it with linux -> /usr/src/linux-git .... But for stuff like gentoo-sources it just works, yes! Stefan