Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

bootable-newinstaller: Commit

bootable/newinstaller


Commit MetaInfo

Révision6c41f643d34c5a0f2c19417d249ba932713701e2 (tree)
l'heure2011-09-09 17:52:16
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

init: allow to specify the android partition by ROOT

Change Summary

Modification

--- a/initrd/init
+++ b/initrd/init
@@ -105,7 +105,7 @@ echo -n Detecting Android-x86...
105105 mount -t tmpfs tmpfs /android
106106 cd /android
107107 while :; do
108- for device in /dev/sr* /dev/[hs]d[a-z]*; do
108+ for device in ${ROOT:-/dev/sr* /dev/[hs]d[a-z]*}; do
109109 check_root $device && break 2
110110 mountpoint -q /mnt && umount /mnt
111111 done
Afficher sur ancien navigateur de dépôt.