x86: add grub2 iso support

SVN-Revision: 33639
This commit is contained in:
Felix Fietkau
2012-10-07 23:01:52 +00:00
parent 53cc34e517
commit a1bcd25082
4 changed files with 45 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
check_for_iso() {
grep -qE '/dev/root.*iso9660' /proc/mounts && ramoverlay
}
boot_hook_add preinit_mount_root check_for_iso