Android-x86
Fork
捐款

  • R/O
  • HTTP
  • SSH
  • HTTPS

bootable-newinstaller: 提交

bootable/newinstaller


Commit MetaInfo

修訂96a3b7f3a9e09698ba88213202c025d77f33a165 (tree)
時間2018-06-10 17:12:31
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

1-install: skip the whole disk on finding ESP

Change Summary

差異

--- a/install/scripts/1-install
+++ b/install/scripts/1-install
@@ -423,7 +423,7 @@ install_to()
423423 done
424424 if [ -z "$esp" ]; then
425425 get_part_info $1
426- boot=$(blkid /dev/$disk* | grep vfat | cut -d: -f1 | head -1)
426+ boot=$(blkid /dev/$disk* | grep -v $disk: | grep vfat | cut -d: -f1 | head -1)
427427 [ -z "$boot" ] && boot=`find_partition $disk 1` || boot=`basename $boot`
428428 esp=`cat /sys/block/$disk/$boot/partition`
429429 fi
Show on old repository browser