aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libfsimage/ufs
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>
* 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: make pygrub work on ufsKeir Fraser2008-06-091-2/+4
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* Fix libfsimage build on NetBSD.Keir Fraser2007-09-231-2/+2
| | | | | | | | | | | | | 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>
* 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>
* Add libfsimage, a C library for reading files from filesystem images.Tim Deegan2006-11-093-0/+517
Initial support is provided for Solaris UFS, ext2 (both using libext2fs and not), and reiserfs. Signed-off-by: John Levon <john.levon@sun.com>