ports: Don't update ports on every build
This makes using ports much less painful :)
This commit is contained in:
parent
3a5a22511a
commit
a668593e6b
|
@ -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')
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue