pmbootstrap/pmb
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
..
aportgen pmb.aportgen: add Contributor/Maintainer to APKBUILD templates (!1852) 2020-01-07 01:46:38 +01:00
build Change copyright to 2020 2020-01-06 02:43:00 +01:00
chroot Change copyright to 2020 2020-01-06 02:43:00 +01:00
config chroot: keep ownership of cache_git (!1845) 2020-01-12 00:39:47 +01:00
data pmb/data/keys/pmos-5a03a13a.rsa.pub: remove (!1835) 2019-11-21 23:52:25 +01:00
export Change copyright to 2020 2020-01-06 02:43:00 +01:00
flasher Change copyright to 2020 2020-01-06 02:43:00 +01:00
helpers Change copyright to 2020 2020-01-06 02:43:00 +01:00
install Change copyright to 2020 2020-01-06 02:43:00 +01:00
parse Change copyright to 2020 2020-01-06 02:43:00 +01:00
qemu Change copyright to 2020 2020-01-06 02:43:00 +01:00
__init__.py Change copyright to 2020 2020-01-06 02:43:00 +01:00