pmbootstrap/pmb/config
Oliver Smith cba37d5d79
chroot: keep ownership of cache_git (!1845)
Remove /home/pmos/git from pmb.config.chroot_home_symlinks, so
pmb.chroot.init.init() will not change the ownership of the
$WORK/cache_git dir.

The symlink was added two years ago in [1] as compatibility to previous
behavior, because the mountpoint of cache_git was changed from
/home/user/git to /mnt/pmbootstrap-git. Forcing the ownership of that
dir to be the pmos user inside the chroot made sense, because the only
cloned repository (aports_upstream) would also be owned by the pmos
user. With the upcoming change to have all cloned repos owned by the
host-system's user, this is just confusing.

The /home/pmos/git symlink does not seem to be used by anybody, it is
not mentioned in the pmbootstrap code and in the wiki.

[1] b4dd7a89 "Close #709: Improve user creation (#725)"
    https://github.com/postmarketOS/pmbootstrap/pull/725
2020-01-12 00:39:47 +01:00
..
__init__.py chroot: keep ownership of cache_git (!1845) 2020-01-12 00:39:47 +01:00
init.py pmbootstrap init: migrate work dir if necessary (!1845) 2020-01-12 00:39:47 +01:00
load.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
merge_with_args.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
pmaports.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
save.py Change copyright to 2020 2020-01-06 02:43:00 +01:00