initramfs_yapici

This commit is contained in:
milisman 2016-10-24 23:36:19 +03:00
parent 9993cb3f29
commit 5dd5ebdaf1
1 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,4 @@
cd /boot
ln -s kernel-4.4.27 kernel
dracut -N --force --xz --omit systemd /boot/initramfs 4.4.27-milis-lts
#!/bin/bash
yenimodul=`ls -Art /lib/modules/ | tail -n 1`
modulno=`basename $yenimodul`
dracut -N --force --xz --omit systemd /boot/initramfs $modulno