summaryrefslogtreecommitdiffstats
path: root/test/units/TEST-74-AUX-UTILS.detect-virt.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add $SYSTEMD_IN_CHROOT to override chroot detectionDaan De Meyer2024-08-161-0/+7
When running unprivileged, checking /proc/1/root doesn't work because it requires privileges. Instead, let's add an environment variable so the process that chroot's can tell (systemd) subprocesses whether they're running in a chroot or not.