summaryrefslogtreecommitdiff
path: root/mipsrelease
diff options
context:
space:
mode:
Diffstat (limited to 'mipsrelease')
-rwxr-xr-xmipsrelease17
1 files changed, 17 insertions, 0 deletions
diff --git a/mipsrelease b/mipsrelease
new file mode 100755
index 0000000..82cd51f
--- /dev/null
+++ b/mipsrelease
@@ -0,0 +1,17 @@
+#!/bin/bash
+# Temporary script for uploading mips64el packages to the server
+
+source /etc/makepkg.conf
+source /etc/libretools.conf
+
+for pkg in $@; do
+ scp $pkg ${PARABOLAHOST}:mips64el/stage3/
+done
+
+scp ${PARABOLAHOST}:mips64el/stage3/stage3.db.tar.gz ${SRCDEST}/ && \
+repo-add ${SRCDEST}/stage3.db.tar.gz $@ && \
+scp ${SRCDEST}/stage3.db.tar.gz ${PARABOLAHOST}:mips64el/stage3/
+
+#ssh parabola bash -c "cd /home/parabolavnx/mips64el/stage3/ ; repo-add stage3.db.tar.gz $@"
+
+exit $?