lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 66e27fc 2/2: Install rsync in chroot


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 66e27fc 2/2: Install rsync in chroot
Date: Mon, 20 Jan 2020 13:03:38 -0500 (EST)

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

    Install rsync in chroot
    
    Often, a change in proprietary sources affect many product files.
    Rather than write a complex command to 'cp' only the files that
    changed, it is much easier and safer to do this:
    
      rsync --dry-run --existing -av --checksum \
        /opt/lmi/data/*.policy /opt/lmi/proprietary/data 2>&1 |less -N
    
    and verify that the number of files copied matches the expectation
    before rerunning without '--dry-run'.
---
 lmi_setup_20.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lmi_setup_20.sh b/lmi_setup_20.sh
index 3ef06b0..8a45140 100755
--- a/lmi_setup_20.sh
+++ b/lmi_setup_20.sh
@@ -104,7 +104,7 @@ apt-get update
 apt-get --assume-yes install wget g++-mingw-w64 automake libtool make \
  pkg-config git cvs zsh bzip2 unzip sudo wine default-jre jing trang \
  g++-multilib libxml2-utils libxslt1-dev vim-gtk vim-doc shellcheck \
- bc libarchive-tools xsltproc \
+ bc libarchive-tools xsltproc rsync \
  >"${CHRTNAME}"-apt-get-log 2>&1
 
 # This command should produce little output:



reply via email to

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