e9b385a6
by Jack Rosenthal at 2023-10-23T12:13:10+00:00
alpm: Don't chroot() to "/"
chroot() requires CAP_SYS_CHROOT. If the caller has put us in the
right root directory already, don't call chroot(). This allows
running pacman in a containerized environment without CAP_SYS_CHROOT.