From 4d06c5f41952f25738e949b21efd829095f8f9cd Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sat, 21 Jun 2008 01:23:06 -0400 Subject: [PATCH] Replace the last rsync with cp, getting rid of the rsync dependency. Signed-off-by: Anders Kaseorg --- README.bin | 1 - README.src | 1 - configure.ac | 7 ------- ksplice-create.in | 2 +- 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/README.bin b/README.bin index 376a844..92a66b2 100644 --- a/README.bin +++ b/README.bin @@ -11,7 +11,6 @@ Binary installation instructions: Notable Runtime Dependencies: - gcc - perl - - rsync - patch For more information about Ksplice, please see . diff --git a/README.src b/README.src index d37444d..3524ffb 100644 --- a/README.src +++ b/README.src @@ -12,7 +12,6 @@ Installation instructions: Notable Runtime Dependencies: - gcc - perl - - rsync - patch Notable Build Dependencies: diff --git a/configure.ac b/configure.ac index f509c86..ba87929 100644 --- a/configure.ac +++ b/configure.ac @@ -73,15 +73,8 @@ fi AC_PROG_SED -AC_PATH_PROG(RSYNC, rsync) AC_PATH_PROG(PATCH, patch) AC_PATH_PROG(POD2MAN, pod2man) -if test "$RSYNC" = ""; then - echo - echo "Ksplice could not locate rsync on your system." - echo - exit 1 -fi if test "$PATCH" = ""; then echo echo "Ksplice could not locate patch on your system." diff --git a/ksplice-create.in b/ksplice-create.in index d44ce54..2b1854c 100755 --- a/ksplice-create.in +++ b/ksplice-create.in @@ -207,7 +207,7 @@ for my $module (@modules) { "ksplice_relocs", "_global"); runcd($tmpdir); - runval("rsync", "-a", "--delete", "--", "$datadir/kmodsrc/", "kmodsrc-$module/"); + runval("cp", "-a", "--", "$datadir/kmodsrc", "kmodsrc-$module"); runval("mv", "collect/$module.o.KSPLICE_primary", "kmodsrc-$module/collection.o.primary"); runval("mv", "collect/$module.o.KSPLICE_helper", "kmodsrc-$module/collection.o.helper"); runcd("kmodsrc-$module"); -- 2.11.4.GIT