aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libfsimage/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* libfsimage: add ext4 support for CentOS 5.xRoger Pau Monne2012-09-141-1/+1
| | | | | | | | | | | | | | | CentOS 5.x forked e2fs ext4 support into a different package called e4fs, and so headers and library names changed from ext2fs to ext4fs. Check if ext4fs/ext2fs.h and -lext4fs work, and use that instead of ext2fs to build libfsimage. This patch assumes that if the ext4fs library is present it should always be used instead of ext2fs. This patch includes a rework of the ext2fs check, a new ext4fs check and a minor modification in libfsimage to use the correct library. Signed-off-by: Roger Pau Monne <roger.pau@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* build: add autoconf to replace custom checks in tools/checkIan Jackson2012-02-221-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added autotools magic to replace custom check scripts. The previous checks have been ported to autoconf, and some additional ones have been added (plus the suggestions from running autoscan). Two files are created as a result from executing configure script, config/Tools.mk and config.h. conf/Tools.mk is included by tools/Rules.mk, and contains most of the options previously defined in .config, that can now be set passing parameters or defining environment variables when executing configure script. config.h is only used by libxl/xl to detect yajl_version.h. [ tools/config.sub and config.guess copied from autotools-dev 20100122.1 from Debian squeeze i386, which is GPLv2. tools/configure generated using the included ./autogen.sh which ran autoconf 2.67-2 from Debian squeeze i386. autoconf is GPLv3+ but has a special exception for the autoconf output; this exception applies to us and exempts us from complying with GPLv3+ for configure, which is good as Xen is GPL2 only. - Ian Jackson ] Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Tested-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
* tools: only compile libfsimage/xfs on X86Ian Campbell2012-02-131-1/+2
| | | | | | | xfs is not portable, only compile it on X86 Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* pygrub: XFS support for pygrubMarco Nenciarini2011-05-241-1/+1
| | | | | Signed-off-by: Marco Nenciarini <marco.nenciarini@devise.it> Committed-by: Ian Jackson <ian.jackson@eu.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>
* Add ZFS libfsimage support patchKeir Fraser2008-05-011-1/+1
| | | | | | | | | Add support to pygrub and libfsimage to boot ZFS root filesystems. Boot argument of zfs-bootfs is set to describe ZFS root pool and boot filesystem object number. Boot argument bootpath is set to describe the virtual device root mirror components. Signed-off-by: Susan Kamm-Worrell <susan.kamm-worrell@sun.com>
* tools build: Fix build after subdir rules cleanups.Keir Fraser2008-03-251-1/+2
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* tools/libfsimage build: Use generic subdirs rules.Keir Fraser2008-03-251-5/+2
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Make check-libext2fs cross-friendlyKeir Fraser2008-01-281-1/+1
| | | | | | | check-libext2fs was calling host gcc; pass $CC from Makefile so it can call the cross-compiler instead. Signed-off-by: Aron Griffis <aron@hp.com>
* Port fsys_fat.c from grub legacy. This enables pygrub to load from EFIAron Griffis2007-02-131-1/+1
| | | | | | FAT partitions on ia64. Signed-off-by: Aron Griffis <aron@hp.com>
* Add iso9660 support to libfsimage.john.levon@sun.com2007-02-201-1/+1
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Add libfsimage, a C library for reading files from filesystem images.Tim Deegan2006-11-091-0/+13
Initial support is provided for Solaris UFS, ext2 (both using libext2fs and not), and reiserfs. Signed-off-by: John Levon <john.levon@sun.com>