mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-06-16 06:47:19 +02:00
build: Explicitly set signing algorithms
Newer versions of jarsigner default to SHA256, which is unsupported for some versions of Android we support.
This commit is contained in:
parent
f466b1c127
commit
93c0ff5ff6
2
Makefile
2
Makefile
@ -75,7 +75,7 @@ _build/$(PACKAGE_NAME).debug.unsigned-apk: AAPT_PACKAGE_FLAGS+=--rename-manifest
|
|||||||
# OPTS can be used to pass -storepass or -keypass options to jarsigner
|
# OPTS can be used to pass -storepass or -keypass options to jarsigner
|
||||||
_build/%.signed-apk: _build/%.unsigned-apk %-keystore.conf
|
_build/%.signed-apk: _build/%.unsigned-apk %-keystore.conf
|
||||||
eval `cat $(word 2,$^)` && \
|
eval `cat $(word 2,$^)` && \
|
||||||
jarsigner -keystore "$$KEYSTORE" $$OPTS -signedjar "$@" "$<" "$$KEYNAME"
|
jarsigner -sigalg SHA1withRSA -digestalg SHA1 -keystore "$$KEYSTORE" $$OPTS -signedjar "$@" "$<" "$$KEYNAME"
|
||||||
|
|
||||||
# Package
|
# Package
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user