diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-04-23 00:23:36 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-04-23 00:31:02 -0400 |
| commit | 477bfced7fdaa525f9cc7f13afdacb2a48f07379 (patch) | |
| tree | fc1e657add7456e7c791d7729c08e37feae4567e /scripts/rsync.sh | |
| parent | 42f57801fc0a0842aedbb8d645641710f4877c87 (diff) | |
| download | min-master.tar.gz min-master.tar.xz | |
Bump to 4.16.3 in /boot/syslinux.cfg
Add `ssh`, `nobody`, and `nogroup`, in `/etc/passwd` and `/etc/group`
Updated the init script to use `mdev`
Added a service definition for a getty on tty0
Added a service definition for sshd
Added busybox udhcpc `default.script` I *still need to check the
license* ( Copied from my Gentoo installation, and works )
Updated readme.md to reflect the fact that we pull in the commands from
`pfx` and you'll need to add `/lib/ld-musl-x86_64.so.1` or change the
PATH in `./inc`
Added rsync, ncdu xz and grub. Removed tar-pfx.sh Replaced with
cpio-pfx.sh
added `conf.sh` which will be taking care of basic system configuration
for now
Change configuration directory for libressl
Enable wide chars in `ncurses`
Use `/etc` for SSH configuration files
Remove make clean from tree.sh and xz.sh
Added relevant files to sources.lst
Diffstat (limited to 'scripts/rsync.sh')
| -rw-r--r-- | scripts/rsync.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/rsync.sh b/scripts/rsync.sh new file mode 100644 index 0000000..6944e75 --- /dev/null +++ b/scripts/rsync.sh @@ -0,0 +1,21 @@ +#!/bin/sh +. ./.vars +VERSION=3.1.3 +APP_NAME="rsync" +BUILD_DIR="${build_dir}/$APP_NAME-$VERSION" +if ! [ -d "$BUILD_DIR" ] ; then + cd "$build_dir" + tar xfzv ${dist_dir}/$APP_NAME-$VERSION.tar.gz +fi +cd "$BUILD_DIR" +export CC=$BUILD_TGT-gcc +export CFLAGS="-I$prefix/usr/include -static" +export CPPFLAGS="$CFLAGS" +export DESTDIR=$prefix +export LDFLAGS="-L$prefix/usr/lib/ -static" +./configure \ + --host=$BUILD_TGT \ + --prefix=/usr \ + --with-sysroot=$prefix +make -j$(nproc) +make install |
