Tasssadar / multirom

MultiROM for Nexus 7 and LG Optimus One
http://forum.xda-developers.com/showthread.php?t=2011403
GNU General Public License v3.0
415 stars 274 forks source link

Explicitly create /mnt when doing loop mounts for Linux ROMs #17

Closed willcast closed 10 years ago

willcast commented 10 years ago

I found that, on the Glitch CAF kernel for flo, /mnt doesn't exist in the ramdisk. It causes any attempt to boot a Linux ROM (using the text file template from the wiki and an image instead of a subdirectory) to fail.

This creates it explicitly before it's needed. If it's already there, the mkdir call will fail, but there will be no adverse effects.

Tasssadar commented 10 years ago

Probably an oversight, I don't think I would've assumed /mnt is always in initrd, thanks.