added new fixes

This commit is contained in:
MunyDev 2024-08-15 14:10:13 -04:00
parent e3300b8973
commit 27bbbcfd3f
No known key found for this signature in database
GPG Key ID: 7DFBB51356064F62
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ then
echo "Run this as root"
fi
cp /mnt/stateful_partition/usr/share/packeddata/. /tmp/unencrypted/ -rvf
chown -R 1000 /mnt/stateful_partition/unencrypted/PKIMetadata
umount /tmp
chown -R 1000 /mnt/stateful_partition/unencrypted
crossystem disable_dev_request=1
reboot

View File

@ -82,7 +82,7 @@ echo "Mounting at $MOUNT_DIR"
enable_rw_mount "$LOOP_DEV"p1
mount -o rw "$LOOP_DEV"p1 "$MOUNT_DIR"
mkdir -p "$MOUNT_DIR/usr/share/packeddata"
cp -rvf "./out/." "$MOUNT_DIR/usr/share/packeddata"
cp -rvf "./out/." "$MOUN T_DIR/usr/share/packeddata"
mkdir -p "$MOUNT_DIR/usr/bin"
cp "inshim.sh" "$MOUNT_DIR/usr/bin/inshim.sh"
umount "$MOUNT_DIR"