lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 7f0f5fa 04/18: Announce the installation of e


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 7f0f5fa 04/18: Announce the installation of each chroot
Date: Thu, 21 May 2020 19:43:10 -0400 (EDT)

branch: master
commit 7f0f5fa1c32f055ee76de38ab95ce32480227e29
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Announce the installation of each chroot
---
 install_centos.sh   | 2 ++
 install_centos_1.sh | 2 +-
 install_redhat.sh   | 4 ++--
 lmi_setup_11.sh     | 2 ++
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/install_centos.sh b/install_centos.sh
index 0ec2db5..f0ccb62 100755
--- a/install_centos.sh
+++ b/install_centos.sh
@@ -118,6 +118,8 @@ mkdir -p /srv/chroot/centos7lmi/var/cache/yum
 # 'rbind' seems necessary because centos uses subdirs
 mount --rbind /var/cache/centos_lmi /srv/chroot/centos7lmi/var/cache/yum
 
+echo Installed centos chroot.
+
 mkdir -p /var/cache/"${CODENAME}"
 du   -sb 
/srv/chroot/centos7lmi/srv/chroot/"${CHRTNAME}"/var/cache/apt/archives || echo 
"Okay."
 mkdir -p /srv/chroot/centos7lmi/srv/chroot/"${CHRTNAME}"/var/cache/apt/archives
diff --git a/install_centos_1.sh b/install_centos_1.sh
index 41460a7..30c7178 100755
--- a/install_centos_1.sh
+++ b/install_centos_1.sh
@@ -42,5 +42,5 @@ yum --assumeyes install debootstrap schroot
 mkdir -p /srv/chroot/"${CHRTNAME}"
 debootstrap "${CODENAME}" /srv/chroot/"${CHRTNAME}" 
http://deb.debian.org/debian/
 
-echo Installed debian "${CODENAME}".
+echo Installed debian "${CODENAME}" chroot.
 # END   ./lmi_setup_11.sh
diff --git a/install_redhat.sh b/install_redhat.sh
index ba6ad19..67295fa 100755
--- a/install_redhat.sh
+++ b/install_redhat.sh
@@ -104,8 +104,6 @@ mount --bind /var/cache/"${CODENAME}" 
/srv/chroot/"${CHRTNAME}"/var/cache/apt/ar
 mkdir -p /srv/chroot/"${CHRTNAME}"
 debootstrap "${CODENAME}" /srv/chroot/"${CHRTNAME}" 
http://deb.debian.org/debian/
 
-echo Installed debian "${CODENAME}".
-
 cat >/etc/schroot/chroot.d/"${CHRTNAME}".conf <<EOF
 [${CHRTNAME}]
 aliases=lmi
@@ -122,6 +120,8 @@ mkdir -p /srv/cache_for_lmi
 du   -sb /srv/chroot/"${CHRTNAME}"/srv/cache_for_lmi || echo "Okay."
 mkdir -p /srv/chroot/"${CHRTNAME}"/srv/cache_for_lmi
 mount --bind /srv/cache_for_lmi /srv/chroot/"${CHRTNAME}"/srv/cache_for_lmi
+
+echo Installed debian "${CODENAME}" chroot.
 # END   ./lmi_setup_11.sh
 # ./lmi_setup_11.sh
 
diff --git a/lmi_setup_11.sh b/lmi_setup_11.sh
index 8057267..e8883eb 100755
--- a/lmi_setup_11.sh
+++ b/lmi_setup_11.sh
@@ -73,3 +73,5 @@ mount --bind "${CACHEDIR}" 
/srv/chroot/"${CHRTNAME}"/var/cache/apt/archives
 findmnt "${CACHEDIR}"
 findmnt /proc
 findmnt /dev/pts
+
+echo Installed debian "${CODENAME}" chroot.



reply via email to

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