[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master d77510f: Copy some cached files into a new ch
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master d77510f: Copy some cached files into a new chroot |
Date: |
Sat, 28 Sep 2019 18:02:47 -0400 (EDT) |
branch: master
commit d77510f44f721e4b8f2a41e7d321021c1406b758
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Copy some cached files into a new chroot
---
lmi_setup_30.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lmi_setup_30.sh b/lmi_setup_30.sh
index 9a6643e..896a9cc 100755
--- a/lmi_setup_30.sh
+++ b/lmi_setup_30.sh
@@ -38,9 +38,9 @@ assert_not_chrooted
# cp --dereference --preserve --recursive \
# /srv/chroot/some-prior-chroot/opt/lmi/blessed/ /srv/cache_for_lmi
# to update the host, and then:
-# cp --dereference --preserve --recursive \
-# /srv/cache_for_lmi/* /srv/chroot/${CHRTNAME}/cache_for_lmi/
-#
+cp --dereference --preserve --recursive \
+ /srv/cache_for_lmi/* /srv/chroot/${CHRTNAME}/cache_for_lmi/
+
# Also copy any desired msw software into the chroot now, e.g.:
# cp -a /srv/chroot/some-prior-chroot/opt/xyzzy
/srv/chroot/${CHRTNAME}/opt/xyzzy
# unless it requires running an "install" program, which must be postponed
@@ -48,7 +48,7 @@ assert_not_chrooted
# Configure ssh, iff this chroot needs write access to savannah.
# The easiest way is to copy existing credentials, e.g.:
-# cp -a ~/.ssh/ /srv/chroot/${CHRTNAME}/home/greg
+cp -a ~/.ssh/ /srv/chroot/${CHRTNAME}/home/greg
# Make sure the .ssh/config file contains:
# Protocol 2
# HashKnownHosts no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [lmi] master d77510f: Copy some cached files into a new chroot,
Greg Chicares <=