mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-06 16:34:59 -04:00
Hard fail on error
Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
a5cdb9ab58
commit
256b1db98b
29 changed files with 105 additions and 65 deletions
|
@ -14,6 +14,7 @@
|
|||
#
|
||||
#You should have received a copy of the GNU General Public License
|
||||
#along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
set -uo pipefail;
|
||||
|
||||
if [ -d "$DOS_SIGNING_KEYS" ]; then
|
||||
echo "Copying verity/avb public keys to kernels...";
|
||||
|
@ -104,7 +105,7 @@ cp -v "$DOS_SIGNING_KEYS/vayu/verifiedboot_relkeys.der.x509" "kernel/xiaomi/sm81
|
|||
cp -v "$DOS_SIGNING_KEYS/walleye/verifiedboot_relkeys.der.x509" "kernel/google/wahoo/verifiedboot_walleye_dos_relkeys.der.x509";
|
||||
cp -v "$DOS_SIGNING_KEYS/z2_plus/verifiedboot_relkeys.der.x509" "kernel/zuk/msm8996/verifiedboot_z2_plus_dos_relkeys.der.x509";
|
||||
cp -v "$DOS_SIGNING_KEYS/zenfone3/verifiedboot_relkeys.der.x509" "kernel/asus/msm8953/verifiedboot_zenfone3_dos_relkeys.der.x509";
|
||||
echo "Copied keys to kernels!";
|
||||
echo -e "\e[0;32m[SCRIPT COMPLETE] Copied keys to kernels\e[0m";
|
||||
else
|
||||
echo -e "\e[0;31mSigning keys unavailable, NOT copying public keys to kernels!\e[0m";
|
||||
echo -e "\e[0;31mSigning keys unavailable, NOT copying public keys to kernels\e[0m";
|
||||
fi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue