]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-12-09 Colin Watson <cjwatson@ubuntu.com>
authorColin Watson <cjwatson@ubuntu.com>
Wed, 9 Dec 2009 16:20:17 +0000 (16:20 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Wed, 9 Dec 2009 16:20:17 +0000 (16:20 +0000)
* util/grub-mkconfig_lib.in: Don't set grub_probe or grub_mkrelpath
if they're already set.  This resolves the conflict between my
grub-install change on 2009-10-06 and Felix' change on 2009-11-11,
fixing the --grub-probe option again.
* util/sparc64/ieee1275/grub-install.in: Revert the last piece of my
change on 2009-10-06, so that we now once again source
`${libdir}/grub/grub-mkconfig_lib' after options have been parsed.

ChangeLog
util/grub-mkconfig_lib.in
util/sparc64/ieee1275/grub-install.in

index 2c5df8421374e5a849944ba91205f5f6cb221bfc..41bbb3518cff7c7bc23cb5a56dc043c95896f581 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-12-09  Colin Watson  <cjwatson@ubuntu.com>
+
+       * util/grub-mkconfig_lib.in: Don't set grub_probe or grub_mkrelpath
+       if they're already set.  This resolves the conflict between my
+       grub-install change on 2009-10-06 and Felix' change on 2009-11-11,
+       fixing the --grub-probe option again.
+       * util/sparc64/ieee1275/grub-install.in: Revert the last piece of my
+       change on 2009-10-06, so that we now once again source
+       `${libdir}/grub/grub-mkconfig_lib' after options have been parsed.
+
 2009-12-08  Robert Millan  <rmh.grub@aybabtu.com>
 
        * conf/common.rmk [sparc64-ieee1275] (grub_mkdevicemap_SOURCES): Use
index 5b5dfd42a2628c6fcc02da3a727cad33d5c54a2c..8caf4f1549d417f4450791edd4fbb122f733d926 100644 (file)
@@ -24,8 +24,12 @@ bindir=@bindir@
 sbindir=@sbindir@
 pkgdatadir=${datadir}/`echo @PACKAGE_TARNAME@ | sed "${transform}"`
 
-grub_probe=${sbindir}/`echo grub-probe | sed ${transform}`
-grub_mkrelpath=${bindir}/`echo grub-mkrelpath | sed ${transform}`
+if test "x$grub_probe" = x; then
+  grub_probe=${sbindir}/`echo grub-probe | sed ${transform}`
+fi
+if test "x$grub_mkrelpath" = x; then
+  grub_mkrelpath=${bindir}/`echo grub-mkrelpath | sed ${transform}`
+fi
 
 grub_warn ()
 {
index a03869cb37b8c386dedf423a061ab220f478e4c7..5cfb858d797cfe73b450ce78939a767c1bc7c3cf 100644 (file)
@@ -31,9 +31,6 @@ target_cpu=@target_cpu@
 platform=@platform@
 pkglibdir=${libdir}/`echo ${PACKAGE_TARNAME}/${target_cpu}-${platform} | sed ${transform}`
 
-# for make_system_path_relative_to_its_root()
-. ${libdir}/grub/grub-mkconfig_lib
-
 grub_setup=${sbindir}/`echo grub-setup | sed ${transform}`
 grub_mkimage=${bindir}/`echo grub-mkimage | sed ${transform}`
 grub_mkdevicemap=${sbindir}/`echo grub-mkdevicemap | sed ${transform}`
@@ -120,6 +117,9 @@ for option in "$@"; do
     esac
 done
 
+# for make_system_path_relative_to_its_root()
+. ${libdir}/grub/grub-mkconfig_lib
+
 if test "x$install_device" = x; then
     echo "install_device not specified." 1>&2
     usage