From adba4ceb0fa39caf9ebc218e36035ca06c50b219 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Mon, 2 Aug 2021 16:58:33 +0200 Subject: [PATCH] remove rsync from the code and patch make install --- busybox/build | 6 +++--- make/build | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/busybox/build b/busybox/build index 31074e4..d8151be 100755 --- a/busybox/build +++ b/busybox/build @@ -9,6 +9,6 @@ make install DESTDIR="$1" rsync -a ./busybox/ "$1"/bin/ cd "_install" install linuxrc "$1"/linuxrc -rsync -a -v ./bin/ "$1"/bin/ -rsync -a -v ./sbin/ "$1"/sbin/ -rsync -a -v ./usr "$1"/usr/ +cp -npr ./bin/ "$1"/bin/ +cp -npr ./sbin/ "$1"/sbin/ +cp -npr ./usr "$1"/usr/ diff --git a/make/build b/make/build index 520f721..cbc2b4d 100755 --- a/make/build +++ b/make/build @@ -5,4 +5,8 @@ cd make-4.3 export CFLAGS="$CFLAGS -static" ./configure --prefix=/usr make -make DESTDIR="$1" install + +gzip lib/make.1 lib/make.1.gz +cp make $1/usr/bin/make +cp doc/make.1.gz $1/usr/share/man/man1/ +cp -npr /lib/* $1/lib