doak
c1c94e5fec
Do not leave certificates creation in undefined state
...
Create either all or none keys and certificates.
Signed-off-by: doak <doak+dev@posteo.net>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2019-03-06 00:39:17 +01:00
doak
1d677d9f9f
Make creation of certificates more robust
...
This fixes several issues:
* Mostly all fields have to be set (at least it seems like this)
to create certificates using 'make_key' successfully.
* Handle default values.
* Avoid unwanted whitespaces in 'SUBJECT' due of linebreak.
Signed-off-by: doak <doak+dev@posteo.net>
[GNUtoo@cyberdimension.org: added linebreak in commit message]
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2019-03-06 00:35:20 +01:00
doak
d6448fbb8a
Formatting: Split all arguments into seperate lines
...
Signed-off-by: doak <doak+dev@posteo.net>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2019-03-06 00:32:11 +01:00
doak
d4eea619b9
Add output messages
...
Signed-off-by: doak <doak+dev@posteo.net>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2019-03-06 00:31:24 +01:00
Wolfgang Wiedmeyer
665eb3985c
sign-build: detect n7000
...
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-06-12 20:25:57 +02:00
Wolfgang Wiedmeyer
652c57c520
sign-build: save images in subdirectory with the name of the device
...
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-04-30 19:42:51 +02:00
Simon Josefsson
1ad1f1a341
Work around that 'make-key' has rc 1 on success.
...
The 'make_key' script returns rc 1 on both failure and success, so work
around by ignoring exit code from that script.
2017-03-04 10:26:45 +01:00
Wolfgang Wiedmeyer
d93a358a4a
sign-build: consider device-specific releasetools code for Galaxy S2
...
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-02-15 01:56:01 +01:00
Wolfgang Wiedmeyer
62d7769c27
sign-build: Galaxy S2 needs special treatment
...
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-01-29 19:19:05 +01:00
Wolfgang Wiedmeyer
c57d61c790
sign-build: support signing multiple devices
...
Also make sure that the scripts find the signapk.jar.
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-01-26 22:07:23 +01:00
Wolfgang Wiedmeyer
0d8994fdd7
sign-build: Support $OUT_DIR_COMMON_BASE
...
$OUT_DIR_COMMON_BASE allows to set a different output directory in the
Android build environment.
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-01-02 21:22:19 +01:00
Wolfgang Wiedmeyer
7bef0e267d
Properly integrate F-Droid as prebuilt and presigned app
...
also enable the Privileged Extension
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-12-15 23:52:09 +01:00
Wolfgang Wiedmeyer
69f77a4cfd
sign-build: remove hack to force rebuild of recovery
...
sign_target_files_apks is now fixed and properly recreates boot and recovery images
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-02-16 23:33:01 +01:00
Wolfgang Wiedmeyer
81c0e370a4
sign-build: enforce abort on error
...
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-02-06 18:02:17 +01:00
Wolfgang Wiedmeyer
c49058c815
add script to properly sign builds
...
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-02-06 11:16:34 +01:00