aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-11-21 21:07:35 +0100
committerWojtek Kosior <koszko@koszko.org>2022-11-21 21:07:35 +0100
commit3cf3d7852ce2639fc3d9f9de3a82384a60c9ac2c (patch)
tree0fa5112ead7c58974a31973bb9bf713027825bcd /Makefile
parentf0c60194afef6f5a54cd61f0b9dc3df1e11f45a7 (diff)
downloadkoszko-org-server-3cf3d7852ce2639fc3d9f9de3a82384a60c9ac2c.tar.gz
koszko-org-server-3cf3d7852ce2639fc3d9f9de3a82384a60c9ac2c.zip
avoid using `--map-user` and `--map-group` options to `unshare` since they are absent in older versions of util-linux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f2d057e..2b179a2 100644
--- a/Makefile
+++ b/Makefile
@@ -61,8 +61,7 @@ enter-container: pidfile
/run/current-system/profile/bin/bash --login
fake-client: fake-client-setup-mounts.sh hosts
- unshare --map-root-user --mount ./$< \
- "$${SHELL:-/bin/sh}" "$$(id -ru)" "$$(id -rg)"
+ unshare --map-root-user --mount ./$< "$${SHELL:-/bin/sh}"
install: container.scm sdists
cp guix-container.sh /etc/init.d/guix-container