WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xm-test: ramdisk fs type is changed to ex

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xm-test: ramdisk fs type is changed to ext3 if needed
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 04 Aug 2009 08:50:19 -0700
Delivery-date: Tue, 04 Aug 2009 08:51:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1249212226 -3600
# Node ID fea4b1567fcfeab40bcd8ce3050a073d8bcd5b88
# Parent  c5d518a7c1a9a8d861c13ff5fca327c1c2c27fdd
xm-test: ramdisk fs type is changed to ext3 if needed

This (one line) patch changes the type of the xm-test initrd from ext2
to ext3 when needed.  It first checks, if ext2 support is missing and
ext3 support is available.  If so the fs type is changed to ext3.

Signed-off-by: Andreas Florath <xen@xxxxxxxxxxxx>
---
 tools/xm-test/ramdisk/Makefile.am |    9 +++++++++
 1 files changed, 9 insertions(+)

diff -r c5d518a7c1a9 -r fea4b1567fcf tools/xm-test/ramdisk/Makefile.am
--- a/tools/xm-test/ramdisk/Makefile.am Sun Aug 02 12:22:03 2009 +0100
+++ b/tools/xm-test/ramdisk/Makefile.am Sun Aug 02 12:23:46 2009 +0100
@@ -106,6 +106,15 @@ existing:
                echo Error, $(XMTEST_VER_IMG) not found;  \
                false; \
        fi
+# The newer linux kernels have ext2 disabled by default - but the
+# initrd is ext2.
+# The whole xm-test environment assumes, that the guest system uses
+# the same kernel as the dom0.  Therefore the current (dom0's) kernel
+# is checked if ext2 is supported.  If not (and ext3 is supported) the
+# initrd will be converted to ext3.
+       @cat /proc/filesystems | grep -q ext2 && \
+         cat /proc/filesystems | grep -q ext3 || \
+         /sbin/tune2fs -j $(XMTEST_DL_IMG) >/dev/null || true
 
 clean-local: am_config_clean-local
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xm-test: ramdisk fs type is changed to ext3 if needed, Xen patchbot-unstable <=