added duf and nginx and some refactor

This commit is contained in:
wt
2026-02-28 00:55:00 +07:00
parent 5da3185a36
commit 6a0c6c50f3
28 changed files with 146 additions and 146 deletions
+3 -4
View File
@@ -14,9 +14,9 @@ sftp_server() {
fi
printf "$UGREEN** Building sftp-server\n$RESET"
[ -d $build/sftp_server ] && return 0
mkdir -p $build/sftp_server # &>> $fulllogfile
mkdir -p $build/sftp_server
cd $build/sftp_server
tar -xvf $root/downloads/openssh-9.9p1.tar.gz # &>> $fulllogfile
tar -xvf $root/downloads/openssh-9.9p1.tar.gz
check $? "Extract openssh"
cd openssh-9.9p1
./configure \
@@ -25,10 +25,9 @@ sftp_server() {
--without-openssl \
--with-zlib=$rootfspath/usr/include
check $? "Configure openssh"
make sftp-server $makeflags # &>> $fulllogfile
make sftp-server $makeflags
check $? "Build sftp-server"
cp -v sftp-server $rootfspath/usr/bin/
# $CROSS_COMPILE-strip $rootfspath/usr/bin/sftp-server
check $? "Install sftp-server to rootfs directory"
check $? "Build and install sftp-server to rootfs directory"
}