Skip to content

Gentoo Linux support

  • supported: systemd Gentoo installations
  • not supported: openRC Gentoo installations (see comments section why)

SUPPORTED OPTION: SYSTEMD BASED GENTOO LINUX
Tested on: Stage3 amd64 systemd desktop profile, gentoo-kernel-bin

  1. Install cvmfs
sudo emerge podman flatpak
sudo cp /etc/containers/policy.json{.example,}
wget -O cvmfs_install https://git.jinr.ru/nica/nicadist/-/raw/master/scripts/cvmfs_install
chmod +x cvmfs_install
sudo ./cvmfs_install && sudo systemctl enable --now cvmfs

after this you should see non-empty output of

ls /var/cvmfs/nica.jinr.ru/

if the output is empty and there are no network issues, then the cvmfs installation failed (the reasons are unknown to us why it happens sometimes).
Do reinstall by:

sudo ./cvmfs_install reset && sudo systemctl enable --now cvmfs
  1. copy the toolbox compiled by us, create c7-nica-dev container
sudo cp -rf /var/cvmfs/nica.jinr.ru/sw/os/linux/bin/toolbox /usr/bin/toolbox
toolbox create -c c7-nica-dev -i git.jinr.ru:5005/nica/nicadist/c7:alibuild-dev -y
  1. Enter the container, load the module you need
toolbox enter c7-nica-dev
module add mpdroot

Result:

gentoo

Edited by Slavomir Hnatic