summaryrefslogtreecommitdiffstats
path: root/images/README-binfiles
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-07-28 17:55:35 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-07-29 10:16:06 +0100
commit1f65b900f0f17a700035dea9a76b910504f4507c (patch)
tree7c204de9a25bdeb1e72653f466dbbeedc4948d1a /images/README-binfiles
parent7cbd1bbdd5e613561ea7227081f7ddd666b98ee0 (diff)
downloadlibguestfs-1f65b900f0f17a700035dea9a76b910504f4507c.tar.gz
libguestfs-1f65b900f0f17a700035dea9a76b910504f4507c.tar.xz
libguestfs-1f65b900f0f17a700035dea9a76b910504f4507c.zip
Lib.pm: Add file_architecture command.
This command detects the architecture of some types of binaries, libraries, kernel modules and initrd images.
Diffstat (limited to 'images/README-binfiles')
-rw-r--r--images/README-binfiles13
1 files changed, 13 insertions, 0 deletions
diff --git a/images/README-binfiles b/images/README-binfiles
new file mode 100644
index 00000000..f99fc847
--- /dev/null
+++ b/images/README-binfiles
@@ -0,0 +1,13 @@
+The bin-* and lib-* files are used for testing the
+Sys::Guestfs::Lib::file_architecture API.
+
+The bin-* files are generated from empty source files (ie.
+"main(){}") on the respective architectures.
+
+The lib-* files are generated from a (really) empty source file called
+lib.c which is linked into a library using gcc -shared on the
+respective architectures.
+
+If you are concerned that these binary files "lack source" then you
+can just remove them, but you may need to patch out tests in the perl/
+directory.