Skip to content

Commit

Permalink
chore(vbox): Remove copr enablement/disablement
Browse files Browse the repository at this point in the history
  • Loading branch information
EyeCantCU authored Dec 27, 2023
1 parent 30be68a commit d0462b3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build-kmod-VirtualBox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

set -oeux pipefail

cp /tmp/ublue-os-akmods-addons/rpmbuild/SOURCES/_copr_ublue-os-akmods.repo /etc/yum.repos.d/

ARCH="$(rpm -E '%_arch')"
KERNEL="$(rpm -q "${KERNEL_NAME}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
RELEASE="$(rpm -E '%fedora')"
Expand All @@ -15,5 +13,3 @@ rpm-ostree install \
akmods --force --kernels "${KERNEL}" --kmod VirtualBox
modinfo /usr/lib/modules/${KERNEL}/extra/VirtualBox/{vboxdrv,vboxnetadp,vboxnetflt}.ko.xz > /dev/null \
|| (find /var/cache/akmods/VirtualBox/ -name \*.log -print -exec cat {} \; && exit 1)

rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo

0 comments on commit d0462b3

Please sign in to comment.