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-devel

[Xen-devel] XCP: pygrub missing ext4 support.

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] XCP: pygrub missing ext4 support.
From: David Markey <admin@xxxxxxxxxxx>
Date: Sat, 19 Jun 2010 17:00:57 +0100
Delivery-date: Sat, 19 Jun 2010 09:02:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: admin@xxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
XCP pygrub should have ext4 support.

It currently doesn't because the libfsimage ext2fs-lib module is linked against libext2fs, which doesnt have ext4 support in XCP.

Instead, XCP should use the ext2fs module that comes with libfsimage, which has ext4 support.

Most new releases of distributions has it as their default filesystem. Most notably, Ubuntu 10.04

An easy way for the build to use ext2fs instead of ext2fs-lib, is to not have ext2fs/ext2fs.h present.

Alternatively this patch hard codes it.


(From 4.0)
--- a/tools/libfsimage/Makefile 2010-06-19 16:52:04.231221516 +0100
+++ b/tools/libfsimage/Makefile 2010-06-19 16:52:08.803250922 +0100
@@ -1,8 +1,7 @@
 XEN_ROOT = ../..
 include $(XEN_ROOT)/tools/Rules.mk
 
-SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
-SUBDIRS-y += $(shell env CC="$(CC)" ./check-libext2fs)
+SUBDIRS-y = common ufs reiserfs iso9660 fat zfs ext2fs
 
 .PHONY: all clean install
 all clean install: %: subdirs-%

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