The point of the existing code is to preserve /boot/vmlinux if a kernel is installed that cant possibly boot on the system. I suggest to check why the wrong kernel.arch.rpm is installed in the build chroot. Olaf On Mon, Sep 02, Dinar Valeev wrote:
While building pacakges within OBS, VM runs 64bit kernel all the time. Don't exit if arch doesn't match, Warning should be enough for user. --- rpm/post.sh | 1 - 1 file changed, 1 deletion(-)
diff --git a/rpm/post.sh b/rpm/post.sh index 1aa6190..f964519 100644 --- a/rpm/post.sh +++ b/rpm/post.sh @@ -8,7 +8,6 @@ touch /boot/do_purge_kernels wrong_boardtype() { echo "This kernel-@FLAVOR@.@RPM_TARGET_CPU@.rpm is for $1, it will not boot on this system." echo "The /boot/vmlinux symlink will not be created or updated." - exit 0 } if [ -f /proc/cpuinfo ]; then case "@FLAVOR@-@RPM_TARGET_CPU@" in -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org