summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/cmd/shell.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cmd/shell.sh b/lib/cmd/shell.sh
index 45835a3..7fe7509 100644
--- a/lib/cmd/shell.sh
+++ b/lib/cmd/shell.sh
@@ -31,8 +31,8 @@ cmd_shell_main()
root="${1}"
- # FIXME: This should be recorded in the chroot.
- profile_set 'proteanos'
+ . "${root}/etc/os-release"
+ profile_set "${ID}"
chroot_mount "${root}"
chroot "${root}" /bin/sh