#!/bin/bash rm -rf jg/build mkdir jg/build cd jg/build ../../configure TARGET_LDFLAGS=-static \ --prefix=/usr \ --sysconfdir=/etc \ --target=i386-suse-linux \ --with-platform=xenpvh \ --enable-device-mapper || exit 1 make || exit 1 cat > ./grub.cfg <