diff --git a/kernel.spec b/kernel.spec index dad954b..aa662c2 100644 --- a/kernel.spec +++ b/kernel.spec @@ -11,7 +11,7 @@ %define sublevel 25 # Release number. Increase this before a rebuild. -%define rpmrel 5 +%define rpmrel 6 %define fullrpmrel %{rpmrel} %define rpmtag %{disttag} @@ -1064,6 +1064,12 @@ cp .config .config.default cat %{build_dir}/.config.append >> .config %kmake oldconfig ARCH=um diff -u .config.default .config || : +# Looks like 'make oldconfig' removes '# CONFIG_64BIT is not set' for some +# reason. For now, let us restore it. +%ifarch %{ix86} +sed -i 's/CONFIG_64BIT=y//' .config +echo '# CONFIG_64BIT is not set' >> .config +%endif %kmake ARCH=um linux install -Dm0755 linux %{temp_root}%{_bindir}/linux-uml-%{kver_full} #rm -fv linux