added new fixes
This commit is contained in:
parent
e3300b8973
commit
27bbbcfd3f
@ -7,7 +7,7 @@ then
|
|||||||
echo "Run this as root"
|
echo "Run this as root"
|
||||||
fi
|
fi
|
||||||
cp /mnt/stateful_partition/usr/share/packeddata/. /tmp/unencrypted/ -rvf
|
cp /mnt/stateful_partition/usr/share/packeddata/. /tmp/unencrypted/ -rvf
|
||||||
|
chown -R 1000 /mnt/stateful_partition/unencrypted/PKIMetadata
|
||||||
umount /tmp
|
umount /tmp
|
||||||
chown -R 1000 /mnt/stateful_partition/unencrypted
|
|
||||||
crossystem disable_dev_request=1
|
crossystem disable_dev_request=1
|
||||||
reboot
|
reboot
|
@ -82,7 +82,7 @@ echo "Mounting at $MOUNT_DIR"
|
|||||||
enable_rw_mount "$LOOP_DEV"p1
|
enable_rw_mount "$LOOP_DEV"p1
|
||||||
mount -o rw "$LOOP_DEV"p1 "$MOUNT_DIR"
|
mount -o rw "$LOOP_DEV"p1 "$MOUNT_DIR"
|
||||||
mkdir -p "$MOUNT_DIR/usr/share/packeddata"
|
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"
|
mkdir -p "$MOUNT_DIR/usr/bin"
|
||||||
cp "inshim.sh" "$MOUNT_DIR/usr/bin/inshim.sh"
|
cp "inshim.sh" "$MOUNT_DIR/usr/bin/inshim.sh"
|
||||||
umount "$MOUNT_DIR"
|
umount "$MOUNT_DIR"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user