]> git.pld-linux.org Git - packages/grub.git/commitdiff
- remove copying images -- we have them in right place to begin with;
authorMichal Moskal <michal@moskal.me>
Fri, 5 Sep 2003 23:22:25 +0000 (23:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  changes from likon_pc@o2.pl

Changed files:
    grub-install.in.patch -> 1.2

grub-install.in.patch

index c714196a4402bc1f855a589ef0dd65f7534efc66..4a5f7a55661d3fa59b627e9cb984c4a76610e03a 100644 (file)
@@ -1,26 +1,18 @@
---- grub-0.90/util/grub-install.in~    Wed Feb 28 06:19:39 2001
-+++ grub-0.90/util/grub-install.in     Thu Jul 19 16:01:12 2001
-@@ -224,6 +224,15 @@
- test -d "$bootdir" || mkdir "$bootdir" || exit 1
- test -d "$grubdir" || mkdir "$grubdir" || exit 1
+--- grub-install.in.orig       2002-05-20 13:21:50.000000000 +0200
++++ grub-install.in    2003-09-05 21:20:35.000000000 +0200
+@@ -27,7 +27,7 @@
+ host_cpu=@host_cpu@
+ host_os=@host_os@
+ host_vendor=@host_vendor@
+-pkgdatadir=${datadir}/${PACKAGE}/${host_cpu}-${host_vendor}
++pkgdatadir=${datadir}/${PACKAGE}
  
-+# Copy the GRUB images to the GRUB directory.
-+for file in ${grubdir}/stage1 ${grubdir}/stage2 ${grubdir}/*stage1_5; do
-+    rm -f $file || exit 1
-+done
-+for file in \
-+    ${pkgdatadir}/stage1 ${pkgdatadir}/stage2 ${pkgdatadir}/*stage1_5; do
-+    cp -f $file ${grubdir} || exit 1
-+done
-+
- # If --recheck is specified, remove the device map, if present.
- if test $recheck = yes; then
-     rm -f $device_map
-@@ -297,15 +306,6 @@
- EOF
+ grub_shell=${sbindir}/grub
+ log_file=/tmp/grub-install.log.$$
+@@ -378,15 +378,6 @@
      exit 1
  fi
--
 -# Copy the GRUB images to the GRUB directory.
 -for file in ${grubdir}/stage1 ${grubdir}/stage2 ${grubdir}/*stage1_5; do
 -    rm -f $file || exit 1
@@ -29,6 +21,7 @@
 -    ${pkgdatadir}/stage1 ${pkgdatadir}/stage2 ${pkgdatadir}/*stage1_5; do
 -    cp -f $file ${grubdir} || exit 1
 -done
- # Create a safe temporary file.
- test -x /bin/tempfile && log_file=`tempfile --prefix=grub`
+-
+ # Make sure that GRUB reads the same images as the host OS.
+ test -n "$mkimg" && img_file=`$mkimg`
+ test -n "$mklog" && log_file=`$mklog`
This page took 0.035219 seconds and 4 git commands to generate.