[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master d8e9f2d 2/7: Install EPEL before schroot: app
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master d8e9f2d 2/7: Install EPEL before schroot: apparently required for centos |
Date: |
Fri, 4 Oct 2019 19:20:59 -0400 (EDT) |
branch: master
commit d8e9f2dddaf6a8eab59b35f236d6633af4d8c075
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Install EPEL before schroot: apparently required for centos
---
install_centos.sh | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/install_centos.sh b/install_centos.sh
index ff14b0f..6ac62f4 100755
--- a/install_centos.sh
+++ b/install_centos.sh
@@ -79,14 +79,16 @@ yum --assumeyes install devtoolset-8 rh-git218
# scl enable devtoolset-8 rh-git218 $SHELL
# and then they'll be available in that environment.
+# Install "EPEL". See:
+# https://lists.nongnu.org/archive/html/lmi/2019-09/msg00037.html
+yum --assumeyes install ca-certificates curl nss-pem
+rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+
yum --assumeyes install schroot
# To show available debootstrap scripts:
# ls /usr/share/debootstrap/scripts
-# Install a debian chroot inside this centos chroot. See:
-# https://lists.nongnu.org/archive/html/lmi/2019-09/msg00037.html
-yum --assumeyes install ca-certificates curl nss-pem
-rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+# Install a debian chroot inside this centos chroot.
yum --assumeyes install debootstrap.noarch
mkdir -p /srv/chroot/"${CHRTNAME}"
debootstrap "${CODENAME}" /srv/chroot/"${CHRTNAME}"
http://deb.debian.org/debian/
- [lmi-commits] [lmi] master updated (3f01703 -> b80b1ae), Greg Chicares, 2019/10/04
- [lmi-commits] [lmi] master d8e9f2d 2/7: Install EPEL before schroot: apparently required for centos,
Greg Chicares <=
- [lmi-commits] [lmi] master 564f492 5/7: Assume presence of a local file, Greg Chicares, 2019/10/04
- [lmi-commits] [lmi] master 0b88770 3/7: Allow a script to fail, at least for now, Greg Chicares, 2019/10/04
- [lmi-commits] [lmi] master b80b1ae 7/7: Experiment with bind mounts, Greg Chicares, 2019/10/04
- [lmi-commits] [lmi] master 1777663 1/7: Choose a more distinctive chroot name, Greg Chicares, 2019/10/04
- [lmi-commits] [lmi] master cec4ea5 6/7: Test an alternative to a failing mount command, Greg Chicares, 2019/10/04
- [lmi-commits] [lmi] master 32c2f24 4/7: Temporarily allow a command to fail, Greg Chicares, 2019/10/04