Modify.sh fixes

This commit is contained in:
MunyDev 2024-10-07 22:14:05 -04:00
parent 8d568f281e
commit 942dd146a2
No known key found for this signature in database
GPG Key ID: 7DFBB51356064F62

View File

@ -83,9 +83,12 @@ 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/." "$MOUNT_DIR/usr/share/packeddata"
mkdir -p "$MOUNT_DIR/usr/bin"
echo "bash" > "$MOUNT_DIR/usr/sbin/factory_install.sh"
cp "inshim.sh" "$MOUNT_DIR/usr/bin/inshim.sh" cp "inshim.sh" "$MOUNT_DIR/usr/bin/inshim.sh"
umount "$MOUNT_DIR"
enable_rw_mount "$LOOP_DEV"p3
mount "$LOOP_DEV"p3 "$MOUNT_DIR"
echo "bash" > "$MOUNT_DIR/usr/sbin/factory_install.sh"
umount "$MOUNT_DIR" umount "$MOUNT_DIR"
sync sync
sync sync