From 26d661002dc401efa521c6cdf2d0ee23a6acd9ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 9 Aug 2012 14:16:17 +0200 Subject: [PATCH] Updated to 023 --- dracut.spec | 19 ++++++++++++------- plymouth-libexec.patch | 4 +--- reboot-opts.patch | 13 ------------- 3 files changed, 13 insertions(+), 23 deletions(-) delete mode 100644 reboot-opts.patch diff --git a/dracut.spec b/dracut.spec index 939c426..6077a4e 100644 --- a/dracut.spec +++ b/dracut.spec @@ -1,16 +1,15 @@ Summary: Initramfs generator using udev Name: dracut -Version: 020 -Release: 4 +Version: 023 +Release: 1 License: GPL v2+ Group: Base Source0: ftp://www.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz -# Source0-md5: da9e5a083cd9081bb71cc7df2f0daedc +# Source0-md5: 7ae42fa8272363400ee6161c47d1beb5 Source1: pld.conf Patch0: no-rh.patch Patch1: bash-sh.patch Patch2: plymouth-libexec.patch -Patch3: reboot-opts.patch Patch4: os-release.patch Patch5: plymouth-logo.patch URL: https://dracut.wiki.kernel.org/ @@ -137,7 +136,6 @@ configuration. #%patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 %patch4 -p1 %patch5 -p1 @@ -181,7 +179,7 @@ rm -rf $RPM_BUILD_ROOT # compat symlink %attr(755,root,root) /sbin/dracut %attr(755,root,root) %{_bindir}/dracut -%attr(755,root,root) %{_bindir}/dracut-install +%attr(755,root,root) %{dracutlibdir}/dracut-install %attr(755,root,root) %{_bindir}/mkinitrd %attr(755,root,root) %{_bindir}/lsinitrd %dir %{dracutlibdir} @@ -215,6 +213,8 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{dracutlibdir}/modules.d/90btrfs/*.sh %dir %{dracutlibdir}/modules.d/90crypt %attr(755,root,root) %{dracutlibdir}/modules.d/90crypt/*.sh +%dir %{dracutlibdir}/modules.d/91crypt-loop +%attr(755,root,root) %{dracutlibdir}/modules.d/91crypt-loop/*.sh %dir %{dracutlibdir}/modules.d/90dm %{dracutlibdir}/modules.d/90dm/*.rules %attr(755,root,root) %{dracutlibdir}/modules.d/90dm/*.sh @@ -237,6 +237,8 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{dracutlibdir}/modules.d/90qemu/*.sh %dir %{dracutlibdir}/modules.d/91crypt-gpg %attr(755,root,root) %{dracutlibdir}/modules.d/91crypt-gpg/*.sh +%dir %{dracutlibdir}/modules.d/95cifs +%attr(755,root,root) %{dracutlibdir}/modules.d/95cifs/*.sh %dir %{dracutlibdir}/modules.d/95debug %attr(755,root,root) %{dracutlibdir}/modules.d/95debug/*.sh %dir %{dracutlibdir}/modules.d/95resume @@ -284,6 +286,7 @@ rm -rf $RPM_BUILD_ROOT %{dracutlibdir}/modules.d/98systemd/*.service %{dracutlibdir}/modules.d/98systemd/*.target %attr(755,root,root) %{dracutlibdir}/modules.d/98systemd/*.sh +%doc %{dracutlibdir}/modules.d/98systemd/*.8* %dir %{dracutlibdir}/modules.d/98usrmount %attr(755,root,root) %{dracutlibdir}/modules.d/98usrmount/*.sh %dir %{dracutlibdir}/modules.d/99base @@ -298,9 +301,11 @@ rm -rf $RPM_BUILD_ROOT %dir /var/lib/initramfs %{systemdunitdir}/*.service -%{systemdunitdir}/*.target %{systemdunitdir}/*/*.service %{_mandir}/man8/dracut.8* +%{_mandir}/man8/dracut-*.8* +%{_mandir}/man8/initrd-switch-root.service.8* +%{_mandir}/man8/udevadm-cleanup-db.service.8* %{_mandir}/man7/dracut.kernel.7* %{_mandir}/man7/dracut.cmdline.7* %{_mandir}/man5/dracut.conf.5* diff --git a/plymouth-libexec.patch b/plymouth-libexec.patch index dbdd133..4c2c0e6 100644 --- a/plymouth-libexec.patch +++ b/plymouth-libexec.patch @@ -1,14 +1,12 @@ --- dracut-017/modules.d/./50plymouth/module-setup.sh~ 2012-03-23 00:34:27.000000000 +0200 +++ dracut-017/modules.d/./50plymouth/module-setup.sh 2012-03-23 00:34:29.115606192 +0200 -@@ -35,13 +35,13 @@ +@@ -35,12 +35,12 @@ } install() { - if grep -q nash /usr/libexec/plymouth/plymouth-populate-initrd \ -- || ! grep -q PLYMOUTH_POPULATE_SOURCE_FUNCTIONS /usr/libexec/plymouth/plymouth-populate-initrd \ - || [ ! -x /usr/libexec/plymouth/plymouth-populate-initrd ]; then + if grep -q nash /usr/@lib@/plymouth/plymouth-populate-initrd \ -+ || ! grep -q PLYMOUTH_POPULATE_SOURCE_FUNCTIONS /usr/@lib@/plymouth/plymouth-populate-initrd \ + || [ ! -x /usr/@lib@/plymouth/plymouth-populate-initrd ]; then . "$moddir"/plymouth-populate-initrd.sh else diff --git a/reboot-opts.patch b/reboot-opts.patch deleted file mode 100644 index 7c99ddc..0000000 --- a/reboot-opts.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- dracut-018/modules.d/99shutdown/shutdown.sh~ 2012-04-05 13:54:38.000000000 +0200 -+++ dracut-018/modules.d/99shutdown/shutdown.sh 2012-04-16 14:04:49.481733793 +0200 -@@ -56,7 +56,7 @@ - _check_shutdown final - - getarg 'rd.break=shutdown' && emergency_shell --shutdown shutdown "Break before shutdown" --[ "$1" = "reboot" ] && reboot -f -d -n --no-wall --[ "$1" = "poweroff" ] && poweroff -f -d -n --no-wall --[ "$1" = "halt" ] && halt -f -d -n --no-wall -+[ "$1" = "reboot" ] && reboot -f -d -n -+[ "$1" = "poweroff" ] && poweroff -f -d -n -+[ "$1" = "halt" ] && halt -f -d -n - [ "$1" = "kexec" ] && kexec -e -- 2.43.0