lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master b08b805 5/5: Improve documentation


From: Greg Chicares
Subject: [lmi-commits] [lmi] master b08b805 5/5: Improve documentation
Date: Wed, 19 Aug 2020 10:33:29 -0400 (EDT)

branch: master
commit b08b805b2b28fb44243f5700324f95ca50d6e5f3
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Improve documentation
    
    Explicitly stated which mountpoints are only used for an intermediate
    chroot.
---
 lmi_setup_00c.sh | 4 +++-
 lmi_setup_11.sh  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/lmi_setup_00c.sh b/lmi_setup_00c.sh
index b35e606..4965412 100755
--- a/lmi_setup_00c.sh
+++ b/lmi_setup_00c.sh
@@ -67,10 +67,12 @@ cat >/etc/schroot/lmi_profile/fstab <<EOF
 /proc                   /proc                   none    rw,bind    0       0
 /srv/cache_for_lmi      /srv/cache_for_lmi      none    rw,bind    0       0
 /var/cache/lmi_schroots /var/cache/apt/archives none    rw,bind    0       0
-# It is convenient to bind a redhat cache mountpoint as well:
+# If a debian-within-centos-within-debian intermediate chroot is used,
+# then it is convenient to bind a redhat cache mountpoint as well:
 /var/cache/lmi_schroots /var/cache/yum          none    rw,bind    0       0
 # ...and also a pass-through mount for an intermediate chroot:
 /var/cache/lmi_schroots /var/cache/lmi_schroots none    rw,bind    0       0
+# ...and setting up those extra mounts in simpler cases costs nothing.
 #
 # schroot creates a mountpoint if it does not already exist:
 # /tmp                  /nonexistent/mountpoint none    rw,bind    0       0
diff --git a/lmi_setup_11.sh b/lmi_setup_11.sh
index 87c1ba2..9031262 100755
--- a/lmi_setup_11.sh
+++ b/lmi_setup_11.sh
@@ -104,10 +104,12 @@ cat >/etc/schroot/lmi_profile/fstab <<EOF
 /proc                   /proc                   none    rw,bind    0       0
 /srv/cache_for_lmi      /srv/cache_for_lmi      none    rw,bind    0       0
 /var/cache/lmi_schroots /var/cache/apt/archives none    rw,bind    0       0
-# It is convenient to bind a redhat cache mountpoint as well:
+# If a debian-within-centos-within-debian intermediate chroot is used,
+# then it is convenient to bind a redhat cache mountpoint as well:
 /var/cache/lmi_schroots /var/cache/yum          none    rw,bind    0       0
 # ...and also a pass-through mount for an intermediate chroot:
 /var/cache/lmi_schroots /var/cache/lmi_schroots none    rw,bind    0       0
+# ...and setting up those extra mounts in simpler cases costs nothing.
 #
 # schroot creates a mountpoint if it does not already exist:
 # /tmp                  /nonexistent/mountpoint none    rw,bind    0       0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]