<commit_before>#!/bin/bash -eux


echo "==> Installing VirtualBox guest additions"

dnf -y install kernel-headers-$(uname -r) kernel-devel-$(uname -r) elfutils-libelf-devel gcc make perl

VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
mount -o loop /home/vagrant/VBoxGuestAdditions_${VBOX_VERSION}.iso /mnt
sh /mnt/VBoxLinuxAdditions.run --nox11
umount /mnt
rm -rf /home/vagrant/VBoxGuestAdditions_${VBOX_VERSION}.iso
rm -f /home/vagrant/.vbox_version

echo "==> Removing packages needed for building guest tools"
dnf -y remove gcc cpp kernel-devel kernel-headers perl<commit_msg>Install latest available kernel-devel pkgs<commit_after>#!/bin/bash -eux


echo "==> Installing VirtualBox guest additions"

dnf -y install kernel-headers kernel-devel elfutils-libelf-devel gcc make perl

VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
mount -o loop /home/vagrant/VBoxGuestAdditions_${VBOX_VERSION}.iso /mnt
sh /mnt/VBoxLinuxAdditions.run --nox11
umount /mnt
rm -rf /home/vagrant/VBoxGuestAdditions_${VBOX_VERSION}.iso
rm -f /home/vagrant/.vbox_version

echo "==> Removing packages needed for building guest tools"
dnf -y remove gcc cpp kernel-devel kernel-headers perl
{'fraction_non_alphanumeric': 0.11568123393316196, 'fraction_numerical': 0.003427592116538132, 'mean_word_length': 4.898989898989899, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1154728', 'n_tokens_mistral': 440, 'n_tokens_neox': 409, 'n_words': 105}