diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2009-06-29 15:16:40 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2009-06-29 15:16:40 +0100 |
commit | 4dff42aa13dd726fb6b02843d0f4db4b4b330fe3 (patch) | |
tree | b7d9979063d29915df9b2d09780bd2b42674562d /images/Makefile.am | |
parent | e492608f2f3809a824cb70ee03ff305964b69dd7 (diff) | |
download | libguestfs-4dff42aa13dd726fb6b02843d0f4db4b4b330fe3.tar.gz libguestfs-4dff42aa13dd726fb6b02843d0f4db4b4b330fe3.tar.xz libguestfs-4dff42aa13dd726fb6b02843d0f4db4b4b330fe3.zip |
Add 'initrd-list' command to list contents of initrd images.
Add 'initrd-list' command to list the files inside (new-style)
initrd images. Update virt-inspector to use this instead of
the less efficient download/unpack locally method.
Diffstat (limited to 'images/Makefile.am')
-rw-r--r-- | images/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/images/Makefile.am b/images/Makefile.am index 71d63a83..f2dd31ba 100644 --- a/images/Makefile.am +++ b/images/Makefile.am @@ -26,7 +26,8 @@ noinst_DATA = test.sqsh CLEANFILES = test.sqsh squash_files = helloworld.tar helloworld.tar.gz empty known-1 known-2 known-3 \ - 100kallzeroes 100kallnewlines 100kallspaces 100krandom 10klines + 100kallzeroes 100kallnewlines 100kallspaces 100krandom 10klines \ + initrd test.sqsh: $(squash_files) rm -f $@ @@ -60,3 +61,8 @@ test.sqsh: $(squash_files) i=$$(($$i+1)); \ done > $@-t mv $@-t $@ + +initrd: empty known-1 known-2 known-3 + rm -f $@ $@-t + for f in $^; do echo $$f; done | cpio -o -H newc | gzip --best > $@-t + mv $@-t $@ |