Very glad to see someone is putting together documentation for using STM32 and Linux.
I went thru heck to get something very close to this working. The wiki would've been really helpful.
I couldn't see a config file posted in there, if you've got one it'll be even more useful as the config file for openocd was hard for me to figure out.
I've got another option for targeting the STM32... If you can get to the USART1 and the boot mode pins, ST has a built in bootloader, documented in their AN2606.
There's software out there to target it in Windows. I got fed up there was no GPL'd software to target the bootloader so wrote some that Linux or Windows. Sloadhost is gpl'd and is at http://www.sourceforge.org/projects/sloadhost
I haven't tried with a primer yet (I don't have the v2.) just the Olimex H103 and ST's eval board.
Cheers,
Alex