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