make inshim.sh autorun

This commit is contained in:
Archimax 2025-01-25 22:26:08 -05:00 committed by GitHub
parent a39aa518b1
commit b1a4ce7285
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,11 +84,10 @@ mount -o rw "$LOOP_DEV"p1 "$MOUNT_DIR"
mkdir -p "$MOUNT_DIR/usr/share/packeddata"
cp -rvf "./out/." "$MOUNT_DIR/usr/share/packeddata"
mkdir -p "$MOUNT_DIR"/usr/bin
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"
cp "inshim.sh" "$MOUNT_DIR/usr/sbin/factory_install.sh"
umount "$MOUNT_DIR"
sync