mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
Update buildtype and .zip prefix
This commit is contained in:
parent
2c3df2461a
commit
babc89a079
@ -176,7 +176,7 @@ cp $patches"android_vendor_cm/sce.mk" config/sce.mk
|
|||||||
cp $patches"android_vendor_cm/config.xml" overlay/common/vendor/cmsdk/cm/res/res/values/config.xml; #Per app performance profiles
|
cp $patches"android_vendor_cm/config.xml" overlay/common/vendor/cmsdk/cm/res/res/values/config.xml; #Per app performance profiles
|
||||||
cp -r $patches"android_vendor_cm/firmware_deblobber" .;
|
cp -r $patches"android_vendor_cm/firmware_deblobber" .;
|
||||||
cp $patches"android_vendor_cm/firmware_deblobber.mk" build/tasks/firmware_deblobber.mk;
|
cp $patches"android_vendor_cm/firmware_deblobber.mk" build/tasks/firmware_deblobber.mk;
|
||||||
sed -i 's/CM_BUILDTYPE := UNOFFICIAL/CM_BUILDTYPE := dos/' config/common.mk; #Change buildtype
|
sed -i 's/CM_BUILDTYPE := UNOFFICIAL/CM_BUILDTYPE := NIGHTLY/' config/common.mk; #Change buildtype
|
||||||
sed -i 's/messaging/Silence/' config/telephony.mk; #Replace AOSP Messaging app with Silence
|
sed -i 's/messaging/Silence/' config/telephony.mk; #Replace AOSP Messaging app with Silence
|
||||||
#sed -i 's/config_enableRecoveryUpdater">false/config_enableRecoveryUpdater">true/' overlay/common/packages/apps/Settings/res/values/config.xml; #Expose option to update recovery
|
#sed -i 's/config_enableRecoveryUpdater">false/config_enableRecoveryUpdater">true/' overlay/common/packages/apps/Settings/res/values/config.xml; #Expose option to update recovery
|
||||||
#sed -i 's/mka bacon/mka bacon target-files-package dist/' build/envsetup.sh; #Create target-files for incrementals
|
#sed -i 's/mka bacon/mka bacon target-files-package dist/' build/envsetup.sh; #Create target-files for incrementals
|
||||||
|
@ -41,7 +41,7 @@ sed -i 's|>LineageOS|>DivestOS|' res/values*/strings.xml
|
|||||||
|
|
||||||
enter "vendor/cm"
|
enter "vendor/cm"
|
||||||
sed -i 's|https://lineageos.org/legal|https://divestos.xyz/pages/about.html|' config/common.mk;
|
sed -i 's|https://lineageos.org/legal|https://divestos.xyz/pages/about.html|' config/common.mk;
|
||||||
#sed -i '/.*ZIPFILE=/s/lineage/divestos/' build/envsetup.sh; #TODO: Enable before release and update server
|
sed -i '/.*ZIPFILE=/s/lineage/divestos/' build/envsetup.sh;
|
||||||
rm -rf bootanimation #TODO: Create a boot animation
|
rm -rf bootanimation #TODO: Create a boot animation
|
||||||
|
|
||||||
cd $base
|
cd $base
|
||||||
|
@ -161,7 +161,7 @@ patch -p1 < $patches"android_vendor_lineage/0001-SCE.patch" #Include our extras
|
|||||||
cp $patches"android_vendor_lineage/sce.mk" config/sce.mk
|
cp $patches"android_vendor_lineage/sce.mk" config/sce.mk
|
||||||
cp -r $patches"android_vendor_lineage/firmware_deblobber" .;
|
cp -r $patches"android_vendor_lineage/firmware_deblobber" .;
|
||||||
cp $patches"android_vendor_lineage/firmware_deblobber.mk" build/tasks/firmware_deblobber.mk;
|
cp $patches"android_vendor_lineage/firmware_deblobber.mk" build/tasks/firmware_deblobber.mk;
|
||||||
sed -i 's/LINEAGE_BUILDTYPE := UNOFFICIAL/LINEAGE_BUILDTYPE := dos/' config/common.mk; #Change buildtype
|
sed -i 's/LINEAGE_BUILDTYPE := UNOFFICIAL/LINEAGE_BUILDTYPE := NIGHTLY/' config/common.mk; #Change buildtype
|
||||||
sed -i 's/messaging/Silence/' config/telephony.mk; #Replace AOSP Messaging app with Silence
|
sed -i 's/messaging/Silence/' config/telephony.mk; #Replace AOSP Messaging app with Silence
|
||||||
sed -i 's/config_enableRecoveryUpdater">false/config_enableRecoveryUpdater">true/' overlay/common/packages/apps/Settings/res/values/config.xml; #Expose option to update recovery
|
sed -i 's/config_enableRecoveryUpdater">false/config_enableRecoveryUpdater">true/' overlay/common/packages/apps/Settings/res/values/config.xml; #Expose option to update recovery
|
||||||
#sed -i 's/mka bacon/mka bacon target-files-package dist/' build/envsetup.sh; #Create target-files for incrementals
|
#sed -i 's/mka bacon/mka bacon target-files-package dist/' build/envsetup.sh; #Create target-files for incrementals
|
||||||
|
@ -41,7 +41,7 @@ sed -i 's|>LineageOS|>DivestOS|' res/values*/strings.xml
|
|||||||
|
|
||||||
enter "vendor/lineage"
|
enter "vendor/lineage"
|
||||||
sed -i 's|https://lineageos.org/legal|https://divestos.xyz/pages/about.html|' config/common.mk;
|
sed -i 's|https://lineageos.org/legal|https://divestos.xyz/pages/about.html|' config/common.mk;
|
||||||
#sed -i '/.*ZIPFILE=/s/lineage/divestos/' build/envsetup.sh; #TODO: Enable before release and update server
|
sed -i '/.*ZIPFILE=/s/lineage/divestos/' build/envsetup.sh;
|
||||||
rm -rf bootanimation #TODO: Create a boot animation
|
rm -rf bootanimation #TODO: Create a boot animation
|
||||||
|
|
||||||
cd $base
|
cd $base
|
||||||
|
Loading…
Reference in New Issue
Block a user