Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit 39a9117

Browse files
committed
Build description from settings.
This eliminates a manual step in the build process.
1 parent 59b9517 commit 39a9117

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

Container/README.md

+2-9
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ required arguments:
1010
- $1 - path where android build will end up
1111

1212
```sh
13-
mkdir android
1413
./run-image-{podman,docker}.sh "$(pwd)/Builds"
1514
```
1615

@@ -31,13 +30,7 @@ Either proceed manually (https://divestos.org/pages/build#init) or use the scrip
3130
nano DivestOS/Scripts/init.sh
3231
```
3332

34-
c. Update description (optional)
35-
36-
```sh
37-
nano DivestOS/Scripts/Generate_Signing_Keys.sh
38-
```
39-
40-
d. Add vendor blobs
33+
c. Add vendor blobs
4134

4235
```sh
4336
githuborg="" # <-- put the correct github organization here
@@ -46,7 +39,7 @@ Either proceed manually (https://divestos.org/pages/build#init) or use the scrip
4639
sed -i "/gitlab/s/\[COLOUR IN THE LINES\]/$gitlaborg/g" DivestOS/Build/LineageOS-20.0/.repo/local_manifests/local_manifest.xml
4740
```
4841

49-
e. Download and Build
42+
d. Download and Build
5043

5144
```sh
5245
# $1: version

Scripts/Generate_Signing_Keys.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if [[ -d "$DOS_SIGNING_KEYS" ]]; then
3030
cd "$DOS_SIGNING_KEYS/NEW";
3131
mkdir $1; cd $1;
3232

33-
desc="/O=Divested Computing Group/CN=DivestOS for $1/emailAddress=[email protected]";
33+
desc="/O=$DOS_BRANDING_ORG/CN=$DOS_BRANDING_NAME for $1/emailAddress=$DOS_BRANDING_EMAIL";
3434

3535
sed -i '/blank for none/,+1 d' "$DOS_BUILD_BASE"/development/tools/make_key;
3636

Scripts/init.sh

+2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ export DOS_GPG_SIGNING=true;
7373
export DOS_GPG_SIGNING_KEY="B8744D67F9F1E14E145DFD8E7F627E920F316994";
7474

7575
#Branding
76+
export DOS_BRANDING_ORG="Divested Computing Group";
7677
export DOS_BRANDING_NAME="DivestOS";
78+
export DOS_BRANDING_EMAIL="[email protected]";
7779
export DOS_BRANDING_ZIP_PREFIX="divested";
7880
export DOS_BRANDING_BOOTANIMATION_FONT="Fira-Sans-Heavy"; #Options: $ convert -list font
7981
export DOS_BRANDING_BOOTANIMATION_STYLE="plasma"; #Options: gradient, plasma

0 commit comments

Comments
 (0)