aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libfsimage/ext2fs
Commit message (Collapse)AuthorAgeFilesLines
* tools: Revert c/s 25150:b490ef93bad7 tools/libfsimage: include Rules.mk firstGeorge Dunlap2012-04-131-1/+2
| | | | | | | | | | | | | tools/libfsimage/Rules.mk relies on having certain variables set already; if they're not set, the definitions dont' work right. The result was a bunch of empty files and pygrub failing with an uninformative error message. It's likely that this didn't cause anyone problems becasue changing the Makefiles didn't cause a re-build; building from a fresh repo results in completely empty filesystem plugin binaries. Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools/libfsimage: include Rules.mk firstOlaf Hering2012-03-141-2/+1
| | | | | | | | | Move the inclusion of Rules.mk up so that things like CFLAGS get initialized properly. Currently only zfs appends CFLAGS. If CFLAGS get reset by Rules.mk the private settings are lost and compilation of zfs support fails. Signed-off-by: Olaf Hering <olaf@aepfle.de> Committed-by: Ian Jackson <ian.jackson.citrix.com>
* build: Make XEN_ROOT an absolute path.Keir Fraser2011-03-171-1/+1
| | | | | | | | Otherwise make can search the path relative to certain standard paths such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in Config.mk suffers from this). Signed-off-by: Keir Fraser <keir@xen.org>
* pygrub: add ext4 supportKeir Fraser2009-12-161-72/+157
| | | | | | | | This is a port of the following two patches: http://patches.ubuntulinux.org/g/grub/extracted/ext4_support.diff http://patches.ubuntulinux.org/g/grub/extracted/ext4_fix_variable_sized_inodes.diff Signed-off-by: Mark Johnson <mark.johnson@sun.com>
* tools: Make functions static which should not be exported.Keir Fraser2008-07-151-3/+3
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* [LIBFSIMAGE] Support 256 byte inodes on ext3Keir Fraser2008-04-161-7/+54
| | | | | | | Patch taken from Debian grub package version 0.97-32. See http://bugs.debian.org/463236 & http://bugs.debian.org/463123 Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* Fix libfsimage build on NetBSD.Keir Fraser2007-09-231-3/+3
| | | | | | | | | | | | | Fixes a number of these errors: cc1: warnings being treated as errors fsys_fat.c: In function 'fat_dir': fsys_fat.c:304: warning: array subscript has type 'char' Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> These ugly casts are needed according to the ISO C spec. Acked-by: Keir Fraser <keir@xensource.com>
* Add iso9660 support to libfsimage.john.levon@sun.com2007-02-201-88/+1
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Filesystem implementations may need optional arguments in terms ofjohn.levon@sun.com2007-02-191-1/+1
| | | | | | what to mount. Add an options string to the libfsimage API. Signed-off-by: John Levon <john.levon@sun.com>
* [POWERPC][LIBFS] Fix build breakage in log2 assembly.kfraser@localhost.localdomain2006-11-221-1/+8
| | | | Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* [LIBFS] IA64 & PPC aren't making use of this right now, but it's silly tokaf24@localhost.localdomain2006-11-111-0/+61
| | | | | | | | have the build fail for some trivial x86 specific assembly. I snagged the appropriate bitops for ia64 and ppc (untested) and tossed in an unoptimized option as well in case we want to make use of it. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* Add libfsimage, a C library for reading files from filesystem images.Tim Deegan2006-11-092-0/+817
Initial support is provided for Solaris UFS, ext2 (both using libext2fs and not), and reiserfs. Signed-off-by: John Levon <john.levon@sun.com>