mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
240801542a
easy using package overrides in nixos to use grub 1.98. I found 1.98 can boot from /dev/md* devices, while 1.99rc1 cannot due to some upstream problem. Once it works, we can remove this 1.98 again. svn path=/nixpkgs/trunk/; revision=26761
29 lines
751 B
Diff
29 lines
751 B
Diff
Only in grub-1.97.1-orig/: grub-1.97.1
|
|
diff -rc -x '*~' grub-1.97.1-orig/util/getroot.c grub-1.97.1/util/getroot.c
|
|
*** grub-1.97.1-orig/util/getroot.c 2009-11-09 16:48:16.000000000 +0100
|
|
--- grub-1.97.1/util/getroot.c 2010-01-08 00:26:12.000000000 +0100
|
|
***************
|
|
*** 217,224 ****
|
|
continue;
|
|
|
|
if (S_ISLNK (st.st_mode))
|
|
! /* Don't follow symbolic links. */
|
|
! continue;
|
|
|
|
if (S_ISDIR (st.st_mode))
|
|
{
|
|
--- 217,229 ----
|
|
continue;
|
|
|
|
if (S_ISLNK (st.st_mode))
|
|
! {
|
|
! if (strcmp(dir, "mapper") != 0)
|
|
! /* Don't follow symbolic links. */
|
|
! continue;
|
|
! if (stat (ent->d_name, &st) < 0)
|
|
! continue;
|
|
! }
|
|
|
|
if (S_ISDIR (st.st_mode))
|
|
{
|