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:
Richard W.M. Jones
2016-11-24 18:45:11 +00:00
parent f766c84c39
commit 06dc0e52eb
4 changed files with 3 additions and 18 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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.