Support for cbfs. Also factor out the part which is common

for all archives to a separate module. This splits tar from cpio
	as they are very different but keeps cpio, cpio_be, odc and newc
	together since they're very similar.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-06-16 00:06:13 +02:00
parent a5b55c4b32
commit 5027af38cf
15 changed files with 1285 additions and 454 deletions

View file

@ -20,6 +20,7 @@
#include <grub/misc.h>
#define ALIGN_CPIO(x) x
#define MAGIC "070707"
struct head
{
@ -52,7 +53,6 @@ read_number (const char *str, grub_size_t size)
GRUB_MOD_INIT (odc)
{
grub_fs_register (&grub_cpio_fs);
my_mod = mod;
}
GRUB_MOD_FINI (odc)