From: "Stefan G. Weichinger" <lists@xunil.at>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] dracut vs. genkernel
Date: Wed, 12 Jun 2013 19:50:33 +0200 [thread overview]
Message-ID: <51B8B4E9.5070503@xunil.at> (raw)
In-Reply-To: <CADPrc82xZHwCNn4mk=xVsEz1PFoBqouDrLsJmCsupyMdKyFwTQ@mail.gmail.com>
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
next prev parent reply other threads:[~2013-06-12 17:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-12 11:06 [gentoo-user] dracut vs. genkernel Stefan G. Weichinger
2013-06-12 11:08 ` Stefan G. Weichinger
2013-06-12 15:53 ` Canek Peláez Valdés
2013-06-12 17:50 ` Stefan G. Weichinger [this message]
2013-06-12 18:24 ` Stefan G. Weichinger
2013-06-12 15:54 ` Michael Hampicke
2013-06-12 18:26 ` Stefan G. Weichinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51B8B4E9.5070503@xunil.at \
--to=lists@xunil.at \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox