lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master d336f8c 02/14: Fix defect introduced 20200204


From: Greg Chicares
Subject: [lmi-commits] [lmi] master d336f8c 02/14: Fix defect introduced 20200204T2047Z: mistaken chroot level
Date: Tue, 5 May 2020 09:03:27 -0400 (EDT)

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

    Fix defect introduced 20200204T2047Z: mistaken chroot level
    
    Commit 4eca5fa1336e of 20200204T2047Z added a tested redhat change,
    which was correct, along with a speculative centos change that was
    incorrect. From the inside, a chroot's own /etc/ is just /etc/ ,
    not /srv/chroot/centos7lmi/etc/ (e.g.).
---
 install_centos.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install_centos.sh b/install_centos.sh
index 2414485..4748e5b 100755
--- a/install_centos.sh
+++ b/install_centos.sh
@@ -129,7 +129,7 @@ chsh -s /bin/zsh "${NORMAL_USER}"
 
 # Suppress a nuisance: rh-based distributions provide a default
 # zsh logout file that clears the screen.
-sed -e'/^[^#]/s/^/# SUPPRESSED # /' -i /srv/chroot/centos7lmi/etc/zlogout
+sed -e'/^[^#]/s/^/# SUPPRESSED # /' -i /etc/zlogout
 
 # Make a more modern 'git' available via 'scl'. This is not needed
 # if all real work is done in a debian chroot.



reply via email to

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