aboutsummaryrefslogtreecommitdiffstats
path: root/releasebuild.sh
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-12 00:49:11 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-19 14:29:34 +0100
commit5ee022f0e67efcd128cc210618ad9a7cb4c78a39 (patch)
treedd28e8dbe0dafce496aae8ed95235da9c94f514d /releasebuild.sh
parentedea607b2a0b6b038c31a5cb9474e963d965467b (diff)
downloadvendor_replicant-release-scripts-5ee022f0e67efcd128cc210618ad9a7cb4c78a39.tar.gz
vendor_replicant-release-scripts-5ee022f0e67efcd128cc210618ad9a7cb4c78a39.tar.bz2
vendor_replicant-release-scripts-5ee022f0e67efcd128cc210618ad9a7cb4c78a39.zip
Add Replicant 6.0 0004 rc1 support
This accomodates the following changes since last release: - The images paths changed to something like replicant-6.0-0004-rc1.zip - There is now a wrapper to build images in vendor/replicant/build.sh - Wolfgang's key has been replaced by my key This change doesn't take that into account but it should still be sufficent for adding the replicant-6.0-0004 tag to the various git repositories. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'releasebuild.sh')
-rwxr-xr-xreleasebuild.sh37
1 files changed, 3 insertions, 34 deletions
diff --git a/releasebuild.sh b/releasebuild.sh
index 27204d8..2228c5c 100755
--- a/releasebuild.sh
+++ b/releasebuild.sh
@@ -26,46 +26,16 @@ REPLICANT_DIR=$1
ARGS_COUNT=1
parallel_tasks=$(echo "$(grep 'processor' /proc/cpuinfo | wc -l ) + 1" | bc)
-sign_build () {
- device=$1
-
- dir=$( pwd )
- cd "$REPLICANT_DIR"
-
- . build/envsetup.sh
- lunch "replicant_$device-userdebug"
-
- ./vendor/replicant/sign-build $device
-
- cd "$dir"
-}
-
-build_bacon () {
- device=$1
-
+build_all () {
dir=$( pwd )
cd "$REPLICANT_DIR"
- . build/envsetup.sh
- lunch "replicant_$device-userdebug"
-
- make -j$parallel_tasks bacon
-
- cd "$dir"
-}
-
-sign_all () {
for device in $RELEASE_DEVICES
do
- sign_build $device
+ vendor/replicant/build.sh $device
done
-}
-build_all () {
- for device in $RELEASE_DEVICES
- do
- build_bacon $device
- done
+ cd "$dir"
}
prepare () {
@@ -91,4 +61,3 @@ fi
prepare
build_all
-sign_all