mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Revert "builder: ppc64, ppc64le: Force add virtio-scsi driver."
It turns out that adding the virtio-scsi driver does not help
to fix the dracut problem.
This partially reverts commit f766c84c39,
keeping the change to index.
This commit is contained in:
@@ -63,7 +63,7 @@ poweroff
|
||||
%post
|
||||
# Rerun dracut for the installed kernel (not the running kernel):
|
||||
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
||||
dracut --add-drivers virtio-scsi -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
|
||||
# Ensure the installation is up-to-date:
|
||||
dnf -y --best upgrade
|
||||
|
||||
@@ -61,10 +61,9 @@ poweroff
|
||||
%end
|
||||
|
||||
%post
|
||||
# Rerun dracut for the installed kernel (not the running kernel)
|
||||
# and add virtio-scsi (RHBZ#1396217).
|
||||
# Rerun dracut for the installed kernel (not the running kernel):
|
||||
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
||||
dracut --add-drivers virtio-scsi -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
|
||||
# Ensure the installation is up-to-date:
|
||||
dnf -y --best upgrade
|
||||
|
||||
@@ -74,13 +74,6 @@ poweroff
|
||||
%packages
|
||||
@core
|
||||
%end
|
||||
|
||||
%post
|
||||
# Rerun dracut for the installed kernel (not the running kernel)
|
||||
# and add virtio-scsi (RHBZ#1396217).
|
||||
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
||||
dracut --add-drivers virtio-scsi -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
%end
|
||||
EOF
|
||||
|
||||
# Yum configuration.
|
||||
|
||||
@@ -74,13 +74,6 @@ poweroff
|
||||
%packages
|
||||
@core
|
||||
%end
|
||||
|
||||
%post
|
||||
# Rerun dracut for the installed kernel (not the running kernel)
|
||||
# and add virtio-scsi (RHBZ#1396217).
|
||||
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
||||
dracut --add-drivers virtio-scsi -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
%end
|
||||
EOF
|
||||
|
||||
# Yum configuration.
|
||||
|
||||
Reference in New Issue
Block a user