Skip to contentSkip to conversation

fat support for pygrub

PATCH New Aron Griffis 1 participant 1 message Feb 13, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fat support for pygrub

This patch enables FAT support in libfsimage, so that it's available to pygrub. This is important for support of EFI FAT filesystems on ia64.

The fsimage module builds and seems to load correctly, but I'm having a little trouble with my test setup so I haven't booted xen/ia64 with it yet.

If anybody else wants to try it and post testing results, that would be great. Otherwise I'll follow up with my own testing soon.

# HG changeset patch
# User Aron Griffis <[email protected]>
# Date 1171387823 18000
# Node ID 557b50b1b9b319f98d08b9cc81e04d7de5f87c5a
# Parent 58cc327b2baec74a6b35796e53cb87b5301b7c00
Port fsys_fat.c from grub legacy. This enables pygrub to load from EFI FAT partitions on ia64.

tools/libfsimage/Makefile +1 -1
diff -r 58cc327b2bae -r 557b50b1b9b3 tools/libfsimage/Makefile
@@ -1,7 +1,7 @@ XEN_ROOT = ../..
 XEN_ROOT = ../..
 include $(XEN_ROOT)/tools/Rules.mk
 
-SUBDIRS-y = common ufs reiserfs
+SUBDIRS-y = common ufs reiserfs fat
 SUBDIRS-y += $(shell ./check-libext2fs)
 
 .PHONY: all
tools/libfsimage/fat/Makefile new file +13 -0
diff -r 58cc327b2bae -r 557b50b1b9b3 tools/libfsimage/fat/Makefile
@@ -0,0 +1,13 @@
+XEN_ROOT = ../../..
+
+LIB_SRCS-y = fsys_fat.c
+
+FS = fat
+
+.PHONY: all
+all: fs-all
+
+.PHONY: install
+install: fs-install
+
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
tools/libfsimage/fat/fat.h new file +100 -0

100 lines not on this page · raw message

tools/libfsimage/fat/fsys_fat.c new file +562 -0

562 lines not on this page · raw message