summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-08-12 13:13:18 +0200
committerHarald Hoyer <harald@redhat.com>2013-08-12 13:13:18 +0200
commitec64c91ce1db407933595f4299f6c4f01adcce0f (patch)
tree03f7332e868e6cd984af6bb6aa140ea79a5f3e76
parent5393c4a6838e89907aaecab45ca3dbced8389bfc (diff)
downloaddracut-ec64c91ce1db407933595f4299f6c4f01adcce0f.tar.gz
dracut-ec64c91ce1db407933595f4299f6c4f01adcce0f.tar.xz
dracut-ec64c91ce1db407933595f4299f6c4f01adcce0f.zip
dracut-031-29.git20130812
- added missing "then" in initqueue
-rw-r--r--0028-systemd-dracut-initqueue.sh-added-missing-then.patch22
-rw-r--r--dracut.spec6
2 files changed, 27 insertions, 1 deletions
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 <harald@redhat.com>
+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 <harald@redhat.com> 031-29.git20130812
+- added missing "then" in initqueue
+
* Mon Aug 12 2013 Harald Hoyer <harald@redhat.com> 031-28.git20130812
- fixed typo in hostonly device recognition