summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2006-11-22 14:58:54 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2006-11-22 14:58:54 +0000
commit79312df448d0a2dad0b594f202ef900404116444 (patch)
treedbb1bac655c01d097c5cf8362626f783a1047b49 /patches
parentbbcc4e8cb63270ac75a8f918484e50de77aabc74 (diff)
downloadptxdist-79312df448d0a2dad0b594f202ef900404116444.tar.gz
ptxdist-79312df448d0a2dad0b594f202ef900404116444.tar.xz
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6365 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches')
-rw-r--r--patches/grub-0.97/generic/grub-set-install_partition_hd0_0.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/grub-0.97/generic/grub-set-install_partition_hd0_0.diff b/patches/grub-0.97/generic/grub-set-install_partition_hd0_0.diff
new file mode 100644
index 000000000..763582885
--- /dev/null
+++ b/patches/grub-0.97/generic/grub-set-install_partition_hd0_0.diff
@@ -0,0 +1,24 @@
+#
+# Submitted-By: Sascha Hauer, 2006-11-22
+# Committed-By: Sascha Hauer <s.hauer@pengutronix.de>
+#
+# Description:
+#
+# Let grub find the default partition the rootfs is installed
+# on. There must be a better (proper) way to archieve this,
+# but I don't know any.
+#
+
+Index: grub-0.97/stage2/asm.S
+===================================================================
+--- grub-0.97.orig/stage2/asm.S
++++ grub-0.97/stage2/asm.S
+@@ -86,7 +86,7 @@ ENTRY(main)
+ . = EXT_C(main) + 0x8
+
+ VARIABLE(install_partition)
+- .long 0xFFFFFF
++ .long 0x00FFFF
+ /* This variable is here only because of a historical reason. */
+ VARIABLE(saved_entryno)
+ .long 0