fdroid, begin maintaining a consistent keystore file.

This commit is contained in:
me committed 2026-11-01 14:52:44 -07:00
1 parent 665122faab
commit db1c85db20
3 files changed
+20

No files matched your search

+4
View File
@@ -202,6 +202,10 @@ RUN [ ! -z "$REPO_ICON" ] && \
RUN fdroid update -c
# Install Keystore #
COPY files/keystore.p12 "$FDROID"/keystore.p12
# Publish Repo Contents to Web Root #
RUN cp -rv "$FDROID" "$WEBROOT/"
Binary file not shown.
+16
View File
@@ -13,5 +13,21 @@ source $DIR/.env
# Create folders.
mkdir -pv $FDROID_DATA
if [[ ! -f files/leystore.p12 ]]; then
echo "ERROR: Keystore not detected. Please create it using 'keytool', like this:"
cat <<- EOF
keytool -genkeypair -v \
-storetype PKCS12 \
-keystore keystore.p12 \
-alias fdroid \
-keyalg RSA -keysize 4096 \
-validity 10000 \
-dname "CN=TEST, OU=F-Droid"
EOF
exit 1
fi
# Finish successfully.
exit 0