]> git.wh0rd.org Git - home.git/commitdiff
custom-chroot: add newer Gentoo paths
authorMike Frysinger <vapier@gentoo.org>
Mon, 6 Jan 2020 12:52:29 +0000 (07:52 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 6 Jan 2020 12:52:29 +0000 (07:52 -0500)
.bin/custom-chroot

index 109cd45e3f0de1aec73e4810505a98e5b13b452a..08d76ada03bfa4aedf7429ab16893cb924858bdd 100755 (executable)
@@ -115,7 +115,12 @@ usage() {
 main() {
        bootstrap "$@"
 
-       local mounts=( proc sys tmp dev dev/shm run usr/portage usr/portage/distfiles usr/local/src )
+       local mounts=(
+               proc sys tmp dev dev/shm run
+               usr/portage usr/portage/distfiles
+               var/db/repos/gentoo var/cache/distfiles
+               usr/local/src
+       )
 
        local chroot=${0%/*}
        case ${chroot} in