dracut-nohostonly and dracut-norescue got renamed for dracut >= 030

This commit is contained in:
Harald Hoyer 2013-07-30 14:47:16 +02:00 committed by Brian C. Lane
parent 99b9300602
commit 2402b6a85f
7 changed files with 11 additions and 7 deletions

View File

@ -111,7 +111,8 @@ passwd -d root > /dev/null
cat /dev/null > /dev/fstab
11. Don't delete initramfs files from /boot in %post
12. Have dracut-norescue, grub-efi, memtest86+ and syslinux in the package list
12. Have grub-efi, memtest86+ and syslinux in the package list
13. Omit dracut-config-rescue from the package list "-dracut-config-rescue"
One drawback to using virt-install is that it pulls the packages from
the repo each time you run it. To speed things up you either need a local

View File

@ -64,7 +64,7 @@ iputils
cloud-init
grub
dracut-norescue
-dracut-config-rescue
%end
# more ec2-ify

View File

@ -386,5 +386,5 @@ grub2-efi
grub2
shim
syslinux
dracut-norescue
-dracut-config-rescue
%end

View File

@ -34,6 +34,7 @@ Requires: util-linux
Requires: xz
Requires: yum
Requires: pykickstart
Requires: dracut >= 030
%if 0%{?fedora}
# Fedora specific deps

View File

@ -23,7 +23,8 @@ removefrom ${product.name}-logos /usr/share/plymouth/*
## We also need dracut-shutdown.service and dracut-initramfs-restore to reboot
removefrom dracut --allbut /usr/lib/dracut/modules.d/30convertfs/convertfs.sh \
/usr/lib/dracut/modules.d/99base/dracut-lib.sh \
/usr/lib/systemd/* /usr/lib/dracut/dracut-initramfs-restore
/usr/lib/systemd/* /usr/lib/dracut/modules.d/98systemd/*.service \
/usr/lib/dracut/dracut-initramfs-restore
## we don't run SELinux (not in enforcing, anyway)
removepkg checkpolicy selinux-policy libselinux-utils
## anaconda has its own repo files

View File

@ -45,7 +45,7 @@ installpkg kernel
installpkg plymouth
## extra dracut modules
installpkg anaconda-dracut dracut-network dracut-nohostonly dracut-norescue
installpkg anaconda-dracut dracut-network dracut-config-generic
## fedup-dracut handles upgrades
installpkg fedup-dracut fedup-dracut-plymouth

View File

@ -364,8 +364,9 @@ class KernelInfo(object):
Examine the vmlinuz-* versions and return a list of them
Ignore any with -rescue- in them, these are dracut rescue images.
The user shoud add dracut-norescue package to the kickstart to remove them,
but catch it here as well.
The user shoud add
-dracut-config-rescue
to the kickstart to remove them, but catch it here as well.
"""
files = os.listdir(self.boot_dir)
return [f[8:] for f in files if f.startswith("vmlinuz-") \