forked from roots/phyllomeos
		
	uncomment dracut config
it appears to be useless
This commit is contained in:
		| @@ -22,9 +22,15 @@ echo "vfio_virqfd" > /mnt/sysimage/etc/modules-load.d/vfio_virqfd.conf | ||||
|  | ||||
| echo "options kvm_amd nested=1" >> /etc/modprobe.d/kvm.conf # Add support for nested-virtualization | ||||
|  | ||||
| dracut --add-drivers " vfio vfio-pci vfio_iommu_type1 vfio_virqfd " --force # Instruct dracut to load the vfio drivers | ||||
| dracut --force # Regenerate initramfs | ||||
| # The following part seems useless | ||||
| # dracut --add-drivers " vfio vfio-pci vfio_iommu_type1 vfio_virqfd " --force # Instruct dracut to load the vfio drivers | ||||
| # dracut --force # Regenerate initramfs | ||||
| # Doesn't seem to work | ||||
| # dracut: Cannot find /usr/lib/dracut/dracut-init.sh. | ||||
| # dracut: Are you running from a git checkout? | ||||
| # dracut: Try passing -l as an argument to /mnt/sysimage/usr/bin/dracut | ||||
|  | ||||
| grub2-mkconfig -o /mnt/sysimage/boot/grub2/grub.cfg # Update grub. Does it fail ? /usr/sbin/grub2-probe: error: failed to get canonical path of `LiveOS_rootfs'. | ||||
| # The following part seems useless too. No need to regenerate grub | ||||
| # grub2-mkconfig -o /mnt/sysimage/boot/grub2/grub.cfg # Update grub. Does it fail ? /usr/sbin/grub2-probe: error: failed to get canonical path of `LiveOS_rootfs'. | ||||
|  | ||||
| %end # End of the %post section | ||||
| @@ -24,13 +24,15 @@ echo "vfio-mdev" > /mnt/sysimage/etc/modules-load.d/vfio-mdev.conf # Load specif | ||||
|  | ||||
| echo "options kvm_intel nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add support for nested-virtualization | ||||
|  | ||||
| dracut --add-drivers " vfio vfio-pci vfio_iommu_type1 vfio_virqfd vfio-mdev kvmgt " --force # Instruct dracut to load the vfio drivers | ||||
| dracut --force # Regenerate initramfs | ||||
| # The following part seems useless | ||||
| # dracut --add-drivers " vfio vfio-pci vfio_iommu_type1 vfio_virqfd vfio-mdev kvmgt " --force # Instruct dracut to load the vfio drivers | ||||
| # dracut --force # Regenerate initramfs | ||||
| # Doesn't seem to work | ||||
| # dracut: Cannot find /usr/lib/dracut/dracut-init.sh. | ||||
| # dracut: Are you running from a git checkout? | ||||
| # dracut: Try passing -l as an argument to /mnt/sysimage/usr/bin/dracut | ||||
|  | ||||
| grub2-mkconfig -o /mnt/sysimage/boot/grub2/grub.cfg # Update grub. Does it fail ? /usr/sbin/grub2-probe: error: failed to get canonical path of `LiveOS_rootfs'. | ||||
| # The following part seems useless too. No need to regenerate grub | ||||
| # grub2-mkconfig -o /mnt/sysimage/boot/grub2/grub.cfg # Update grub. Does it fail ? /usr/sbin/grub2-probe: error: failed to get canonical path of `LiveOS_rootfs'. | ||||
|  | ||||
| %end # End of the %post section | ||||
| %end # End of the %post sectionsud | ||||
		Reference in New Issue
	
	Block a user