~ubuntu-branches/ubuntu/wily/grub2/wily

« back to all changes in this revision

Viewing changes to util/grub-mkconfig_lib.in

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-01-11 17:11:44 UTC
  • mto: (17.3.26 experimental)
  • mto: This revision was merged to the branch mainline in revision 60.
  • Revision ID: james.westby@ubuntu.com-20110111171144-o2h6luxzei5fivmf
Tags: upstream-1.99~20110111
ImportĀ upstreamĀ versionĀ 1.99~20110111

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
 
108
108
  partmap="`${grub_probe} --device ${device} --target=partmap`"
109
109
  for module in ${partmap} ; do
110
 
    echo "insmod part_${module}"
 
110
    case "${module}" in
 
111
      netbsd | openbsd)
 
112
        echo "insmod part_bsd";;
 
113
      *)
 
114
        echo "insmod part_${module}";;
 
115
    esac
111
116
  done
112
117
 
113
118
  fs="`${grub_probe} --device ${device} --target=fs`"