689b3ecc34
Copy from devel:openSUSE:Factory/grub2 based on submit request 34740 from user a_jaeger OBS-URL: https://build.opensuse.org/request/show/34740 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=2
20 lines
641 B
Diff
20 lines
641 B
Diff
This should ideally be done using transformations.
|
|
Alternatively, /boot/grub may be used, no grub's files there should conflict
|
|
with grub2 and they both can share the same device.map.
|
|
|
|
Lubomir Rintel <lkundrak@v3.sk>
|
|
|
|
Index: include/grub/util/misc.h
|
|
===================================================================
|
|
--- include/grub/util/misc.h.orig
|
|
+++ include/grub/util/misc.h
|
|
@@ -32,7 +32,7 @@
|
|
/* NetBSD uses /boot for its boot block. */
|
|
# define DEFAULT_DIRECTORY "/grub"
|
|
#else
|
|
-# define DEFAULT_DIRECTORY "/boot/grub"
|
|
+# define DEFAULT_DIRECTORY "/boot/grub2"
|
|
#endif
|
|
|
|
#define DEFAULT_DEVICE_MAP DEFAULT_DIRECTORY "/device.map"
|