pmbootstrap/pmb/chroot
Oliver Smith 5b33eb7520
Export HOME in pmb.chroot.root() and -.user()
Set HOME to /root for commands started with pmb.chroot.root() and to
/home/pmos for commands started with pmb.chroot.user().

POSIX requires this variable to be set, see:
<http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html>

And this prevents a crash in "adb", which takes and alternative code
path if HOME is not set, that does not work with musl (fixes #1638).
Thanks to @ryang2678 for figuring this out!
2018-10-25 07:26:06 +02:00
..
__init__.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
apk.py pmbootstrap: kill process if silent for 5 minutes (rewrite logging) 2018-07-14 01:13:28 +00:00
apk_static.py install apk keys and binfmt data with setup.py 2018-09-17 10:06:57 +00:00
binfmt.py pmb: qemu-user-static from aport, not from Debian 2018-08-10 15:11:21 +00:00
distccd.py pmb: adjust to distcc 3.3 and wrap it with sshd 2018-07-26 09:47:23 +00:00
init.py pmb: qemu-user-static from aport, not from Debian 2018-08-10 15:11:21 +00:00
initfs.py pmbootstrap: kill process if silent for 5 minutes (rewrite logging) 2018-07-14 01:13:28 +00:00
initfs_hooks.py initfs hook_ls: make clear what's not installed (#1409) 2018-04-11 22:26:48 +00:00
mount.py Recreate device nodes in chroot after shutdown (#1447) 2018-04-29 22:17:57 +00:00
other.py menuconfig: add gconfig/xconfig support (#1509) 2018-06-09 06:52:24 +00:00
root.py Export HOME in pmb.chroot.root() and -.user() 2018-10-25 07:26:06 +02:00
shutdown.py pmb: fix test suite not running through twice 2018-07-15 20:52:41 +00:00
user.py Export HOME in pmb.chroot.root() and -.user() 2018-10-25 07:26:06 +02:00
zap.py pmbootstrap: kill process if silent for 5 minutes (rewrite logging) 2018-07-14 01:13:28 +00:00