From 5ee022f0e67efcd128cc210618ad9a7cb4c78a39 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sun, 12 Jan 2020 00:49:11 +0100 Subject: 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 --- releasebuild.sh | 37 +++---------------------------------- 1 file changed, 3 insertions(+), 34 deletions(-) (limited to 'releasebuild.sh') 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 -- cgit v1.2.3