From ec64c91ce1db407933595f4299f6c4f01adcce0f Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 12 Aug 2013 13:13:18 +0200 Subject: [PATCH] dracut-031-29.git20130812 - added missing "then" in initqueue --- ...acut-initqueue.sh-added-missing-then.patch | 22 +++++++++++++++++++ dracut.spec | 6 ++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 0028-systemd-dracut-initqueue.sh-added-missing-then.patch diff --git a/0028-systemd-dracut-initqueue.sh-added-missing-then.patch b/0028-systemd-dracut-initqueue.sh-added-missing-then.patch new file mode 100644 index 0000000..3007079 --- /dev/null +++ b/0028-systemd-dracut-initqueue.sh-added-missing-then.patch @@ -0,0 +1,22 @@ +From e8b9702c0a7837c901addbdc964eccfc71e7a3df Mon Sep 17 00:00:00 2001 +From: Harald Hoyer +Date: Mon, 12 Aug 2013 13:08:17 +0200 +Subject: [PATCH] systemd/dracut-initqueue.sh: added missing "then" + +--- + modules.d/98systemd/dracut-initqueue.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules.d/98systemd/dracut-initqueue.sh b/modules.d/98systemd/dracut-initqueue.sh +index 893ebc4..d7ebf2b 100755 +--- a/modules.d/98systemd/dracut-initqueue.sh ++++ b/modules.d/98systemd/dracut-initqueue.sh +@@ -62,7 +62,7 @@ while :; do + fi + + main_loop=$(($main_loop+1)) +- if [ $main_loop -gt $RDRETRY ]; ++ if [ $main_loop -gt $RDRETRY ]; then + if ! [ -d /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then + action_on_fail "Could not boot." && break + fi diff --git a/dracut.spec b/dracut.spec index 1b97501..07a895f 100644 --- a/dracut.spec +++ b/dracut.spec @@ -10,7 +10,7 @@ Name: dracut Version: 031 -Release: 28.git20130812%{?dist} +Release: 29.git20130812%{?dist} Summary: Initramfs generator using udev %if 0%{?fedora} || 0%{?rhel} @@ -56,6 +56,7 @@ Patch24: 0024-dracut-logger.sh-saveguard-logger-with.patch Patch25: 0025-dracut.sh-use-local-lsinitrd.sh-for-l.patch Patch26: 0026-dracut.sh-fixed-typo.patch Patch27: 0027-base-don-t-install-switch_root-if-systemd-is-used.patch +Patch28: 0028-systemd-dracut-initqueue.sh-added-missing-then.patch BuildRequires: bash git @@ -471,6 +472,9 @@ rm -rf -- $RPM_BUILD_ROOT %endif %changelog +* Mon Aug 12 2013 Harald Hoyer 031-29.git20130812 +- added missing "then" in initqueue + * Mon Aug 12 2013 Harald Hoyer 031-28.git20130812 - fixed typo in hostonly device recognition