Build description from settings.

This eliminates a manual step in the build process.
This commit is contained in:
ryneeverett 2024-07-30 18:28:49 -04:00
parent 59b9517c08
commit 39a9117afd
3 changed files with 5 additions and 10 deletions

View file

@ -30,7 +30,7 @@ if [[ -d "$DOS_SIGNING_KEYS" ]]; then
cd "$DOS_SIGNING_KEYS/NEW";
mkdir $1; cd $1;
desc="/O=Divested Computing Group/CN=DivestOS for $1/emailAddress=support@divestos.org";
desc="/O=$DOS_BRANDING_ORG/CN=$DOS_BRANDING_NAME for $1/emailAddress=$DOS_BRANDING_EMAIL";
sed -i '/blank for none/,+1 d' "$DOS_BUILD_BASE"/development/tools/make_key;

View file

@ -73,7 +73,9 @@ export DOS_GPG_SIGNING=true;
export DOS_GPG_SIGNING_KEY="B8744D67F9F1E14E145DFD8E7F627E920F316994";
#Branding
export DOS_BRANDING_ORG="Divested Computing Group";
export DOS_BRANDING_NAME="DivestOS";
export DOS_BRANDING_EMAIL="support@divestos.org";
export DOS_BRANDING_ZIP_PREFIX="divested";
export DOS_BRANDING_BOOTANIMATION_FONT="Fira-Sans-Heavy"; #Options: $ convert -list font
export DOS_BRANDING_BOOTANIMATION_STYLE="plasma"; #Options: gradient, plasma