[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master d2f4d6a 1/3: Call 'findmnt' iff it seems inte
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master d2f4d6a 1/3: Call 'findmnt' iff it seems interesting |
Date: |
Thu, 10 Oct 2019 19:40:10 -0400 (EDT) |
branch: master
commit d2f4d6a9d2cc4839b9829d69b86678e4f5fd8acb
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Call 'findmnt' iff it seems interesting
---
install_centos.sh | 4 ++++
install_redhat.sh | 1 -
lmi_setup_11.sh | 4 ++++
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/install_centos.sh b/install_centos.sh
index 74b0aea..16e3b55 100755
--- a/install_centos.sh
+++ b/install_centos.sh
@@ -81,6 +81,10 @@ usermod -aG sudo "${NORMAL_USER}" || echo "Oops."
mountpoint /dev/pts || mount -t devpts -o rw,nosuid,noexec,relatime,mode=600
devpts /dev/pts
mountpoint /proc || mount -t proc -o rw,nosuid,nodev,noexec,relatime proc
/proc
+findmnt /var/cache/yum
+findmnt /proc
+findmnt /dev/pts
+
yum --assumeyes install ncurses-term zsh
chsh -s /bin/zsh root
chsh -s /bin/zsh "${NORMAL_USER}"
diff --git a/install_redhat.sh b/install_redhat.sh
index 20ebdd4..a720a3a 100755
--- a/install_redhat.sh
+++ b/install_redhat.sh
@@ -35,7 +35,6 @@ rm /etc/schroot/chroot.d/"${CHRTNAME}".conf || echo "None?"
umount /srv
mount -t tmpfs -o size=10G tmpfs /srv
-findmnt /tmp
findmnt /srv
# Make a more modern 'git' available via 'scl'. This is not needed
diff --git a/lmi_setup_11.sh b/lmi_setup_11.sh
index 108f70d..95178f2 100755
--- a/lmi_setup_11.sh
+++ b/lmi_setup_11.sh
@@ -57,3 +57,7 @@ EOF
# not used because it's more complicated and has no benefit.
mkdir -p /var/cache/"${CODENAME}"
mount --bind /var/cache/"${CODENAME}"
/srv/chroot/"${CHRTNAME}"/var/cache/apt/archives
+
+findmnt /var/cache/"${CODENAME}"
+findmnt /proc
+findmnt /dev/pts