support xen setups with root file on tmpfs
authorAdrian Schröter <adrian@suse.de>
Thu, 12 Nov 2009 09:04:38 +0000 (09:04 +0000)
committerAdrian Schröter <adrian@suse.de>
Thu, 12 Nov 2009 09:04:38 +0000 (09:04 +0000)
build

diff --git a/build b/build
index cfc5db8..f529586 100755 (executable)
--- a/build
+++ b/build
@@ -1097,6 +1097,7 @@ for SPECFILE in "${SPECFILES[@]}" ; do
                    XMSWAP="disk=$XMSWAP,hda2,w"
                fi
                XENID="${VM_IMAGE%/root}"
+               XENID="${XENID%/tmpfs}"
                XENID="${XENID##*/}"
                CROSS_INIT_SCRIPT="/.build/build"
                # to run the qemu initialization in the XEN chroot, we need to register it with a statically build shell