commit b2192e1ab30a4e5f2ab9817104f929e81594e200
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Jan 22 01:21:01 2021 +0000
Fix VirtualBox-kmod for EL
VirtualBox-kmod.spec | 2 +-
update_vbox.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/VirtualBox-kmod.spec b/VirtualBox-kmod.spec
index 9e6f8c0..c7fbc7e 100644
--- a/VirtualBox-kmod.spec
+++ b/VirtualBox-kmod.spec
@@ -16,8 +16,8 @@
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
%if 0%{?fedora}
-%endif
%global buildforkernels akmod
+%endif
#akmods still generate debuginfo but have the wrong name:
#/var/cache/akmods/VirtualBox/VirtualBox-kmod-debuginfo-5.0.4-1.fc21.x86_64.rpm
#/var/cache/akmods/VirtualBox/kmod-VirtualBox-4.1.8-100.fc21.x86_64-5.0.4-1.fc21.x86_64.rpm
diff --git a/update_vbox.sh b/update_vbox.sh
index 5ac3f56..b3645f0 100755
--- a/update_vbox.sh
+++ b/update_vbox.sh
@@ -22,13 +22,13 @@ rfpkg srpm && copr-cli build sergiomb/vboxfor23
VirtualBox-kmod-$VERSION-$REL.fc
#cp VirtualBox-kmod.spec VirtualBox-kmod.spec.new
#git reset HEAD~1
#git rm kernel-4.10.0-0.rc5.lnkops.v2.patch
-rfpkg ci -c && git show
-echo Press enter to continue; read dummy;
#koji-rpmfusion watch-task
fi
if test $stage -le 1; then
echo STAGE 1
+rfpkg ci -c && git show
+echo Press enter to continue; read dummy;
BRANCH1=f$RAWHIDE
BRANCH2=fc$RAWHIDE
koji-rpmfusion tag-build $BRANCH1-free-override VirtualBox-$VERSION-$REL.$BRANCH2