2010-08-08 Robert Millan <rmh@gnu.org>
* util/grub.d/10_kfreebsd.in: When files required for ZFS do not exist, issue a proper error message (rely on `ls' for translated strings).
This commit is contained in:
parent
55dd292477
commit
0d8286f328
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-08-08 Robert Millan <rmh@gnu.org>
|
||||
|
||||
* util/grub.d/10_kfreebsd.in: When files required for ZFS do not
|
||||
exist, issue a proper error message (rely on `ls' for translated
|
||||
strings).
|
||||
|
||||
2010-08-08 Robert Millan <rmh@gnu.org>
|
||||
|
||||
Fix grub-probe invocation.
|
||||
|
|
|
@ -76,9 +76,10 @@ EOF
|
|||
|
||||
case "${kfreebsd_fs}" in
|
||||
zfs)
|
||||
test -e "${module_dir}/opensolaris.ko"
|
||||
test -e "${module_dir}/zfs.ko"
|
||||
test -e "${dirname}/zfs/zpool.cache"
|
||||
for i in "${module_dir}/opensolaris.ko" "${module_dir}/zfs.ko" \
|
||||
"${dirname}/zfs/zpool.cache" ; do
|
||||
ls "$i" > /dev/null
|
||||
done
|
||||
|
||||
printf '%s\n' "${prepare_module_dir_cache}"
|
||||
cat << EOF
|
||||
|
|
Loading…
Reference in a new issue