Lines Matching refs:pref
180 for pref in $BOOT_ROOT_SEARCH; do
182 if [ -d "$pref/$suff" ]; then
183 [ -z "$BOOT_ROOT" ] && BOOT_ROOT="$pref"
187 echo "$pref/$suff exists, using BOOT_ROOT=$BOOT_ROOT, ENTRY_TOKEN=$ENTRY_TOKEN"
190 [ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && echo "$pref/$suff not found…"
193 if [ -d "$pref/loader/entries" ]; then
194 [ -z "$BOOT_ROOT" ] && BOOT_ROOT="$pref"
196 echo "$pref/loader/entries exists, using BOOT_ROOT=$BOOT_ROOT"
199 [ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && echo "$pref/loader/entries not found…"
204 [ -z "$BOOT_ROOT" ] && for pref in "/efi" "/boot/efi"; do
205 if mountpoint -q "$pref"; then
206 BOOT_ROOT="$pref"
208 echo "$pref is a mount point, using BOOT_ROOT=$BOOT_ROOT"
211 [ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && echo "$pref is not a mount point…"