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

@ -78,8 +78,12 @@ get_uuid (const char *name, char **uuid, int getnative)
break;
/* Virtual disks. */
/* GRUB dynamically generated files. */
case GRUB_DISK_DEVICE_PROCFS_ID:
/* To access through host OS routines (grub-emu only). */
case GRUB_DISK_DEVICE_HOST_ID:
/* To access coreboot roms. */
case GRUB_DISK_DEVICE_CBFSDISK_ID:
/* GRUB-only memdisk. Can't match any of firmware devices. */
case GRUB_DISK_DEVICE_MEMDISK_ID:
grub_dprintf ("nativedisk", "Skipping native disk %s\n",