diff --git a/pmb/chroot/init.py b/pmb/chroot/init.py index 16337eff..b6b4e49d 100644 --- a/pmb/chroot/init.py +++ b/pmb/chroot/init.py @@ -168,7 +168,9 @@ def init(chroot: Chroot, usr_merge: UsrMerge = UsrMerge.AUTO) -> None: # Building chroots: create "pmos" user, add symlinks to /home/pmos if not chroot.type == ChrootType.ROOTFS: - pmb.chroot.root(["adduser", "-D", "pmos", "-u", pmb.config.chroot_uid_user], chroot) + pmb.chroot.root( + ["adduser", "-s", "/bin/sh", "-D", "pmos", "-u", pmb.config.chroot_uid_user], chroot + ) # Create the links (with subfolders if necessary) for target, link_name in pmb.config.chroot_home_symlinks.items():