From a668593e6bf16c9e050cc405f02375b42b68d0c8 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Tue, 3 Dec 2024 20:15:29 +0200 Subject: [PATCH] ports: Don't update ports on every build This makes using ports much less painful :) --- ports/update.sh | 16 ---------------- script/build.sh | 2 -- 2 files changed, 18 deletions(-) delete mode 100755 ports/update.sh diff --git a/ports/update.sh b/ports/update.sh deleted file mode 100755 index b22494e9..00000000 --- a/ports/update.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -if [ -z $BANAN_PORT_DIR ]; then - echo "You must set the BANAN_PORT_DIR environment variable" >&2 - exit 1 -fi - -cd $(dirname $(realpath $0)) - -rm -f $BANAN_PORT_DIR/.installed - -while IFS= read -r port; do - pushd $(dirname "$port") >/dev/null - ./build.sh - popd >/dev/null -done < <(find $BANAN_PORT_DIR -name '.compile_hash') diff --git a/script/build.sh b/script/build.sh index fd41b72d..aa4b3bd8 100755 --- a/script/build.sh +++ b/script/build.sh @@ -49,8 +49,6 @@ create_image () { build_target all build_target install - $BANAN_ROOT_DIR/ports/update.sh - pushd $BANAN_SYSROOT >/dev/null run_fakeroot tar cf ${BANAN_SYSROOT_TAR} * popd >/dev/null