>=sys-fs/udev-181 requires initramfs. Rules for dracut added.
This commit is contained in:
parent
9c2e59f13a
commit
0b0a3d2344
@ -59,7 +59,12 @@ make install
|
|||||||
make modules_install
|
make modules_install
|
||||||
|
|
||||||
REVISION=`cat /usr/src/linux/include/config/kernel.release`
|
REVISION=`cat /usr/src/linux/include/config/kernel.release`
|
||||||
sed -i "s~\/boot\/vmlinuz-[23][^ ]*~\/boot\/vmlinuz-$REVISION~g" /boot/grub/grub.conf
|
|
||||||
|
which dracut &>/dev/null && dracut --hostonly --force /boot/initramfs-$REVISION.img $REVISION
|
||||||
|
|
||||||
|
sed -i "s~\/boot\/vmlinuz-[0-9][^ ]*~\/boot\/vmlinuz-$REVISION~g;
|
||||||
|
s~\/boot\/initramfs-[0-9][^ ]*~\/boot\/initramfs-$REVISION~g" \
|
||||||
|
/boot/grub/grub.conf
|
||||||
|
|
||||||
mount -o remount,ro /boot
|
mount -o remount,ro /boot
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user