From d7d70f51b713dee5b01343f1a85679d7acac39ed Mon Sep 17 00:00:00 2001 From: Inki Dae Date: Fri, 29 May 2020 09:37:11 +0900 Subject: add build script Change-Id: I433dc6a2909f92d5db6fc31524ed373e36058761 Signed-off-by: Inki Dae --- build32_gbs.sh | 12 ++++++++++++ install.sh | 16 ++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100755 build32_gbs.sh create mode 100755 install.sh 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 -- cgit v1.2.3