[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.
- [lmi-commits] [lmi] master updated (71eeb9b -> 8bc4085), Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 932c27b 01/18: Consolidate chroot step #10, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 8d2c26b 03/18: Fold unborn chroot step #12 into step #20, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 90411ba 06/18: Use a variable to reduce literal repetition, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 8054eeb 09/18: Don't create chroot's own /var before running debootstrap, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 2b00752 10/18: Note some questions for later investigation, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 7f0f5fa 04/18: Announce the installation of each chroot,
Greg Chicares <=
- [lmi-commits] [lmi] master 5134131 02/18: Rearrange some independent script blocks, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master a779e6f 05/18: Give all group users access to chroot, on debian host, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master bfd3dae 07/18: Regularize debootstrap invocations, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 0d9cf29 08/18: Clarify documentation, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 455d59e 11/18: Rearrange some script blocks, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 4a7d356 12/18: Extract marked blocks into sub-scripts #11, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master 294b7bb 13/18: Let certain commands fail for the moment, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master d496c75 15/18: Move some more script blocks, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master dc2ccdb 14/18: Rearrange independent script blocks, Greg Chicares, 2020/05/21
- [lmi-commits] [lmi] master af65430 16/18: Remove a redundant block, Greg Chicares, 2020/05/21