From: Harald Hoyer Date: Thu, 2 Jul 2009 09:33:34 +0000 (+0200) Subject: specfile: require /sbin/switch_root and turn on switch_root generation for F12 X-Git-Tag: 0.3~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b6e76c0112f7a5679155ca7f4c949fe0330b281;p=thirdparty%2Fdracut.git specfile: require /sbin/switch_root and turn on switch_root generation for F12 --- diff --git a/dracut.spec b/dracut.spec index 5b287368e..a02075e40 100644 --- a/dracut.spec +++ b/dracut.spec @@ -1,7 +1,7 @@ %if 0%{?fedora} < 12 %define with_switch_root 1 %else -%define with_switch_root 0 +%define with_switch_root 1 %endif %if %{defined gittag} @@ -44,6 +44,7 @@ Requires: kbd %endif %if ! 0%{?with_switch_root} +Requires: /sbin/switch_root BuildArch: noarch %endif