• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

bootable/newinstaller


コミットメタ情報

リビジョン96a3b7f3a9e09698ba88213202c025d77f33a165 (tree)
日時2018-06-10 17:12:31
作者Chih-Wei Huang <cwhuang@linu...>
コミッターChih-Wei Huang

ログメッセージ

1-install: skip the whole disk on finding ESP

変更サマリ

差分

--- 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