summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild32_gbs.sh12
-rwxr-xr-xinstall.sh16
2 files changed, 28 insertions, 0 deletions
diff --git a/build32_gbs.sh b/build32_gbs.sh
new file mode 100755
index 000000000..eee8200a3
--- /dev/null
+++ b/build32_gbs.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Set default cross compiler
+
+#rm ~/GBS-ROOT/local/repos/RedwoodEUROPEN/armv7l/RPMS/*
+
+#gbs build -A armv7l --ccache --include-all --keep-packs --incremental
+gbs build -A armv7l --ccache --include-all --keep-packs --incremental
+#gbs build -A aarch64 --include-all --keep-packs
+
+#cp ~/GBS-ROOT/local/repos/RedwoodEUROPEN/armv7l/RPMS/* /home/daeinki/project/share/rpm/
+
+#--include-all : build current package with local changes
diff --git a/install.sh b/install.sh
new file mode 100755
index 000000000..dc05c8874
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,16 @@
+cp ~/GBS-ROOT-UNIFIED-ODROID/local/BUILD-ROOTS/scratch.armv7l.0/home/abuild/rpmbuild/RPMS/armv7l/libarmcl-v20.05*.rpm .
+cp ~/GBS-ROOT-UNIFIED-ODROID/local/BUILD-ROOTS/scratch.armv7l.0/home/abuild/rpmbuild/RPMS/armv7l/libarmcl-devel-v20.05*.rpm .
+cp ~/GBS-ROOT-UNIFIED-ODROID/local/BUILD-ROOTS/scratch.armv7l.0/home/abuild/rpmbuild/RPMS/armv7l/libarmcl-tools-v20.05*.rpm .
+
+sdb root on
+sdb shell mount -o remount,rw /
+
+sdb push libarmcl-v20.05*.rpm /tmp
+sdb push libarmcl-devel-v20.05*.rpm /tmp
+sdb push libarmcl-tools-v20.05*.rpm /tmp
+
+sdb shell rpm -Uvh --force /tmp/libarmcl-v20.05*.rpm
+sdb shell rpm -Uvh --force /tmp/libarmcl-devel-v20.05*.rpm
+sdb shell rpm -Uvh --force /tmp/libarmcl-tools-v20.05*.rpm
+
+sdb shell sync