From: Eduardo Habkost <ehabkost@xxxxxxxxxxx> Instead of passing just %{1}, use %{*} to get all the arguments that were passed to %kernel_variant_post. Signed-off-by: Eduardo Habkost <ehabkost@xxxxxxxxxxx> Signed-off-by: Mark McLoughlin <markmc@xxxxxxxxxx> --- kernel.spec | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel.spec b/kernel.spec index a82200d..617a27f 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1619,7 +1619,7 @@ if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\ [ -f /etc/sysconfig/kernel ]; then\ /bin/sed -i -e 's/^DEFAULTKERNEL=%{-s*}$/DEFAULTKERNEL=%{-r*}/' /etc/sysconfig/kernel || exit $?\ fi}\ -/sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --depmod --install %{?1} %{KVERREL}%{?-v*} || exit $?\ +/sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --depmod --install %{*} %{KVERREL}%{?-v*} || exit $?\ #if [ -x /sbin/weak-modules ]\ #then\ # /sbin/weak-modules --add-kernel %{KVERREL}%{?-v*} || exit $?\ -- 1.5.4.1 _______________________________________________ Fedora-kernel-list mailing list Fedora-kernel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-kernel-list