Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 746079 Details for
Bug 817905
sys-boot/os-prober-1.79 - fails to properly detect btrfs partitions (problem with 1.79-btrfs-subvolume-detection.patch)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
os-prober-1.79-handle-multiple-initrd-paths.patch
os-prober-1.79-handle-multiple-initrd-paths.patch (text/plain), 1.02 KB, created by
Peter Levine
on 2021-10-22 03:30:52 UTC
(
hide
)
Description:
os-prober-1.79-handle-multiple-initrd-paths.patch
Filename:
MIME Type:
Creator:
Peter Levine
Created:
2021-10-22 03:30:52 UTC
Size:
1.02 KB
patch
obsolete
>Backport handling of multiple initrd paths, like those needed by Manjaro >installations. Note, it still requires resolution of >https://savannah.gnu.org/bugs/index.php?47681 on grub's end. > >Commit: https://salsa.debian.org/installer-team/os-prober/-/commit/53b920e106f13acf87ef8a275161e20f94feeb8a > >--- a/linux-boot-probes/mounted/common/40grub2 >+++ b/linux-boot-probes/mounted/common/40grub2 >@@ -78,11 +78,21 @@ > fi > ;; > initrd|initrdefi|initrd16) >- initrd="$(echo "$2" | sed 's/(.*)//')" >- # Initrd same. >- if [ "$partition" != "$bootpart" -a "$type" != "btrfs" ]; then >- initrd="/boot$initrd" >- fi >+ shift >+ initrd="" >+ for initrd_path in "$@"; do >+ # sed hack, as above >+ initrd_path="$(echo "$initrd_path" | sed 's/(.*)//')" >+ # Initrd same. >+ if [ "$partition" != "$bootpart" ]; then >+ initrd_path="/boot$initrd_path" >+ fi >+ if [ -z "$initrd" ]; then >+ initrd="$initrd_path" >+ else >+ initrd="$initrd $initrd_path" >+ fi >+ done > ;; > "}") > entry_result
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 817905
:
744633
|
744636
|
746076
| 746079 |
746118