aboutsummaryrefslogtreecommitdiffstats
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
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>
-rwxr-xr-xreleasebuild.sh37
-rwxr-xr-xreleasevars.sh24
2 files changed, 15 insertions, 46 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
diff --git a/releasevars.sh b/releasevars.sh
index 09950d7..2340f8e 100755
--- a/releasevars.sh
+++ b/releasevars.sh
@@ -17,7 +17,7 @@
#
VERSION="6.0"
-RELEASE="0003"
+RELEASE="0004-rc1"
# The files are in out/dist/${device}/
RELEASE_IMAGES="\
recovery-i9100.img \
@@ -30,16 +30,16 @@ RELEASE_IMAGES="\
recovery-i9305.img \
recovery-n5100.img \
recovery-n5110.img \
- replicant-6.0-i9100.zip \
- replicant-6.0-n7000.zip \
- replicant-6.0-maguro.zip \
- replicant-6.0-espressowifi.zip \
- replicant-6.0-espresso3g.zip \
- replicant-6.0-i9300.zip \
- replicant-6.0-n7100.zip \
- replicant-6.0-i9305.zip \
- replicant-6.0-n5100.zip \
- replicant-6.0-n5110.zip \
+ replicant-${VERSION}-${RELEASE}-i9100.zip \
+ replicant-${VERSION}-${RELEASE}-n7000.zip \
+ replicant-${VERSION}-${RELEASE}-maguro.zip \
+ replicant-${VERSION}-${RELEASE}-espressowifi.zip \
+ replicant-${VERSION}-${RELEASE}-espresso3g.zip \
+ replicant-${VERSION}-${RELEASE}-i9300.zip \
+ replicant-${VERSION}-${RELEASE}-n7100.zip \
+ replicant-${VERSION}-${RELEASE}-i9305.zip \
+ replicant-${VERSION}-${RELEASE}-n5100.zip \
+ replicant-${VERSION}-${RELEASE}-n5110.zip \
"
RELEASE_DEVICES="\
@@ -55,7 +55,7 @@ RELEASE_DEVICES="\
n5110 \
"
-RELEASE_KEY="5816A24C10757FC4"
+RELEASE_KEY="FB31DBA3AB8DB76A4157329F7651568F80374459"
REPO="repo"
COLOR=1