Revision: 2654
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2654
Author: robertmh
Date: 2009-10-26 00:38:26 +0000 (Mon, 26 Oct 2009)
Log Message:
-----------
2009-10-26 Robert Millan <[email protected]>
* util/grub.d/10_freebsd.in: Remove.
Modified Paths:
--------------
trunk/grub2/ChangeLog
Removed Paths:
-------------
trunk/grub2/util/grub.d/10_freebsd.in
Property Changed:
----------------
trunk/grub2/
Property changes on: trunk/grub2
___________________________________________________________________
Modified: bzr:revision-info
- timestamp: 2009-10-25 18:47:25.595999956 +0100
committer: Robert Millan <[email protected]>
properties:
branch-nick: trunk
+ timestamp: 2009-10-26 01:33:52.525000095 +0100
committer: Robert Millan <[email protected]>
properties:
branch-nick: trunk
Modified: bzr:revision-id:v3-single1-dHJ1bmsvZ3J1YjI.
- 1769 [email protected]
1770 [email protected]
1771 [email protected]
1772 [email protected]
1773 [email protected]
1774 [email protected]
1775 [email protected]
1776 [email protected]
1777 [email protected]
+ 1769 [email protected]
1770 [email protected]
1771 [email protected]
1772 [email protected]
1773 [email protected]
1774 [email protected]
1775 [email protected]
1776 [email protected]
1777 [email protected]
1778 [email protected]
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-10-25 18:07:15 UTC (rev 2653)
+++ trunk/grub2/ChangeLog 2009-10-26 00:38:26 UTC (rev 2654)
@@ -1,3 +1,7 @@
+2009-10-26 Robert Millan <[email protected]>
+
+ * util/grub.d/10_freebsd.in: Remove.
+
2009-10-25 Robert Millan <[email protected]>
* util/i386/pc/grub-setup.c (setup): Add missing parameter to
Deleted: trunk/grub2/util/grub.d/10_freebsd.in
===================================================================
--- trunk/grub2/util/grub.d/10_freebsd.in 2009-10-25 18:07:15 UTC (rev
2653)
+++ trunk/grub2/util/grub.d/10_freebsd.in 2009-10-26 00:38:26 UTC (rev
2654)
@@ -1,76 +0,0 @@
-#! /bin/sh -e
-
-# grub-mkconfig helper script.
-# Copyright (C) 2008,2009 Free Software Foundation, Inc.
-#
-# GRUB is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# GRUB is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-
-pref...@prefix@
-exec_pref...@exec_prefix@
-libd...@libdir@
-. ${libdir}/grub/grub-mkconfig_lib
-
-case "${GRUB_DISTRIBUTOR}" in
- Debian) OS="${GRUB_DISTRIBUTOR} GNU/kFreeBSD" ;;
- *) OS="FreeBSD" ;;
-esac
-
-if test -e /boot/device.hints ; then
- devices=/boot/device.hints
-fi
-
-if test -e /boot/kernel/kernel ; then
- kfreebsd=/boot/kernel/kernel
-fi
-if test -e /boot/kernel/kernel.gz ; then
- kfreebsd=/boot/kernel/kernel.gz
-fi
-
-if [ "x$kfreebsd" != "x" ] ; then
- echo "Found kernel of FreeBSD: $kfreebsd" >&2
-
- kfreebsd_basename=`basename $kfreebsd`
- kfreebsd_dirname=`dirname $kfreebsd`
- kfreebsd_rel_dirname=`make_system_path_relative_to_its_root
$kfreebsd_dirname`
-
- if [ x"$devices" != "x" ] ; then
- devices_basename=`basename $devices`
- devices_dirname=`dirname $devices`
- devices_rel_dirname=`make_system_path_relative_to_its_root
$devices_dirname`
- fi
-
- case ${GRUB_FS} in
- ufs1 | ufs2) kfreebsd_fs=ufs ;;
- *) kfreebsd_fs=${GRUB_FS} ;;
- esac
-
- cat << EOF
-menuentry "${OS}" {
-EOF
- prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/"
- cat << EOF
- kfreebsd
${kfreebsd_rel_dirname}/${kfreebsd_basename}
-EOF
-
- if [ x"$devices" != "x" ] ; then
- cat << EOF
- kfreebsd_loadenv
${devices_rel_dirname}/${devices_basename}
-EOF
- fi
- cat << EOF
- set kFreeBSD.vfs.root.mountfrom=${kfreebsd_fs}:${GRUB_DEVICE}
- set kFreeBSD.vfs.root.mountfrom.options=rw
-}
-EOF
-fi