Open sodface opened 1 year ago
https://github.com/alpinelinux/alpine-chroot-install/blob/6d08f12a8a70dd9b9dc7d997c88aa7789cc03c42/alpine-chroot-install#L204
I ran into this issue with an Alpine chroot script I'm working on. This seems to be working for me, including with qemu-user:
chroot . /usr/bin/env -i su -l "$user" -c "/bin/sh --login"
Not using the rest (/env.sh etc.) and didn't test it with this script so this may or may not be helpful!
Might help with https://github.com/alpinelinux/alpine-chroot-install/issues/38
https://github.com/alpinelinux/alpine-chroot-install/blob/6d08f12a8a70dd9b9dc7d997c88aa7789cc03c42/alpine-chroot-install#L204
I ran into this issue with an Alpine chroot script I'm working on. This seems to be working for me, including with qemu-user:
Not using the rest (/env.sh etc.) and didn't test it with this script so this may or may not be helpful!
Might help with https://github.com/alpinelinux/alpine-chroot-install/issues/38