On Thu, Oct 25, 2018 at 12:51 PM Tim Coote <tim+fedoraproject.org@coote.org> wrote:

Hullo

given the challenges of working out how `(rpm-)ostree` works for overlaying packages on ‘real hardware', I thought I’d try to build a vagrant box for x86 version of fedora. I can see that there are issues with getting VBoxGuestAdditions installed as they don’t use a package manager, but just try to create symbolic links into `/usr/bin`. I’m assuming that I’ll be able to work around that with `ostree admin unlock —hotfix`.

However, there seem to be some inconsistencies in the packages in the ostree.

$ rpm -qa |grep kernel kernel-devel-4.18.16-300.fc29.x86_64 kernel-tools-libs-4.18.10-300.fc29.x86_64 kernel-modules-4.18.12-300.fc29.x86_64 kernel-tools-4.18.10-300.fc29.x86_64 kernel-headers-4.18.16-300.fc29.x86_64 kernel-4.18.12-300.fc29.x86_64 kernel-core-4.18.12-300.fc29.x86_64

Note that kernel{,-core,-modules} are at version 4.18.12, whereas kernel-{devel,headers} are at 4.18.16

Is this expected? Is there a workaround, or am I stumped on getting VBGuestAdditions onto the vagrantbox?

It's certainly possible and it should make no difference.

Also you don't need to build the VBox third party bits in Fedora any more as all the kernel modules are in the Fedora kernel, you just need to do "rpm-ostree install virtualbox-guest-additions" and you'll have everything needed.